[Mesa-dev] [PATCH] radeonsi: add back the USE_MININUM_PRIORITY flag to the low-prio compiler queue
Nicolai Hähnle
nhaehnle at gmail.com
Tue Jul 18 14:23:02 UTC 2017
On 17.07.2017 17:56, Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> Accidentally removed in 9f320e0a387a1009c5218daf130b3b754a3c2800.
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
> ---
> src/gallium/drivers/radeonsi/si_pipe.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
> index 4df60b6..0bc3002 100644
> --- a/src/gallium/drivers/radeonsi/si_pipe.c
> +++ b/src/gallium/drivers/radeonsi/si_pipe.c
> @@ -964,21 +964,22 @@ struct pipe_screen *radeonsi_screen_create(struct radeon_winsys *ws,
> 32, num_compiler_threads,
> UTIL_QUEUE_INIT_RESIZE_IF_FULL)) {
> si_destroy_shader_cache(sscreen);
> FREE(sscreen);
> return NULL;
> }
>
> if (!util_queue_init(&sscreen->shader_compiler_queue_low_priority,
> "si_shader_low",
> 32, num_compiler_threads,
> - UTIL_QUEUE_INIT_RESIZE_IF_FULL)) {
> + UTIL_QUEUE_INIT_RESIZE_IF_FULL |
> + UTIL_QUEUE_INIT_USE_MINIMUM_PRIORITY)) {
> si_destroy_shader_cache(sscreen);
> FREE(sscreen);
> return NULL;
> }
>
> si_handle_env_var_force_family(sscreen);
>
> if (!debug_get_bool_option("RADEON_DISABLE_PERFCOUNTERS", false))
> si_init_perfcounters(sscreen);
>
>
--
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.
More information about the mesa-dev
mailing list