summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPriya Hosur <Priya.Hosur@amd.com>2026-05-07 13:31:37 +0530
committerAlex Deucher <alexander.deucher@amd.com>2026-06-03 14:57:46 -0400
commit03b70e0d8aa26bab89a0f1394c1c80a871925e42 (patch)
tree4c1612b4ff087f699deb88dcd9c157f3b984e4e1 /include/linux
parentec4c462e2d8161b32038e21e7187f4a15fe1661d (diff)
drm/amd/pm: smu_v14_0_0: use SoftMin for gfxclk in set_soft_freq_limited_range
In smu_v14_0_0_set_soft_freq_limited_range(), the gfxclk floor is programmed via SetHardMinGfxClk together with SetSoftMaxGfxClk. Under power_dpm_force_performance_level=high this pins HardMin to peak gfxclk. In PMFW arbitration HardMin has higher priority than SoftMax, so the firmware thermal/PPT throttler cannot clamp gfxclk via SoftMax once HardMin is set to peak. Replace SetHardMinGfxClk with SetSoftMinGfxclk so the driver still requests peak performance but the firmware throttler retains the ability to clamp gfxclk under thermal/PPT pressure. SoftMax handling is unchanged and no other clock domains are affected. Signed-off-by: Priya Hosur <Priya.Hosur@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 3ea273267fd29cbf6d83ee72329f59eb5042605b) Cc: stable@vger.kernel.org
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions