1
0
Fork 0

cpufreq: schedutil: Set dynamic_switching to true

Set dynamic_switching to 'true' to disallow use of schedutil governor
for platforms with transition_latency set to CPUFREQ_ETERNAL, as they
may not want to do automatic dynamic frequency switching.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
zero-colors
Viresh Kumar 2017-07-19 15:42:47 +05:30 committed by Rafael J. Wysocki
parent ed4676e254
commit 560c6e452d
1 changed files with 1 additions and 0 deletions

View File

@ -646,6 +646,7 @@ static void sugov_limits(struct cpufreq_policy *policy)
static struct cpufreq_governor schedutil_gov = {
.name = "schedutil",
.owner = THIS_MODULE,
.dynamic_switching = true,
.init = sugov_init,
.exit = sugov_exit,
.start = sugov_start,