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
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
..
bsd compiler.h: don't define inb/outb and friends on mips 4 years ago
bus xfree86: Move DRICreatePCIBusID to xf86Pci.h 8 years ago
hurd Fix old-style definition warning for xf86OSInputThreadInit() 6 years ago
linux xf86/logind: fix missing call to vtenter if the platform device is not paused 3 years ago
misc Replace all checks for 'linux' macro with '__linux__' 8 years ago
shared Remove check for useSIGIO option 4 years ago
solaris Fix spelling/wording issues 4 years ago
stub Fix old-style definition warning for xf86OSInputThreadInit() 6 years ago
Makefile.am xfree86: Add stubs for os-support to help adding new architecture support 13 years ago
int10Defines.h Remove RCS tags. Fix Xprint makefile braindamage. 19 years ago
meson.build hw/xfree86: fix sbus build for SPARC 3 years ago
xf86OSpriv.h xfree86: Remove xf86LinearVidMem 10 years ago
xf86_OSlib.h os, xfree86: Stop being so weird about <limits.h> 8 years ago
xf86_OSproc.h Fix spelling/wording issues 4 years ago