cpufreq: amd-pstate: adjust min/max limit perf
authorMeng Li <li.meng@amd.com>
Tue, 27 Feb 2024 07:39:24 +0000 (15:39 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 29 Feb 2024 19:11:40 +0000 (20:11 +0100)
commit8164f743326404fbe00a721a12efd86b2a8d74d2
tree8e8c0e0ccf03dbd2445b2f4a03f3ffed6a30f1fc
parent88debc69754f7fe5186954941bb1cc4d744f4f25
cpufreq: amd-pstate: adjust min/max limit perf

The min/max limit perf values calculated based on frequency
may exceed the reasonable range of perf(highest perf, lowest perf).

Signed-off-by: Meng Li <li.meng@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/amd-pstate.c