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 919dc1b309..b8adde77f1 100644
--- a/src/gallium/drivers/trace/tr_drm.c
+++ b/src/gallium/drivers/trace/tr_drm.c
@@ -155,6 +155,7 @@ trace_drm_create(struct drm_api *api)
if (!tr_api)
goto error;
+ tr_api->base.name = api->name;
tr_api->base.driver_name = api->driver_name;
tr_api->base.create_screen = trace_drm_create_screen;
tr_api->base.texture_from_shared_handle = trace_drm_texture_from_shared_handle;