summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/trace/tr_drm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/trace/tr_drm.c')
-rw-r--r--src/gallium/drivers/trace/tr_drm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/trace/tr_drm.c b/src/gallium/drivers/trace/tr_drm.c
index 48d1c4051c..e7ca3a86ea 100644
--- a/src/gallium/drivers/trace/tr_drm.c
+++ b/src/gallium/drivers/trace/tr_drm.c
@@ -173,6 +173,7 @@ trace_drm_create(struct drm_api *api)
if (!tr_api)
goto error;
+ tr_api->base.driver_name = api->driver_name;
tr_api->base.create_screen = trace_drm_create_screen;
tr_api->base.create_context = trace_drm_create_context;
tr_api->base.texture_from_shared_handle = trace_drm_texture_from_shared_handle;