From efdb378c3688b897bdbec11218cdc9ee5e801bbd Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Mon, 27 Feb 2017 22:25:43 +0100 Subject: amd/addrlib: import Raven support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: 17.1 Reviewed-by: Alex Deucher Reviewed-by: Nicolai Hähnle --- src/amd/common/amdgpu_id.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/amd/common/amdgpu_id.h') diff --git a/src/amd/common/amdgpu_id.h b/src/amd/common/amdgpu_id.h index 316b30ffa38..6f254f0740f 100644 --- a/src/amd/common/amdgpu_id.h +++ b/src/amd/common/amdgpu_id.h @@ -49,6 +49,7 @@ enum { FAMILY_CZ, FAMILY_PI, FAMILY_AI, + FAMILY_RV, FAMILY_LAST, }; @@ -185,4 +186,13 @@ enum { #define ASICREV_IS_VEGA10_P(eChipRev) \ ((eChipRev) >= AI_VEGA10_P_A0 && (eChipRev) < AI_UNKNOWN) +/* RV specific rev IDs */ +enum { + RAVEN_A0 = 0x01, + RAVEN_UNKNOWN = 0xFF +}; + +#define ASICREV_IS_RAVEN(eChipRev) \ + ((eChipRev) >= RAVEN_A0 && (eChipRev) < RAVEN_UNKNOWN) + #endif /* AMDGPU_ID_H */ -- cgit v1.2.3