Module: Mesa Branch: main Commit: f09384f4c3acd6b963b772675304118b2ac275fe URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f09384f4c3acd6b963b772675304118b2ac275fe
Author: Marek Olšák <marek.ol...@amd.com> Date: Sat Jan 6 17:25:07 2024 -0500 gallium/u_threaded: keep it enabled even if the CPU count is 1 radeonsi without TC fails tests. Reviewed-By: Mike Blumenkrantz <michael.blumenkra...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26584> --- src/gallium/auxiliary/util/u_threaded_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/util/u_threaded_context.c b/src/gallium/auxiliary/util/u_threaded_context.c index b6692a255e0..3cd98c562d9 100644 --- a/src/gallium/auxiliary/util/u_threaded_context.c +++ b/src/gallium/auxiliary/util/u_threaded_context.c @@ -5213,7 +5213,7 @@ threaded_context_create(struct pipe_context *pipe, if (!pipe) return NULL; - if (!debug_get_bool_option("GALLIUM_THREAD", util_get_cpu_caps()->nr_cpus > 1)) + if (!debug_get_bool_option("GALLIUM_THREAD", true)) return pipe; tc = CALLOC_STRUCT(threaded_context);