aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQingqing Zhuo <qingqing.zhuo@amd.com>2022-02-10 14:55:29 -0500
committerAlex Deucher <alexander.deucher@amd.com>2022-02-18 14:07:00 -0500
commit574dce2d2414f7d782536fbbef7d20d1cf027e69 (patch)
tree4a2ed845358d9d2852f631aacb5fbd36515b163e
parentdrm/amd/include: add DCN 3.1.5 registers (diff)
downloadlinux-dev-574dce2d2414f7d782536fbbef7d20d1cf027e69.tar.xz
linux-dev-574dce2d2414f7d782536fbbef7d20d1cf027e69.zip
drm/amd/display: Add DCN315 family information
Signed-off-by: Qingqing Zhuo <qingqing.zhuo@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/display/include/dal_asic_id.h6
-rw-r--r--drivers/gpu/drm/amd/display/include/dal_types.h1
2 files changed, 7 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 79f6a9ddb4bd..310f8779db67 100644
--- a/drivers/gpu/drm/amd/display/include/dal_asic_id.h
+++ b/drivers/gpu/drm/amd/display/include/dal_asic_id.h
@@ -235,6 +235,12 @@ enum {
#define ASICREV_IS_YELLOW_CARP(eChipRev) ((eChipRev >= YELLOW_CARP_A0) && (eChipRev < YELLOW_CARP_UNKNOWN))
#endif
+#define AMDGPU_FAMILY_GC_10_3_6 149
+#define GC_10_3_6_A0 0x01
+#define GC_10_3_6_UNKNOWN 0xFF
+
+#define ASICREV_IS_GC_10_3_6(eChipRev) ((eChipRev >= GC_10_3_6_A0) && (eChipRev < GC_10_3_6_UNKNOWN))
+
#define AMDGPU_FAMILY_GC_10_3_7 151
#define GC_10_3_7_A0 0x01
#define GC_10_3_7_UNKNOWN 0xFF
diff --git a/drivers/gpu/drm/amd/display/include/dal_types.h b/drivers/gpu/drm/amd/display/include/dal_types.h
index 8ddb25519880..bf9085fc5105 100644
--- a/drivers/gpu/drm/amd/display/include/dal_types.h
+++ b/drivers/gpu/drm/amd/display/include/dal_types.h
@@ -57,6 +57,7 @@ enum dce_version {
DCN_VERSION_3_02,
DCN_VERSION_3_03,
DCN_VERSION_3_1,
+ DCN_VERSION_3_15,
DCN_VERSION_3_16,
DCN_VERSION_MAX
};