From 8c838730d070cbf4da035593b374e3c5566cf944 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Tue, 28 Feb 2017 20:06:48 +0100 Subject: [PATCH] amd/common: fix ASICREV_IS_POLARIS11_M for Polaris12 Cc: 17.0 Reviewed-by: Alex Deucher Reviewed-by: Dave Airlie --- src/amd/common/amdgpu_id.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2