X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbroadcom%2Fdrm-shim%2Fv3d_noop.c;h=fd92e8859c5a14f78dd4bb80395c1745261375ba;hb=e9add0c501c3765cae43ef60ec58404c2340991b;hp=7c7d751285d5fd80d5e8eba94139026d1bf3acae;hpb=82bf1979d7b7d83e8e213b11ff7787e6939c8f7e;p=mesa.git diff --git a/src/broadcom/drm-shim/v3d_noop.c b/src/broadcom/drm-shim/v3d_noop.c index 7c7d751285d..fd92e8859c5 100644 --- a/src/broadcom/drm-shim/v3d_noop.c +++ b/src/broadcom/drm-shim/v3d_noop.c @@ -28,6 +28,8 @@ #include "drm-uapi/v3d_drm.h" #include "drm-shim/drm_shim.h" +bool drm_shim_driver_prefers_first_render_node = true; + struct v3d_bo { struct shim_bo base; uint32_t offset; @@ -146,6 +148,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);