]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/amd/pm: remove the pptable id override on smu_v13_0_10
authorKenneth Feng <kenneth.feng@amd.com>
Wed, 7 Sep 2022 07:40:34 +0000 (15:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Oct 2022 02:09:17 +0000 (22:09 -0400)
remove the pptable id override on smu_v13_0_10,
and the id is fetched from vbios now.

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Likun Gao <Likun.Gao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c

index 93fffdbab4f070f71bcb59e0d3e680e824b646ee..d9323293179a09b483f6e5b00bdb65918fef4887 100644 (file)
@@ -454,9 +454,6 @@ int smu_v13_0_setup_pptable(struct smu_context *smu)
                dev_info(adev->dev, "override pptable id %d\n", pptable_id);
        } else {
                pptable_id = smu->smu_table.boot_values.pp_table_id;
-
-               if (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(13, 0, 10))
-                       pptable_id = 6666;
        }
 
        /* force using vbios pptable in sriov mode */