summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/include/dal_asic_id.h
diff options
context:
space:
mode:
authorJordan Lazare <Jordan.Lazare@amd.com>2016-12-14 15:35:13 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 17:05:16 -0400
commitb264d3455d9c8ce0bea422a04a867f0a724c7770 (patch)
tree150cd61f7f784aecf370bdaf2d9a06549f1aa135 /drivers/gpu/drm/amd/display/include/dal_asic_id.h
parentac58fff1551672c925b0ec2879c4653a69771ee2 (diff)
downloadlinux-b264d3455d9c8ce0bea422a04a867f0a724c7770.tar.bz2
drm/amd/dal: Add POLARIS12 support (v2)
v2: agd: squash in dm fix, rebase Signed-off-by: Jordan Lazare <Jordan.Lazare@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/include/dal_asic_id.h')
-rw-r--r--drivers/gpu/drm/amd/display/include/dal_asic_id.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/include/dal_asic_id.h b/drivers/gpu/drm/amd/display/include/dal_asic_id.h
index 119297e3bdc0..46f1e88f5e27 100644
--- a/drivers/gpu/drm/amd/display/include/dal_asic_id.h
+++ b/drivers/gpu/drm/amd/display/include/dal_asic_id.h
@@ -85,6 +85,7 @@
/* DCE112 */
#define VI_POLARIS10_P_A0 80
#define VI_POLARIS11_M_A0 90
+#define VI_POLARIS12_V_A0 100
#define VI_UNKNOWN 0xFF
@@ -95,7 +96,9 @@
#define ASIC_REV_IS_POLARIS10_P(eChipRev) ((eChipRev >= VI_POLARIS10_P_A0) && \
(eChipRev < VI_POLARIS11_M_A0))
-#define ASIC_REV_IS_POLARIS11_M(eChipRev) (eChipRev >= VI_POLARIS11_M_A0)
+#define ASIC_REV_IS_POLARIS11_M(eChipRev) ((eChipRev >= VI_POLARIS11_M_A0) && \
+ (eChipRev < VI_POLARIS12_V_A0))
+#define ASIC_REV_IS_POLARIS12_V(eChipRev) (eChipRev >= VI_POLARIS12_V_A0)
/* DCE11 */
#define CZ_CARRIZO_A0 0x01