[Mesa-dev] [PATCH 2/2] radeonsi: enable VGPR spilling on VI

Alex Deucher alexdeucher at gmail.com
Tue Sep 8 20:35:25 PDT 2015


On Sun, Sep 6, 2015 at 10:13 AM, Marek Olšák <maraeo at gmail.com> wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> This fixes corruption in Unigine Heaven on VI
>
> Cc: 11.0 <mesa-stable at lists.freedesktop.org>

For the series:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  src/gallium/drivers/radeonsi/si_pipe.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
> index 7dbb2e3..85ade31 100644
> --- a/src/gallium/drivers/radeonsi/si_pipe.c
> +++ b/src/gallium/drivers/radeonsi/si_pipe.c
> @@ -205,9 +205,7 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen,
>         r600_target = radeon_llvm_get_r600_target(triple);
>         sctx->tm = LLVMCreateTargetMachine(r600_target, triple,
>                                            r600_get_llvm_processor_name(sscreen->b.family),
> -                                          sctx->b.chip_class >= VI ?
> -                                                  "+DumpCode" :
> -                                                  "+DumpCode,+vgpr-spilling",
> +                                          "+DumpCode,+vgpr-spilling",
>                                            LLVMCodeGenLevelDefault,
>                                            LLVMRelocDefault,
>                                            LLVMCodeModelDefault);
> --
> 2.1.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list