]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpufreq/amd-pstate: Move max_perf limiting in amd_pstate_update
authorDhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Tue, 15 Apr 2025 08:23:09 +0000 (08:23 +0000)
committerMario Limonciello <mario.limonciello@amd.com>
Mon, 21 Apr 2025 20:40:49 +0000 (15:40 -0500)
commitafc9506c2a8169e871cfafd9b94e0e631ae8f9cb
treed19f6a1db9dbba848e4f41cacc01ec138718e2a4
parent9c32cda43eb78f78c73aee4aa344b777714e259b
cpufreq/amd-pstate: Move max_perf limiting in amd_pstate_update

Move up the max_perf limiting, so that we clamp the des_perf with the
updated max_perf.

Signed-off-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Link: https://lore.kernel.org/r/20250415082308.3341-1-dhananjay.ugwekar@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
drivers/cpufreq/amd-pstate.c