wlroots-hyprland/include/backend
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 backend/drm: better hotplug handling 2018-09-04 15:09:07 +02:00
session Use more consistent include guard names 2017-09-23 10:26:01 +02:00
headless.h backend/{x11,headless}: fix refresh rate 2018-04-03 22:54:01 -04:00
libinput.h rename wlr_tablet_tool to wlr_tablet 2018-07-14 09:49:58 +02:00
multi.h Reformat all #include directives 2018-02-12 21:29:23 +01:00
wayland.h Add support for discrete axis values 2018-05-12 13:34:58 +01:00
x11.h backend/x11: add one pointer per output 2018-04-29 14:46:29 +01:00