meson: use gnu_symbol_visibility argument
[mesa.git] / src / broadcom / drm-shim / v3d.c
index e75657f59f72c0148ace9974ecdda7847eedee96..f4d5bd31323390fba62d07a3d85cfe4bc11dd0cc 100644 (file)
@@ -28,6 +28,8 @@
 #include "v3d.h"
 #include "v3d_simulator_wrapper.h"
 
+bool drm_shim_driver_prefers_first_render_node = false;
+
 static struct v3d_device_info devinfo;
 struct v3d_shim_device v3d = {
         .devinfo = &devinfo
@@ -78,6 +80,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"