drm: Attempt to parse SPI devices as platform bus devices.
authorEric Anholt <eric@anholt.net>
Fri, 16 Nov 2018 01:52:19 +0000 (17:52 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 20 Nov 2018 04:36:13 +0000 (20:36 -0800)
commit89700ab0aa73a85a90a2e1c2fd0d6857a0ee300d
tree034e729349a2c9a77b87aaa25ba0bc0a26b95f3d
parent9b28c5aea3a37dc6382a61fb65c97a9db6eeeac0
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>
xf86drm.c