You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xserver/hw/xfree86/os-support/linux
Jocelyn Falempe 66890ca569 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>
3 years ago
..
int10 xfree86: Remove xf86InterceptSignals 7 years ago
Makefile.am agp: Make the legacy AGP interface optional 6 years ago
linux.h linux: Add a may_fail paramter to linux_parse_vt_settings 10 years ago
lnx_acpi.c Replace 'pointer' type with 'void *' 11 years ago
lnx_agp.c hw/xfree86/os-support/linux/lnx_agp.c xf86GetAGPInfo(): free(info) in an error path, caught by cppcheck. 6 years ago
lnx_apm.c hw/xfree86: Support ACPI without APM. 5 years ago
lnx_bell.c Introduce a consistent coding style 13 years ago
lnx_ev56.c xfree86: Remove MMIO_ONB* and friends 10 years ago
lnx_init.c Fix old-style definition warning for xf86OSInputThreadInit() 6 years ago
lnx_kmod.c Drop trailing whitespaces 10 years ago
lnx_platform.c xfree86: Fix potentially NULL reference to platform device's PCI device 3 years ago
lnx_video.c xfree86: NUL-terminate strings in hwEnableIO 3 years ago
systemd-logind.c xf86/logind: fix missing call to vtenter if the platform device is not paused 3 years ago