diff options
author | Marek Olšák <[email protected]> | 2017-02-27 22:25:43 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-05-15 13:00:26 +0200 |
commit | efdb378c3688b897bdbec11218cdc9ee5e801bbd (patch) | |
tree | 431f1cde2fc8413f5cf1acf83922074ec88650b4 /src/amd/common | |
parent | c98f03c6ebaca82c265b2f3242aed5c6a3c5dcd8 (diff) |
amd/addrlib: import Raven support
Cc: 17.1 <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/amd/common')
-rw-r--r-- | src/amd/common/amdgpu_id.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 */ |