summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/include/dal_asic_id.h
diff options
context:
space:
mode:
authorAurabindo Pillai <aurabindo.pillai@amd.com>2022-02-21 23:49:20 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-06-03 23:43:36 +0300
commit79b470e5ee83e979f8ff465efa8b7ced160bcae7 (patch)
tree846abba367d8eb2b8f577b57c3a6e1ea4fcf23b1 /drivers/gpu/drm/amd/display/include/dal_asic_id.h
parentb801d8ad1b516a951535241c9cf60cac8f9a5c2b (diff)
downloadlinux-79b470e5ee83e979f8ff465efa8b7ced160bcae7.tar.xz
drm/amd/display: Add DCN32/321 version identifiers
Add DCN3.2 asic identifiers. Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Acked-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.h8
1 files changed, 8 insertions, 0 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 310f8779db67..11391eead954 100644
--- a/drivers/gpu/drm/amd/display/include/dal_asic_id.h
+++ b/drivers/gpu/drm/amd/display/include/dal_asic_id.h
@@ -247,6 +247,14 @@ enum {
#define ASICREV_IS_GC_10_3_7(eChipRev) ((eChipRev >= GC_10_3_7_A0) && (eChipRev < GC_10_3_7_UNKNOWN))
+#define AMDGPU_FAMILY_GC_11_0_0 145
+#define GC_11_0_0_A0 0x1
+#define GC_11_0_2_A0 0x10
+#define GC_11_UNKNOWN 0xFF
+
+#define ASICREV_IS_GC_11_0_0(eChipRev) (eChipRev < GC_11_0_2_A0)
+#define ASICREV_IS_GC_11_0_2(eChipRev) (eChipRev >= GC_11_0_2_A0 && eChipRev < GC_11_UNKNOWN)
+
/*
* ASIC chip ID
*/