From 574dce2d2414f7d782536fbbef7d20d1cf027e69 Mon Sep 17 00:00:00 2001 From: Qingqing Zhuo Date: Thu, 10 Feb 2022 14:55:29 -0500 Subject: drm/amd/display: Add DCN315 family information Signed-off-by: Qingqing Zhuo Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/include/dal_asic_id.h | 6 ++++++ drivers/gpu/drm/amd/display/include/dal_types.h | 1 + 2 files changed, 7 insertions(+) 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 }; -- cgit v1.2.3-59-g8ed1b