mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-23 23:30:02 +00:00
Add a workaround to accept devices of the kernel's corebootdrm
driver. Makes Xorg work on pre-configured displays with coreboot and the DRM graphics stack. Review of the corebootdrm driver happens at [1]. Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/series/159820/ # [1] Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2132>
This commit is contained in:
committed by
Enrico Weigelt
parent
af1459136d
commit
ca1c0976dd
@@ -604,6 +604,9 @@ xf86platformProbeDev(DriverPtr drvp)
|
||||
if (ServerIsNotSeat0()) {
|
||||
break;
|
||||
} else {
|
||||
/* Accept the device if the driver is corebootdrm */
|
||||
if (strcmp(xf86_platform_devices[j].attribs->driver, "corebootdrm") == 0)
|
||||
break;
|
||||
/* Accept the device if the driver is efidrm */
|
||||
if (strcmp(xf86_platform_devices[j].attribs->driver, "efidrm") == 0)
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user