drm/amd/display: add DCN351 version identifiers
authorHamza Mahfooz <hamza.mahfooz@amd.com>
Fri, 16 Feb 2024 20:02:21 +0000 (15:02 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Mar 2024 20:59:07 +0000 (15:59 -0500)
Add DCN3.5.1 ASIC identifiers.

Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/dmub_srv.h
drivers/gpu/drm/amd/display/include/dal_asic_id.h

index ff2a65e67bd4c9c696c78c0939ef524d51d20280..7785908a6676a73559bcae04b21f6aa74ac8b5c6 100644 (file)
@@ -112,6 +112,7 @@ enum dmub_asic {
        DMUB_ASIC_DCN32,
        DMUB_ASIC_DCN321,
        DMUB_ASIC_DCN35,
+       DMUB_ASIC_DCN351,
        DMUB_ASIC_MAX,
 };
 
index e317089cf6ee7fc3804aa81624b5cfb7a7fcea3f..c9ec46c6b4c6ab0c869ed8cd3b6ae626614e86ab 100644 (file)
@@ -250,11 +250,13 @@ enum {
 #define GC_11_0_0_A0 0x1
 #define GC_11_0_2_A0 0x10
 #define GC_11_0_3_A0 0x20
+#define GC_11_0_4_A0 0xC0
 #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_0_3_A0)
 #define ASICREV_IS_GC_11_0_3(eChipRev) (eChipRev >= GC_11_0_3_A0 && eChipRev < GC_11_UNKNOWN)
+#define ASICREV_IS_GC_11_0_4(eChipRev) (eChipRev >= GC_11_0_4_A0 && eChipRev < GC_11_UNKNOWN)
 
 /*
  * ASIC chip ID