diff options
Diffstat (limited to 'src/broadcom')
-rw-r--r-- | src/broadcom/drm-shim/v3d.c | 1 | ||||
-rw-r--r-- | src/broadcom/drm-shim/v3d_noop.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/broadcom/drm-shim/v3d.c b/src/broadcom/drm-shim/v3d.c index e75657f59f7..81e34c128e2 100644 --- a/src/broadcom/drm-shim/v3d.c +++ b/src/broadcom/drm-shim/v3d.c @@ -78,6 +78,7 @@ v3d_ioctl_get_bo_offset(int fd, unsigned long request, void *arg) void drm_shim_driver_init(void) { + shim_device.bus_type = DRM_BUS_PLATFORM; shim_device.driver_name = "v3d"; drm_shim_override_file("OF_FULLNAME=/rdb/v3d\n" diff --git a/src/broadcom/drm-shim/v3d_noop.c b/src/broadcom/drm-shim/v3d_noop.c index 7c7d751285d..3caa757bb3e 100644 --- a/src/broadcom/drm-shim/v3d_noop.c +++ b/src/broadcom/drm-shim/v3d_noop.c @@ -146,6 +146,7 @@ static ioctl_fn_t driver_ioctls[] = { void drm_shim_driver_init(void) { + shim_device.bus_type = DRM_BUS_PLATFORM; shim_device.driver_name = "v3d"; shim_device.driver_ioctls = driver_ioctls; shim_device.driver_ioctl_count = ARRAY_SIZE(driver_ioctls); |