mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-03-30 11:50:43 +02:00
xf86: Accept devices with the kernel's corebootdrm driver
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: Thomas 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:
parent
2e338890ee
commit
c12cf4f585
1 changed files with 3 additions and 0 deletions
|
|
@ -577,6 +577,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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue