[Mesa-dev] [PATCH] radeonsi: fix Fiji for LLVM <= 3.7
Alex Deucher
alexdeucher at gmail.com
Thu Dec 3 14:53:53 PST 2015
On Thu, Dec 3, 2015 at 5:51 PM, Marek Olšák <maraeo at gmail.com> wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> Cc: 11.0 11.1 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> src/gallium/drivers/radeon/r600_pipe_common.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/radeon/r600_pipe_common.c b/src/gallium/drivers/radeon/r600_pipe_common.c
> index 1ed5eb7..f566a29 100644
> --- a/src/gallium/drivers/radeon/r600_pipe_common.c
> +++ b/src/gallium/drivers/radeon/r600_pipe_common.c
> @@ -555,10 +555,11 @@ const char *r600_get_llvm_processor_name(enum radeon_family family)
> case CHIP_TONGA: return "tonga";
> case CHIP_ICELAND: return "iceland";
> case CHIP_CARRIZO: return "carrizo";
> - case CHIP_FIJI: return "fiji";
> #if HAVE_LLVM <= 0x0307
> + case CHIP_FIJI: return "tonga";
> case CHIP_STONEY: return "carrizo";
> #else
> + case CHIP_FIJI: return "fiji";
> case CHIP_STONEY: return "stoney";
> #endif
> default: return "";
> --
> 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