mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 08:10:03 +01:00
Merge branch 'support-sysfb-drivers' into 'master'
xf86: Accept platform devices with efidrm/vesadrm DRM kernel drivers See merge request xorg/xserver!1879
This commit is contained in:
commit
a328994cf9
1 changed files with 6 additions and 0 deletions
|
|
@ -580,6 +580,9 @@ xf86platformProbeDev(DriverPtr drvp)
|
||||||
if (ServerIsNotSeat0()) {
|
if (ServerIsNotSeat0()) {
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
|
/* Accept the device if the driver is efidrm */
|
||||||
|
if (strcmp(xf86_platform_devices[j].attribs->driver, "efidrm") == 0)
|
||||||
|
break;
|
||||||
/* Accept the device if the driver is hyperv_drm */
|
/* Accept the device if the driver is hyperv_drm */
|
||||||
if (strcmp(xf86_platform_devices[j].attribs->driver, "hyperv_drm") == 0)
|
if (strcmp(xf86_platform_devices[j].attribs->driver, "hyperv_drm") == 0)
|
||||||
break;
|
break;
|
||||||
|
|
@ -589,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