diff options
author | Mario Limonciello <[email protected]> | 2024-08-26 16:13:52 -0500 |
---|---|---|
committer | Mario Limonciello <[email protected]> | 2024-09-11 10:23:22 -0500 |
commit | 6c09e3b445a1a647a5b57ea6afd23e846225dd8f (patch) | |
tree | 3c1c181ecfe88232dc64b214421360c87cca571c /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 01ced022e125f7b328335bb2944a107afcafe351 (diff) |
x86/amd: Rename amd_get_highest_perf() to amd_get_boost_ratio_numerator()
The function name is ambiguous because it returns an intermediate value
for calculating maximum frequency rather than the CPPC 'Highest Perf'
register.
Rename the function to clarify its use and allow the function to return
errors. Adjust the consumer in acpi-cpufreq to catch errors.
Reviewed-by: Gautham R. Shenoy <[email protected]>
Signed-off-by: Mario Limonciello <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions