+1
−23
Loading
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: c8c68c38 ("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>