diff options
author | Marek Olšák <[email protected]> | 2018-07-03 14:49:42 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-07-04 22:03:35 -0400 |
commit | 7fab8a4b37a1215c51334242b070b2dcd9a3a80c (patch) | |
tree | 1af7f82103c46273ce61f8cb87caa9e3bc64ec3a /src/gallium/winsys/amdgpu | |
parent | b238e33bc9d48b814370da4a9e49c431981053cc (diff) |
Shorten u_queue names
There is a 15-character limit for thread names shared by the queue name
and process name. Shorten the thread name to make space for the process
name.
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/winsys/amdgpu')
-rw-r--r-- | src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c index d60b3640f61..cca6a3cc25b 100644 --- a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c @@ -320,7 +320,7 @@ amdgpu_winsys_create(int fd, const struct pipe_screen_config *config, (void) simple_mtx_init(&ws->global_bo_list_lock, mtx_plain); (void) simple_mtx_init(&ws->bo_fence_lock, mtx_plain); - if (!util_queue_init(&ws->cs_queue, "amdgpu_cs", 8, 1, + if (!util_queue_init(&ws->cs_queue, "cs", 8, 1, UTIL_QUEUE_INIT_RESIZE_IF_FULL)) { amdgpu_winsys_destroy(&ws->base); simple_mtx_unlock(&dev_tab_mutex); |