wlroots/include/backend/drm
emersion b877daded1 backend/drm: better hotplug handling
This commit handles better situations in which the number of
connected outputs is greater than the number of available CRTCs.
It'll enable as many outputs as possible, and transfer CRTCs to
outputs that need one on unplug.

This changes CRTC and plane reallocation to happen after scanning
DRM connectors instead of on modeset.

This cleanups CRTCs and planes on unplug to allow them to be
re-used for other outputs.

On modeset, if an output doesn't have a CRTC, the desired mode is
saved and used later when the output gains a CRTC.

Future work includes giving priority to enabled outputs over
disabled ones for CRTC allocation. This requires the compositor to
know about all outputs (even outputs without CRTCs) to properly
modeset outputs enabled in the compositor config file and disable
outputs disabled in the config file.
2018-09-04 15:09:07 +02:00
..
drm.h backend/drm: better hotplug handling 2018-09-04 15:09:07 +02:00
iface.h Reformat all #include directives 2018-02-12 21:29:23 +01:00
properties.h Fix typos in comments and strings 2018-05-03 21:59:43 +01:00
renderer.h Merge branch 'master' into screencontent 2018-05-31 12:33:27 +01:00
util.h Make sure we don't use others' prefixes 2018-04-25 23:24:58 +01:00