radeonsi: update obsolete comments about compiler queues

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24732>
This commit is contained in:
Marek Olšák 2023-07-16 03:19:54 -04:00 committed by Marge Bot
parent cb7dcdcea0
commit a10c46d8a6

View file

@ -671,14 +671,14 @@ struct si_screen {
/* Shader compiler queue for multithreaded compilation. */ /* Shader compiler queue for multithreaded compilation. */
struct util_queue shader_compiler_queue; struct util_queue shader_compiler_queue;
/* Use at most 3 normal compiler threads on quadcore and better. /* Compiler instances for asynchronous shader compilation of new shader CSOs,
* Hyperthreaded CPUs report the number of threads, but we want * one for each thread of the shader compiler queue.
* the number of cores. We only need this many threads for shader-db. */ */
struct ac_llvm_compiler *compiler[24]; /* used by the queue only */ struct ac_llvm_compiler *compiler[24]; /* used by the queue only */
struct util_queue shader_compiler_queue_low_priority; struct util_queue shader_compiler_queue_low_priority;
/* Use at most 2 low priority threads on quadcore and better. /* Compiler instances for asynchronous shader compilation of optimized shader variants,
* We want to minimize the impact on multithreaded Mesa. */ * one for each thread of the low-priority shader compiler queue. */
struct ac_llvm_compiler *compiler_lowp[10]; struct ac_llvm_compiler *compiler_lowp[10];
struct util_idalloc_mt buffer_ids; struct util_idalloc_mt buffer_ids;