mutter/src
Kai-Heng Feng e5b07138f0 monitor-manager-kms: Disable CRTCs if there is no monitor
After last monitor gets unplugged from the system, hotplug detection may
no longer work on Intel GFX.

This is because we didn't trigger a modeset to disable CRTCs, and i915
requires it to make hotplug detection continue to work [1].

Ensure disabled CRTCs are unset and post a modeset to disable them.

[1] https://www.kernel.org/doc/html/latest/gpu/i915.html#hotplug

https://gitlab.freedesktop.org/drm/intel/-/issues/2602

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1561>
2020-12-22 17:03:53 +08:00
..
backends monitor-manager-kms: Disable CRTCs if there is no monitor 2020-12-22 17:03:53 +08:00
compositor compositor: Fix warning with -Wmaybe-uninitialized 2020-12-08 13:35:50 +00:00
core core: Be more selective looking for a focusable ancestor 2020-12-18 17:17:50 +00:00
meta util: Add META_DEBUG_WAYLAND debug topic 2020-10-20 09:53:52 +00:00
tests tests/stacking: Add test hiding a modal with a not shown parent 2020-12-18 17:17:50 +00:00
ui Make meta_* logging utilities not require line break 2020-10-08 16:38:41 +02:00
wayland clutter: Switch to storing device->actor associations in ClutterStage 2020-12-18 16:17:00 +01:00
x11 xwayland: Set xrandr primary output 2020-12-11 13:44:45 +00:00
libmutter.pc.in build: Fix libs and cflags in autotools .pc file 2018-11-10 16:20:46 +00:00
meson.build backends/native: Drop MetaEventNative 2020-12-08 15:37:38 +00:00
meta-private-enum-types.c.in screen-cast: Add screen cast flag to streams 2020-07-30 09:51:16 +02:00
meta-private-enum-types.h.in screen-cast: Add screen cast flag to streams 2020-07-30 09:51:16 +02:00
org.freedesktop.login1.xml MetaLauncher: Don't g_error() on failure 2015-11-06 17:03:59 -05:00
org.gnome.Mutter.DisplayConfig.xml backends: Centralize panel autorotation in a DisplayConfig property 2020-09-05 07:25:02 +00:00
org.gnome.Mutter.IdleMonitor.xml idle-monitor: Add ResetIdletime API, for testing purposes 2018-04-16 13:28:03 +02:00
org.gnome.Mutter.RemoteDesktop.xml Fix typo in RemoteDesktop dbus api 2019-05-22 16:21:57 +02:00
org.gnome.Mutter.ScreenCast.xml screen-cast: Add 'is-recording' option to record methods 2020-07-31 10:41:15 +02:00