xserver/hw/xfree86/os-support/linux
Jocelyn Falempe 38291fa86c xf86/logind: fix missing call to vtenter if the platform device is not paused
If there is one platform device, which is not paused nor resumed,
systemd_logind_vtenter() will never get called.
This break suspend/resume, and switching to VT on system with Nvidia
proprietary driver.
This is a regression introduced by f5bd039633

So now call systemd_logind_vtenter() if there are no paused
platform devices.

Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1271
Fixes: f5bd0396 - xf86/logind: fix call systemd_logind_vtenter after receiving drm device resume

Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
Tested-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2021-12-20 16:57:10 +01:00
..
int10 xfree86: Remove xf86InterceptSignals 2017-12-13 11:11:38 -05:00
linux.h linux: Add a may_fail paramter to linux_parse_vt_settings 2015-06-03 11:31:41 +02:00
lnx_acpi.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
lnx_agp.c hw/xfree86/os-support/linux/lnx_agp.c xf86GetAGPInfo(): free(info) in an error path, caught by cppcheck. 2019-05-01 15:22:02 -07:00
lnx_apm.c hw/xfree86: Support ACPI without APM. 2020-04-30 18:45:35 +00:00
lnx_bell.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
lnx_ev56.c xfree86: Remove MMIO_ONB* and friends 2014-07-28 12:19:01 -07:00
lnx_init.c Fix old-style definition warning for xf86OSInputThreadInit() 2019-04-17 13:57:20 +01:00
lnx_kmod.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
lnx_platform.c xfree86: Fix potentially NULL reference to platform device's PCI device 2021-06-23 14:29:10 +03:00
lnx_video.c xfree86: NUL-terminate strings in hwEnableIO 2021-09-10 11:20:47 -07:00
systemd-logind.c xf86/logind: fix missing call to vtenter if the platform device is not paused 2021-12-20 16:57:10 +01:00