mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-08 09:08:18 +02: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
This commit is contained in:
parent
12dc544b9e
commit
52909ac2d8
1 changed files with 3 additions and 0 deletions
|
|
@ -592,6 +592,9 @@ xf86platformProbeDev(DriverPtr drvp)
|
||||||
/* Accept the device if the driver is simpledrm */
|
/* Accept the device if the driver is simpledrm */
|
||||||
if (strcmp(xf86_platform_devices[j].attribs->driver, "simpledrm") == 0)
|
if (strcmp(xf86_platform_devices[j].attribs->driver, "simpledrm") == 0)
|
||||||
break;
|
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]))
|
if (xf86IsPrimaryPlatform(&xf86_platform_devices[j]))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue