]> www.infradead.org Git - users/dwmw2/linux.git/commit
cpufreq/amd-pstate: Fix min_limit perf and freq updation for performance governor
authorDhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Mon, 7 Apr 2025 08:19:26 +0000 (08:19 +0000)
committerMario Limonciello <mario.limonciello@amd.com>
Mon, 7 Apr 2025 13:56:21 +0000 (08:56 -0500)
commit56a49e19e1aea1374e9ba58cfd40260587bb7355
tree68927f0abe67f5af7531502d91b3aeee32870457
parent0af2f6be1b4281385b618cb86ad946eded089ac8
cpufreq/amd-pstate: Fix min_limit perf and freq updation for performance governor

The min_limit perf and freq values can get disconnected with performance
governor, as we only modify the perf value in the special case. Fix that
by modifying the perf and freq values together

Fixes: 009d1c29a451 ("cpufreq/amd-pstate: Move perf values into a union")
Signed-off-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20250407081925.850473-1-dhananjay.ugwekar@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
drivers/cpufreq/amd-pstate.c