diff options
author | Mario Limonciello <[email protected]> | 2024-10-12 12:45:16 -0500 |
---|---|---|
committer | Mario Limonciello <[email protected]> | 2024-10-15 23:54:15 -0500 |
commit | 18d9b52271213890da295a7c63ef8880ed570cd8 (patch) | |
tree | 12ad5478895651142a333485e34b9ad835e634f2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | c10e50a469b5ec91eabf653526a22bdce03a9bca (diff) |
cpufreq/amd-pstate: Use nominal perf for limits when boost is disabled
When boost has been disabled the limit for perf should be nominal perf not
the highest perf. Using the latter to do calculations will lead to
incorrect values that are still above nominal.
Fixes: ad4caad58d91 ("cpufreq: amd-pstate: Merge amd_pstate_highest_perf_set() into amd_get_boost_ratio_numerator()")
Reported-by: Peter Jung <[email protected]>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219348
Reviewed-by: Perry Yuan <[email protected]>
Reviewed-by: Gautham R. Shenoy <[email protected]>
Tested-by: Dhananjay Ugwekar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mario Limonciello <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions