mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +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()) {
|
if (ServerIsNotSeat0()) {
|
||||||
break;
|
break;
|
||||||
} else {
|
} 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 */
|
/* Accept the device if the driver is efidrm */
|
||||||
if (strcmp(xf86_platform_devices[j].attribs->driver, "efidrm") == 0)
|
if (strcmp(xf86_platform_devices[j].attribs->driver, "efidrm") == 0)
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user