xf86: Accept devices with the 'hyperv_drm' driver
Put in a workaround to accept devices of the kernel's hyperv_drm driver. Makes Xorg work on HyperV Gen 1/2 with the DRM graphics stack. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
This commit is contained in:
parent
c6b0dcb82d
commit
2e6edeb569
|
@ -560,6 +560,9 @@ xf86platformProbeDev(DriverPtr drvp)
|
||||||
if (ServerIsNotSeat0()) {
|
if (ServerIsNotSeat0()) {
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
|
/* Accept the device if the driver is hyperv_drm */
|
||||||
|
if (strcmp(xf86_platform_devices[j].attribs->driver, "hyperv_drm") == 0)
|
||||||
|
break;
|
||||||
/* 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;
|
||||||
|
|
Loading…
Reference in New Issue