aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-06-12 13:36:39 +0200
committerMarek Olšák <[email protected]>2016-06-24 12:24:40 +0200
commit2fba0aaa700bbdef37ac5da6da005b24be570e48 (patch)
tree9aa44ac9a083c5c6201473f8efad27d7e4f84c11 /src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
parent404d0d50d8aaf60597668e65a2d7c96cdea53aea (diff)
gallium/u_queue: add an option to name threads
for debugging v2: correct the snprintf use Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/winsys/radeon/drm/radeon_drm_winsys.c')
-rw-r--r--src/gallium/winsys/radeon/drm/radeon_drm_winsys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
index 32d58b9b9e5..ea5d212803c 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
@@ -783,7 +783,7 @@ radeon_drm_winsys_create(int fd, radeon_screen_create_t screen_create)
ws->info.gart_page_size = sysconf(_SC_PAGESIZE);
if (ws->num_cpus > 1 && debug_get_option_thread())
- util_queue_init(&ws->cs_queue, 8, 1,
+ util_queue_init(&ws->cs_queue, "radeon_cs", 8, 1,
radeon_drm_cs_emit_ioctl_oneshot);
/* Create the screen at the end. The winsys must be initialized