summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2024-10-12 12:45:17 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-05 14:01:18 +0100
commit50f0ec2f88a7990e3c7f40cbc096dde1b981d4df (patch)
tree42697618bfa6e20af601dcdfbfd09fcf3e5fdf01 /scripts/patch-kernel
parent3b2e23eaed1ec5be50c15d5820c7fb78cbd31a56 (diff)
downloadlinux-50f0ec2f88a7990e3c7f40cbc096dde1b981d4df.tar.gz
linux-50f0ec2f88a7990e3c7f40cbc096dde1b981d4df.tar.bz2
linux-50f0ec2f88a7990e3c7f40cbc096dde1b981d4df.zip
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: 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions