diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/addrlib/src/amdgpu_asic_addr.h | 4 | ||||
-rw-r--r-- | src/amd/common/ac_llvm_util.c | 2 | ||||
-rw-r--r-- | src/amd/common/amd_family.h | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/src/amd/addrlib/src/amdgpu_asic_addr.h b/src/amd/addrlib/src/amdgpu_asic_addr.h index f02d367e6b4..75c06796ad7 100644 --- a/src/amd/addrlib/src/amdgpu_asic_addr.h +++ b/src/amd/addrlib/src/amdgpu_asic_addr.h @@ -94,6 +94,8 @@ #define AMDGPU_RAVEN_RANGE 0x01, 0x81 #define AMDGPU_RAVEN2_RANGE 0x81, 0xFF +#define AMDGPU_ARCTURUS_RANGE 0x32, 0xFF + #define AMDGPU_NAVI10_RANGE 0x01, 0x0A #define AMDGPU_NAVI12_RANGE 0x0A, 0x14 #define AMDGPU_NAVI14_RANGE 0x14, 0x28 @@ -140,6 +142,8 @@ #define ASICREV_IS_RAVEN(r) ASICREV_IS(r, RAVEN) #define ASICREV_IS_RAVEN2(r) ASICREV_IS(r, RAVEN2) +#define ASICREV_IS_ARCTURUS(r) ASICREV_IS(r, ARCTURUS) + #define ASICREV_IS_NAVI10_P(r) ASICREV_IS(r, NAVI10) #define ASICREV_IS_NAVI12(r) ASICREV_IS(r, NAVI12) #define ASICREV_IS_NAVI14(r) ASICREV_IS(r, NAVI14) diff --git a/src/amd/common/ac_llvm_util.c b/src/amd/common/ac_llvm_util.c index e4a353a4967..b43224b3b73 100644 --- a/src/amd/common/ac_llvm_util.c +++ b/src/amd/common/ac_llvm_util.c @@ -133,6 +133,8 @@ const char *ac_get_llvm_processor_name(enum radeon_family family) return "gfx906"; case CHIP_RAVEN2: return HAVE_LLVM >= 0x0800 ? "gfx909" : "gfx902"; + case CHIP_ARCTURUS: + return "gfx908"; case CHIP_NAVI10: return "gfx1010"; case CHIP_NAVI12: diff --git a/src/amd/common/amd_family.h b/src/amd/common/amd_family.h index 7914f363230..1d6578c0ef7 100644 --- a/src/amd/common/amd_family.h +++ b/src/amd/common/amd_family.h @@ -97,6 +97,7 @@ enum radeon_family { CHIP_VEGA20, CHIP_RAVEN, CHIP_RAVEN2, + CHIP_ARCTURUS, CHIP_NAVI10, CHIP_NAVI12, CHIP_NAVI14, |