drm/amd/display: extend dcn201 support
authorOliver Logush <ollogush@amd.com>
Wed, 9 Feb 2022 19:25:13 +0000 (14:25 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Feb 2022 21:11:09 +0000 (16:11 -0500)
Signed-off-by: Oliver Logush <ollogush@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 b36bae4..71b3931 100644 (file)
@@ -135,7 +135,7 @@ 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) {
+               if (asic_id.chip_id == DEVICE_ID_NV_13FE || asic_id.chip_id == DEVICE_ID_NV_143F) {
                        dc_version = DCN_VERSION_2_01;
                        break;
                }
index e4a2dfa..e672be6 100644 (file)
@@ -212,6 +212,7 @@ enum {
 #define ASICREV_IS_GREEN_SARDINE(eChipRev) ((eChipRev >= GREEN_SARDINE_A0) && (eChipRev < 0xFF))
 #endif
 #define DEVICE_ID_NV_13FE 0x13FE  // CYAN_SKILLFISH
+#define DEVICE_ID_NV_143F 0x143F
 #define FAMILY_VGH 144
 #define DEVICE_ID_VGH_163F 0x163F
 #define VANGOGH_A0 0x01