summaryrefslogtreecommitdiffstats
path: root/src/amd/common/amdgpu_id.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-02-28 20:06:48 +0100
committerMarek Olšák <[email protected]>2017-02-28 21:44:30 +0100
commit8c838730d070cbf4da035593b374e3c5566cf944 (patch)
tree60b30353b5f9e74a5dd2466a69f6efa815caeb53 /src/amd/common/amdgpu_id.h
parent6e9fb1de7f617eadc9322038424287950258e441 (diff)
amd/common: fix ASICREV_IS_POLARIS11_M for Polaris12
Cc: 17.0 <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/common/amdgpu_id.h')
-rw-r--r--src/amd/common/amdgpu_id.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/common/amdgpu_id.h b/src/amd/common/amdgpu_id.h
index 1683a5a746c..1ecae1ae783 100644
--- a/src/amd/common/amdgpu_id.h
+++ b/src/amd/common/amdgpu_id.h
@@ -157,7 +157,7 @@ enum {
#define ASICREV_IS_POLARIS10_P(eChipRev)\
((eChipRev >= VI_POLARIS10_P_A0) && (eChipRev < VI_POLARIS11_M_A0))
#define ASICREV_IS_POLARIS11_M(eChipRev) \
- (eChipRev >= VI_POLARIS11_M_A0)
+ (eChipRev >= VI_POLARIS11_M_A0 && eChipRev < VI_POLARIS12_V_A0)
#define ASICREV_IS_POLARIS12_V(eChipRev)\
(eChipRev >= VI_POLARIS12_V_A0)