[Mesa-dev] [PATCH 4/4] radeonsi: disable multi-threading when shader dumps are enabled

Marek Olšák maraeo at gmail.com
Thu Jul 7 21:52:27 UTC 2016


With that typo in patch 1 fixed, the series is:

Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Thu, Jul 7, 2016 at 9:39 AM, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
> From: Nicolai Hähnle <nicolai.haehnle at amd.com>
>
> Otherwise, shader dumps can become interleaved and unusable.
> ---
>  src/gallium/drivers/radeonsi/si_state_shaders.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c
> index 94587b2..c24130d 100644
> --- a/src/gallium/drivers/radeonsi/si_state_shaders.c
> +++ b/src/gallium/drivers/radeonsi/si_state_shaders.c
> @@ -1325,6 +1325,7 @@ static void *si_create_shader_selector(struct pipe_context *ctx,
>         util_queue_fence_init(&sel->ready);
>
>         if ((sctx->b.debug.debug_message && !sctx->b.debug.async) ||
> +           r600_can_dump_shader(&sscreen->b, sel->info.processor) ||
>             !util_queue_is_initialized(&sscreen->shader_compiler_queue))
>                 si_init_shader_selector_async(sel, -1);
>         else
> --
> 2.7.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list