aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorYang Wang <[email protected]>2023-04-27 02:36:51 +0000
committerAlex Deucher <[email protected]>2023-06-09 13:55:22 +0000
commit463e953ea2eda25fbde70e0e72900f5bafeff93c (patch)
tree83697851bda5b42c5d579ebc7b22e32f13403bec /drivers/gpu/drm/amd
parentdrm/amdgpu: Add mode-2 reset in SMU v13.0.6 (diff)
downloadkernel-463e953ea2eda25fbde70e0e72900f5bafeff93c.tar.gz
kernel-463e953ea2eda25fbde70e0e72900f5bafeff93c.zip
drm/amd/pm: fix wrong smu socclk value
fix typo about smu socclk value. Signed-off-by: Yang Wang <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
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)