From 89700ab0aa73a85a90a2e1c2fd0d6857a0ee300d Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 15 Nov 2018 17:52:19 -0800 Subject: [PATCH] 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 --- xf86drm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xf86drm.c b/xf86drm.c index 60fbc49b..71ad54ba 100644 --- a/xf86drm.c +++ b/xf86drm.c @@ -2993,6 +2993,7 @@ static int drmParseSubsystemType(int maj, int min) { "/pci", DRM_BUS_PCI }, { "/usb", DRM_BUS_USB }, { "/platform", DRM_BUS_PLATFORM }, + { "/spi", DRM_BUS_PLATFORM }, { "/host1x", DRM_BUS_HOST1X }, { "/virtio", DRM_BUS_VIRTIO }, };