summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq.c
diff options
context:
space:
mode:
authorMeng Li <li.meng@amd.com>2023-08-03 09:43:54 +0800
committerViresh Kumar <viresh.kumar@linaro.org>2023-08-11 11:47:16 +0530
commitd3dec5bb61ce113cc84146bf4a72f752256d3767 (patch)
treeea4cdd102d4c5538514bdcf27e2365e9d0111b20 /drivers/cpufreq/cpufreq.c
parent216710a492dde71fc7674e9962727bccb08dfaeb (diff)
downloadlinux-stable-d3dec5bb61ce113cc84146bf4a72f752256d3767.tar.gz
linux-stable-d3dec5bb61ce113cc84146bf4a72f752256d3767.tar.bz2
linux-stable-d3dec5bb61ce113cc84146bf4a72f752256d3767.zip
cpufreq: amd-pstate-ut: Modify the function to get the highest_perf value
The previous function amd_get_highest_perf() will be deprecated. It can only return 166 or 255 by cpuinfo. For platforms that support preferred core, the value of highest perf can be between 166 and 255. Therefore, it will cause amd-pstate-ut to fail when run amd_pstate_ut_check_perf(). Signed-off-by: Meng Li <li.meng@amd.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/cpufreq.c')
0 files changed, 0 insertions, 0 deletions