]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpufreq/amd-pstate: Remove the redundant des_perf clamping in adjust_perf
authorDhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Wed, 5 Feb 2025 11:25:15 +0000 (11:25 +0000)
committerMario Limonciello <mario.limonciello@amd.com>
Mon, 24 Feb 2025 00:54:56 +0000 (18:54 -0600)
commit932da6489669da4d61b711c44af208fa431654fa
tree3f13c9cd1efc1bda976db6478e7cc18925841dd1
parent6ceb877d5cecd5417d63239bf833a1cd5f8f271c
cpufreq/amd-pstate: Remove the redundant des_perf clamping in adjust_perf

des_perf is later on clamped between min_perf and max_perf in
amd_pstate_update. So, remove the redundant clamping from
amd_pstate_adjust_perf.

Signed-off-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Link: https://lore.kernel.org/r/20250205112523.201101-5-dhananjay.ugwekar@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
drivers/cpufreq/amd-pstate.c