aboutsummaryrefslogtreecommitdiffstats
path: root/src/etnaviv/drm-shim
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2020-02-10 16:15:58 +0200
committerMarge Bot <[email protected]>2020-04-03 21:14:18 +0000
commitc3e305616cbc53317bbace6f1f316c9167f14313 (patch)
tree6c520e5222faadf215719811235e2cfb56069636 /src/etnaviv/drm-shim
parentfa5a36dbd474fb3c755da51553c6ca18dab76a06 (diff)
drm-shim: return device platform as specified
v2: Embed the libdrm dependency inside the drm-shim dependency Signed-off-by: Lionel Landwerlin <[email protected]> Acked-by: Eric Anholt <[email protected]> (v1) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4429>
Diffstat (limited to 'src/etnaviv/drm-shim')
-rw-r--r--src/etnaviv/drm-shim/etnaviv_noop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/etnaviv/drm-shim/etnaviv_noop.c b/src/etnaviv/drm-shim/etnaviv_noop.c
index 66b1c420efb..f583e299a54 100644
--- a/src/etnaviv/drm-shim/etnaviv_noop.c
+++ b/src/etnaviv/drm-shim/etnaviv_noop.c
@@ -215,6 +215,7 @@ static ioctl_fn_t driver_ioctls[] = {
void
drm_shim_driver_init(void)
{
+ shim_device.bus_type = DRM_BUS_PLATFORM;
shim_device.driver_name = "etnaviv";
shim_device.driver_ioctls = driver_ioctls;
shim_device.driver_ioctl_count = ARRAY_SIZE(driver_ioctls);