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