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:
Thomas Zimmermann 2025-12-04 20:58:46 +00:00
commit a328994cf9

View file

@ -580,6 +580,9 @@ xf86platformProbeDev(DriverPtr drvp)
if (ServerIsNotSeat0()) {
break;
} 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 */
if (strcmp(xf86_platform_devices[j].attribs->driver, "hyperv_drm") == 0)
break;
@ -589,6 +592,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]))