wlroots-hyprland/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
headless rename wlr_tablet_tool to wlr_tablet 2018-07-14 09:49:58 +02:00
libinput Fix bugs listed by clang's static analyzer 2018-08-31 19:41:18 +02:00
multi multi-backend: do not expose internal renderers 2018-08-03 07:43:22 +02:00
session Init the new destroy signals added by #1200 2018-08-27 18:21:36 +02:00
wayland Fix build on FreeBSD 2018-08-16 10:54:45 +01:00
x11 Free unused pointer in x11/backend.c 2018-09-02 20:52:09 +05:30
backend.c Revert "Merge pull request #1153 from emersion/include-config" 2018-07-21 09:44:20 -04:00
meson.build Revert "Revert "Merge pull request #1194 from ascent12/meson_feature"" 2018-08-24 19:35:02 +12:00