From: Yang Wang <kevinyang.w...@amd.com>

fix typo about smu socclk value.

Signed-off-by: Yang Wang <kevinyang.w...@amd.com>
Reviewed-by: Lijo Lazar <lijo.la...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c 
b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
index 4b808c0addc2..a712b2bf2d25 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
@@ -387,7 +387,7 @@ static int smu_v13_0_6_get_dpm_ultimate_freq(struct 
smu_context *smu,
                        break;
                case SMU_SOCCLK:
                        if (pptable->Init)
-                               clock_limit = pptable->UclkFrequencyTable[0];
+                               clock_limit = pptable->SocclkFrequencyTable[0];
                        break;
                case SMU_FCLK:
                        if (pptable->Init)
-- 
2.40.1

Reply via email to