Skip to content

Commit 1c1a920

Browse files
effective-lightalexdeucher
authored andcommitted
drm/amd/display: add DCN351 version identifiers
Add DCN3.5.1 ASIC identifiers. Signed-off-by: Hamza Mahfooz <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent feb13f5 commit 1c1a920

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

drivers/gpu/drm/amd/display/dmub/dmub_srv.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ enum dmub_asic {
112112
DMUB_ASIC_DCN32,
113113
DMUB_ASIC_DCN321,
114114
DMUB_ASIC_DCN35,
115+
DMUB_ASIC_DCN351,
115116
DMUB_ASIC_MAX,
116117
};
117118

drivers/gpu/drm/amd/display/include/dal_asic_id.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,13 @@ enum {
250250
#define GC_11_0_0_A0 0x1
251251
#define GC_11_0_2_A0 0x10
252252
#define GC_11_0_3_A0 0x20
253+
#define GC_11_0_4_A0 0xC0
253254
#define GC_11_UNKNOWN 0xFF
254255

255256
#define ASICREV_IS_GC_11_0_0(eChipRev) (eChipRev < GC_11_0_2_A0)
256257
#define ASICREV_IS_GC_11_0_2(eChipRev) (eChipRev >= GC_11_0_2_A0 && eChipRev < GC_11_0_3_A0)
257258
#define ASICREV_IS_GC_11_0_3(eChipRev) (eChipRev >= GC_11_0_3_A0 && eChipRev < GC_11_UNKNOWN)
259+
#define ASICREV_IS_GC_11_0_4(eChipRev) (eChipRev >= GC_11_0_4_A0 && eChipRev < GC_11_UNKNOWN)
258260

259261
/*
260262
* ASIC chip ID

0 commit comments

Comments
 (0)