xserver/hw/xfree86
Jocelyn Falempe da9d012a9c xf86/logind: Fix drm_drop_master before vt_reldisp
When switching to VT, the ioctl DRM_DROP_MASTER must be done before
the ioctl VT_RELDISP. Otherwise the kernel can't change the modesetting
reliably, and this leads to the console not showing up in some cases, like
after unplugging a docking station with a DP or HDMI monitor.

Before doing the VT_RELDISP, send a dbus message to logind, to
pause the drm device, so logind will do the ioctl DRM_DROP_MASTER.

With this patch, it changes the order logind will send the resume
event, and drm will be sent last instead of first.
so there is a also fix to call systemd_logind_vtenter() at the right time.

Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2021-11-22 12:57:24 +01:00
..
common xf86/logind: Fix drm_drop_master before vt_reldisp 2021-11-22 12:57:24 +01:00
ddc Remove autotools support 2021-10-27 13:15:40 +03:00
dixmods Remove autotools support 2021-10-27 13:15:40 +03:00
doc Remove autotools support 2021-10-27 13:15:40 +03:00
dri Remove autotools support 2021-10-27 13:15:40 +03:00
dri2 Remove autotools support 2021-10-27 13:15:40 +03:00
drivers dri2: add crocus to the list of va_gl users 2021-11-11 06:49:18 +10:00
exa Remove autotools support 2021-10-27 13:15:40 +03:00
fbdevhw Remove autotools support 2021-10-27 13:15:40 +03:00
glamor_egl Remove autotools support 2021-10-27 13:15:40 +03:00
i2c Remove autotools support 2021-10-27 13:15:40 +03:00
int10 Remove autotools support 2021-10-27 13:15:40 +03:00
loader Remove autotools support 2021-10-27 13:15:40 +03:00
man Remove autotools support 2021-10-27 13:15:40 +03:00
modes Revert "hw/xfree86: Propagate physical dimensions from DRM connector" 2021-11-16 22:34:56 +00:00
os-support xf86/logind: Fix drm_drop_master before vt_reldisp 2021-11-22 12:57:24 +01:00
parser Remove autotools support 2021-10-27 13:15:40 +03:00
ramdac Remove autotools support 2021-10-27 13:15:40 +03:00
shadowfb Remove autotools support 2021-10-27 13:15:40 +03:00
utils Remove autotools support 2021-10-27 13:15:40 +03:00
vgahw Remove autotools support 2021-10-27 13:15:40 +03:00
x86emu Remove autotools support 2021-10-27 13:15:40 +03:00
xkb Remove autotools support 2021-10-27 13:15:40 +03:00
.gitignore Xorg: Add Xorg.wrap to hw/xfree86/.gitignore 2014-04-18 11:39:16 +02:00
Xorg.sh.in xfree86: rename Xorg.bin to Xorg 2015-01-05 09:53:58 +10:00
meson.build meson: Implement developer documentation build 2021-08-20 10:26:07 +00:00
sdksyms.sh Consolidate fourcc.h 2020-09-15 11:43:16 +02:00
xorg-wrapper.c Fix various spelling errors 2019-10-01 17:05:28 +00:00
xorgconf.cpp Fix spelling/wording issues 2020-07-05 13:07:33 -07:00