xserver/hw/xfree86/os-support
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>
2021-12-20 17:09:19 +01:00
..
bsd compiler.h: don't define inb/outb and friends on mips 2021-01-27 19:29:35 +00:00
bus xfree86: Move DRICreatePCIBusID to xf86Pci.h 2017-06-22 10:53:08 -04:00
hurd Fix old-style definition warning for xf86OSInputThreadInit() 2019-04-17 13:57:20 +01:00
linux xf86/logind: fix missing call to vtenter if the platform device is not paused 2021-12-20 17:09:19 +01:00
misc Replace all checks for 'linux' macro with '__linux__' 2017-05-11 15:24:05 -04:00
shared Remove check for useSIGIO option 2020-12-08 11:23:31 -05:00
solaris Fix spelling/wording issues 2020-07-05 13:07:33 -07:00
stub Fix old-style definition warning for xf86OSInputThreadInit() 2019-04-17 13:57:20 +01:00
Makefile.am xfree86: Add stubs for os-support to help adding new architecture support 2011-10-15 21:18:47 -07:00
int10Defines.h
meson.build hw/xfree86: fix sbus build for SPARC 2021-12-15 10:41:22 +02:00
xf86OSpriv.h xfree86: Remove xf86LinearVidMem 2014-09-16 11:58:53 -04:00
xf86_OSlib.h os, xfree86: Stop being so weird about <limits.h> 2017-05-12 09:49:07 -04:00
xf86_OSproc.h Fix spelling/wording issues 2020-07-05 13:07:33 -07:00