]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpufreq/amd-pstate: Drop needless EPP initialization
authorMario Limonciello <mario.limonciello@amd.com>
Sat, 12 Oct 2024 17:45:19 +0000 (12:45 -0500)
committerMario Limonciello <mario.limonciello@amd.com>
Mon, 28 Oct 2024 19:54:35 +0000 (14:54 -0500)
commit508239724bdddf34482c4d134262f2292c1c78f0
tree961b1a36d92a03796582a11e385c00f0e0e9e465
parent047a2d0c83a425e83aa58b43c2557c42fdd0af29
cpufreq/amd-pstate: Drop needless EPP initialization

The EPP value doesn't need to be cached to the CPPC request in
amd_pstate_epp_update_limit() because it's passed as an argument
at the end to amd_pstate_set_epp() and stored at that time.

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-4-mario.limonciello@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
drivers/cpufreq/amd-pstate.c