diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2024-10-12 12:45:17 -0500 |
---|---|---|
committer | Mario Limonciello <mario.limonciello@amd.com> | 2024-10-28 14:54:35 -0500 |
commit | 67c08d303e0a1a5665b3f198037c9fae2d808090 (patch) | |
tree | 83ad8fed27c7378d2238c0501e7700424878f7a3 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 7820e8050d622b9bc9bf9acbe8a60f62888a135e (diff) | |
download | linux-67c08d303e0a1a5665b3f198037c9fae2d808090.tar.gz linux-67c08d303e0a1a5665b3f198037c9fae2d808090.tar.bz2 linux-67c08d303e0a1a5665b3f198037c9fae2d808090.zip |
cpufreq/amd-pstate: Don't update CPPC request in amd_pstate_cpu_boost_update()
When boost is changed the CPPC value is changed in amd_pstate_cpu_boost_update()
but then changed again when refresh_frequency_limits() and all it's callbacks
occur. The first is a pointless write, so instead just update the limits for
the policy and let the policy refresh anchor everything properly.
Fixes: c8c68c38b56f ("cpufreq: amd-pstate: initialize core precision boost state")
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Reviewed-by: Perry Yuan <perry.yuan@amd.com>
Tested-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Link: https://lore.kernel.org/r/20241012174519.897-2-mario.limonciello@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions