cpufreq/amd-pstate: Don't update CPPC request in amd_pstate_cpu_boost_update()
[ Upstream commit 67c08d303e0a1a5665b3f198037c9fae2d808090 ] 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> Signed-off-by:
Sasha Levin <sashal@kernel.org>
parent
3b2e23ea
No related branches found
No related tags found
Please register or sign in to comment