From a10c46d8a62d9d51a907cf98f52d83c54d83f4da Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Sun, 16 Jul 2023 03:19:54 -0400 Subject: [PATCH] radeonsi: update obsolete comments about compiler queues Reviewed-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/gallium/drivers/radeonsi/si_pipe.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index 57f9b62..54b0503 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -671,14 +671,14 @@ struct si_screen { /* Shader compiler queue for multithreaded compilation. */ struct util_queue shader_compiler_queue; - /* Use at most 3 normal compiler threads on quadcore and better. - * Hyperthreaded CPUs report the number of threads, but we want - * the number of cores. We only need this many threads for shader-db. */ + /* Compiler instances for asynchronous shader compilation of new shader CSOs, + * one for each thread of the shader compiler queue. + */ struct ac_llvm_compiler *compiler[24]; /* used by the queue only */ struct util_queue shader_compiler_queue_low_priority; - /* Use at most 2 low priority threads on quadcore and better. - * We want to minimize the impact on multithreaded Mesa. */ + /* Compiler instances for asynchronous shader compilation of optimized shader variants, + * one for each thread of the low-priority shader compiler queue. */ struct ac_llvm_compiler *compiler_lowp[10]; struct util_idalloc_mt buffer_ids; -- 2.7.4