drm/amd/pm: fix the issue of uploading powerplay table
authorKenneth Feng <kenneth.feng@amd.com>
Sun, 5 Sep 2021 23:55:01 +0000 (07:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Sep 2021 20:15:21 +0000 (16:15 -0400)
fix the issue of uploading powerplay table due to the dependancy of rlc.

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Jack Gui <Jack.Gui@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c

index 3ab1ce4d3419b0da81a68d25bd2c839af839a65d..04863a7971155ab1177f37b9f8bdc343d0c1c0c3 100644 (file)
@@ -1404,7 +1404,7 @@ static int smu_disable_dpms(struct smu_context *smu)
         */
        if (smu->uploading_custom_pp_table &&
            (adev->asic_type >= CHIP_NAVI10) &&
-           (adev->asic_type <= CHIP_DIMGREY_CAVEFISH))
+           (adev->asic_type <= CHIP_BEIGE_GOBY))
                return smu_disable_all_features_with_exception(smu,
                                                               true,
                                                               SMU_FEATURE_COUNT);