]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
cpufreq: Add strict_target to struct cpufreq_policy
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 10 Nov 2020 17:26:37 +0000 (18:26 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 10 Nov 2020 17:31:17 +0000 (18:31 +0100)
commitea9364bbadf11f0c55802cf11387d74f524cee84
treef81e857216d2e11a09e7ae072bf9790f0af62018
parent218f66870181bec7aaa6e3c72f346039c590c3c2
cpufreq: Add strict_target to struct cpufreq_policy

Add a new field to be set when the CPUFREQ_GOV_STRICT_TARGET flag is
set for the current governor to struct cpufreq_policy, so that the
drivers needing to check CPUFREQ_GOV_STRICT_TARGET do not have to
access the governor object during every frequency transition.

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