]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/amd/display: add more cyan skillfish devices
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Jun 2025 14:10:31 +0000 (10:10 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Aug 2025 18:36:50 +0000 (14:36 -0400)
Add PCI IDs to support display probe for cyan skillfish
family of SOCs.

Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
drivers/gpu/drm/amd/display/include/dal_asic_id.h

index 4d6181e7c612b9b7b9f8e12461b1ea8d616c4461..d712548b1927d02634692a3bab8d128e074a03bf 100644 (file)
@@ -165,7 +165,13 @@ enum dce_version resource_parse_asic_id(struct hw_asic_id asic_id)
 
        case FAMILY_NV:
                dc_version = DCN_VERSION_2_0;
-               if (asic_id.chip_id == DEVICE_ID_NV_13FE || asic_id.chip_id == DEVICE_ID_NV_143F) {
+               if (asic_id.chip_id == DEVICE_ID_NV_13FE ||
+                   asic_id.chip_id == DEVICE_ID_NV_143F ||
+                   asic_id.chip_id == DEVICE_ID_NV_13F9 ||
+                   asic_id.chip_id == DEVICE_ID_NV_13FA ||
+                   asic_id.chip_id == DEVICE_ID_NV_13FB ||
+                   asic_id.chip_id == DEVICE_ID_NV_13FC ||
+                   asic_id.chip_id == DEVICE_ID_NV_13DB) {
                        dc_version = DCN_VERSION_2_01;
                        break;
                }
index 5fc29164e4b45840f5df464febabf30bf81e498f..8aea50aa9533019b17443c0ee0a133974121e5d8 100644 (file)
@@ -213,6 +213,11 @@ enum {
 #endif
 #define DEVICE_ID_NV_13FE 0x13FE  // CYAN_SKILLFISH
 #define DEVICE_ID_NV_143F 0x143F
+#define DEVICE_ID_NV_13F9 0x13F9
+#define DEVICE_ID_NV_13FA 0x13FA
+#define DEVICE_ID_NV_13FB 0x13FB
+#define DEVICE_ID_NV_13FC 0x13FC
+#define DEVICE_ID_NV_13DB 0x13DB
 #define FAMILY_VGH 144
 #define DEVICE_ID_VGH_163F 0x163F
 #define DEVICE_ID_VGH_1435 0x1435