]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: Introduce CPUFREQ_GOV_STRICT_TARGET
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 10 Nov 2020 17:26:10 +0000 (18:26 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 10 Nov 2020 17:31:17 +0000 (18:31 +0100)
commit45137389a87d27dbc749988d81edb63975cd3261
tree9ec374c0aaa800debc493740e5d5df6134624d14
parent5826b0a49c4c3f02861c6ddcf9747957577f7d64
cpufreq: Introduce CPUFREQ_GOV_STRICT_TARGET

Introduce a new governor flag, CPUFREQ_GOV_STRICT_TARGET, for the
governors that want the target frequency to be set exactly to the
given value without leaving any room for adjustments on the hardware
side and set this flag for the powersave and performance governors.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/cpufreq_performance.c
drivers/cpufreq/cpufreq_powersave.c
include/linux/cpufreq.h