]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Nov 2020 18:22:30 +0000 (19:22 +0100)
commitddd0dd03fcce5b4516b35e14a21822cc526fff52
tree1354fa9885927c5cbaeaa03486eb96211f42a081
parentc539b683b0035d707986835ce5e8335bc2bcea8f
cpufreq: Introduce CPUFREQ_GOV_STRICT_TARGET

commit 218f66870181bec7aaa6e3c72f346039c590c3c2 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/cpufreq/cpufreq_performance.c
drivers/cpufreq/cpufreq_powersave.c
include/linux/cpufreq.h