summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorYang Wang <KevinYang.Wang@amd.com>2023-04-27 10:36:51 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-06-09 09:55:22 -0400
commit463e953ea2eda25fbde70e0e72900f5bafeff93c (patch)
tree83697851bda5b42c5d579ebc7b22e32f13403bec /drivers/gpu/drm/amd
parent8f2ccaaa373815ff94223dc2e3f6d53ff2f3ecb3 (diff)
downloadlinux-463e953ea2eda25fbde70e0e72900f5bafeff93c.tar.gz
linux-463e953ea2eda25fbde70e0e72900f5bafeff93c.tar.bz2
linux-463e953ea2eda25fbde70e0e72900f5bafeff93c.zip
drm/amd/pm: fix wrong smu socclk value
fix typo about smu socclk value. Signed-off-by: Yang Wang <KevinYang.Wang@amd.com> Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r--drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c2
1 files changed, 1 insertions, 1 deletions
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)