From: Viresh Kumar Date: Wed, 19 Jul 2017 10:12:47 +0000 (+0530) Subject: cpufreq: schedutil: Set dynamic_switching to true X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=560c6e452d8fa1e98cc50674d3408924387a983e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Rafael J. Wysocki --- diff --git a/kernel/sched/cpufreq_schedutil.c b/kernel/sched/cpufreq_schedutil.c index 89c4dd9777bb..45fcf21ad685 100644 --- a/kernel/sched/cpufreq_schedutil.c +++ b/kernel/sched/cpufreq_schedutil.c @@ -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,