mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-10 17:10:28 +01:00
xf86: Accept devices with the kernel's efidrm driver
Add a workaround to accept devices of the kernel's efidrm driver. Makes Xorg work on pre-configured displays with UEFI and the DRM graphics stack. Review of the efidrm driver happens at [1]. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/series/146477/ # 1
This commit is contained in:
parent
44dea3a8bd
commit
c95d8dcf61
1 changed files with 3 additions and 0 deletions
|
|
@ -580,6 +580,9 @@ xf86platformProbeDev(DriverPtr drvp)
|
|||
if (ServerIsNotSeat0()) {
|
||||
break;
|
||||
} else {
|
||||
/* Accept the device if the driver is efidrm */
|
||||
if (strcmp(xf86_platform_devices[j].attribs->driver, "efidrm") == 0)
|
||||
break;
|
||||
/* Accept the device if the driver is hyperv_drm */
|
||||
if (strcmp(xf86_platform_devices[j].attribs->driver, "hyperv_drm") == 0)
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue