amd: add Aldebaran chip enum

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9389>
This commit is contained in:
James Zhu 2020-12-16 09:49:18 -05:00 committed by Marge Bot
parent 2764cf8d32
commit 381d3a5a38
5 changed files with 9 additions and 1 deletions

View file

@ -89,7 +89,8 @@
#define AMDGPU_VEGA10_RANGE 0x01, 0x14
#define AMDGPU_VEGA12_RANGE 0x14, 0x28
#define AMDGPU_VEGA20_RANGE 0x28, 0x32
#define AMDGPU_ARCTURUS_RANGE 0x32, 0xFF
#define AMDGPU_ARCTURUS_RANGE 0x32, 0x3C
#define AMDGPU_ALDEBARAN_RANGE 0x3C, 0xFF
#define AMDGPU_RAVEN_RANGE 0x01, 0x81
#define AMDGPU_RAVEN2_RANGE 0x81, 0x91
@ -143,6 +144,7 @@
#define ASICREV_IS_VEGA12_p(r) ASICREV_IS(r, VEGA12)
#define ASICREV_IS_VEGA20_P(r) ASICREV_IS(r, VEGA20)
#define ASICREV_IS_ARCTURUS(r) ASICREV_IS(r, ARCTURUS)
#define ASICREV_IS_ALDEBARAN(r) ASICREV_IS(r, ALDEBARAN)
#define ASICREV_IS_RAVEN(r) ASICREV_IS(r, RAVEN)
#define ASICREV_IS_RAVEN2(r) ASICREV_IS(r, RAVEN2)

View file

@ -531,6 +531,7 @@ bool ac_query_gpu_info(int fd, void *dev_p, struct radeon_info *info,
identify_chip(VEGA12);
identify_chip(VEGA20);
identify_chip(ARCTURUS);
identify_chip(ALDEBARAN);
break;
case FAMILY_RV:
identify_chip(RAVEN);
@ -913,6 +914,7 @@ bool ac_query_gpu_info(int fd, void *dev_p, struct radeon_info *info,
pc_lines = 256;
break;
case CHIP_ARCTURUS:
case CHIP_ALDEBARAN:
break;
default:
assert(0);

View file

@ -100,6 +100,7 @@ enum radeon_family
CHIP_RAVEN2,
CHIP_RENOIR,
CHIP_ARCTURUS,
CHIP_ALDEBARAN,
CHIP_NAVI10,
CHIP_NAVI12,
CHIP_NAVI14,

View file

@ -168,6 +168,8 @@ const char *ac_get_llvm_processor_name(enum radeon_family family)
return "gfx909";
case CHIP_ARCTURUS:
return "gfx908";
case CHIP_ALDEBARAN:
return "gfx90a";
case CHIP_NAVI10:
return "gfx1010";
case CHIP_NAVI12:

View file

@ -2446,6 +2446,7 @@ struct pipe_video_codec *radeon_create_decoder(struct pipe_context *context,
dec->jpg.direct_reg = true;
break;
case CHIP_ARCTURUS:
case CHIP_ALDEBARAN:
case CHIP_SIENNA_CICHLID:
case CHIP_NAVY_FLOUNDER:
case CHIP_DIMGREY_CAVEFISH: