libliftoff icon indicating copy to clipboard operation
libliftoff copied to clipboard

examples: set crtc/connector properties

Open matthoosier-garmin opened this issue 5 years ago • 2 comments

The behind-the-scenes manipulation of the per-plane DRM properties needs to be augmented with some singleton property assignments too (what CRTC should the connector be driving? what mode should be used? is the CRC on?).

Also use DRM_MODE_ATOMIC_ALLOW_MODESET in the live commit in case the new configuration doesn't match with whatever set of modes and color formats the previous DRM master happened to use.

matthoosier-garmin avatar Nov 08 '19 20:11 matthoosier-garmin

Codecov Report

Merging #33 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #33   +/-   ##
=======================================
  Coverage   80.42%   80.42%           
=======================================
  Files           7        7           
  Lines         516      516           
=======================================
  Hits          415      415           
  Misses        101      101

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 78cc612...0aacfab. Read the comment docs.

codecov-io avatar Nov 08 '19 20:11 codecov-io

I haven't been able to test the changes to multi-output and compositor (don't have a machine that has both enough overlays to exercise it and whose driver is new enough to support atomic modesetting).

It works in 'simple' though, and the final mode-setting stuff in the other programs is pretty much the same.

matthoosier-garmin avatar Nov 08 '19 20:11 matthoosier-garmin