Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

examples: set crtc/connector properties #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matthoosier-garmin
Copy link
Contributor

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.

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.
@codecov-io
Copy link

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.

@matthoosier-garmin
Copy link
Contributor Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants