Commit d4bc7f6
committed
cpufreq/amd-pstate: Fix max_perf updation with schedutil
JIRA: https://issues.redhat.com/browse/RHEL-75925
commit 55db9b7
Author: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Date: Wed Feb 5 11:25:13 2025 +0000
cpufreq/amd-pstate: Fix max_perf updation with schedutil
In adjust_perf() callback, we are setting the max_perf to highest_perf,
as opposed to the correct limit value i.e. max_limit_perf. Fix that.
Fixes: 3f7b835 ("cpufreq/amd-pstate: Move limit updating code")
Signed-off-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20250205112523.201101-3-dhananjay.ugwekar@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Steve Best <sbest@redhat.com>1 parent a441ff8 commit d4bc7f6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
699 | 699 | | |
700 | 700 | | |
701 | 701 | | |
702 | | - | |
| 702 | + | |
703 | 703 | | |
704 | 704 | | |
705 | 705 | | |
| |||
0 commit comments