drm: Attempt to parse SPI devices as platform bus devices.
For ARM systems with tinydrm displays attached to SPI, the bus name is /spi but we have platform device info for the rest. Fixes eglInitialize() failures on hx8357d since the EGL_EXT_device_drm changes. Acked-by: Eric Engestrom <eric.engestrom@intel.com>main
parent
9b28c5aea3
commit
89700ab0aa
|
@ -2993,6 +2993,7 @@ static int drmParseSubsystemType(int maj, int min)
|
||||||
{ "/pci", DRM_BUS_PCI },
|
{ "/pci", DRM_BUS_PCI },
|
||||||
{ "/usb", DRM_BUS_USB },
|
{ "/usb", DRM_BUS_USB },
|
||||||
{ "/platform", DRM_BUS_PLATFORM },
|
{ "/platform", DRM_BUS_PLATFORM },
|
||||||
|
{ "/spi", DRM_BUS_PLATFORM },
|
||||||
{ "/host1x", DRM_BUS_HOST1X },
|
{ "/host1x", DRM_BUS_HOST1X },
|
||||||
{ "/virtio", DRM_BUS_VIRTIO },
|
{ "/virtio", DRM_BUS_VIRTIO },
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue