diff options
author | Vincent Donnefort <vincent.donnefort@arm.com> | 2021-09-08 17:05:27 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-10-05 17:33:05 +0300 |
commit | 442d24a5c49a8ed1008dcb9c06dc463d12421e7f (patch) | |
tree | 565b53fa3b5963477a7702c45b54c9647124f35e /drivers/cpufreq/powernv-cpufreq.c | |
parent | 15171769069408789a72f9aa9a52cc931b839b56 (diff) | |
download | linux-442d24a5c49a8ed1008dcb9c06dc463d12421e7f.tar.xz |
cpufreq: Add an interface to mark inefficient frequencies
Some SoCs such as the sd855 have OPPs within the same policy whose cost is
higher than others with a higher frequency. Those OPPs are inefficients
and it might be interesting for a governor to not use them.
cpufreq_table_set_inefficient() allows the caller to identify a specified
frequency as being inefficient. Inefficient frequencies are only supported
on sorted tables.
Signed-off-by: Vincent Donnefort <vincent.donnefort@arm.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/powernv-cpufreq.c')
0 files changed, 0 insertions, 0 deletions