cpufreq: schedutil: Use policy-dependent transition delays
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 10 Apr 2017 22:20:41 +0000 (00:20 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 17 Apr 2017 16:37:27 +0000 (18:37 +0200)
commit1b72e7fd304639f1cd49d1e11955c4974936d88c
tree3e0f6a04789bd0d92410ed3e273ee1b6bdc041de
parent5ed8a1c19d4655e6ca5768266b2f51a9d58b8a76
cpufreq: schedutil: Use policy-dependent transition delays

Make the schedutil governor take the initial (default) value of the
rate_limit_us sysfs attribute from the (new) transition_delay_us
policy parameter (to be set by the scaling driver).

That will allow scaling drivers to make schedutil use smaller default
values of rate_limit_us and reduce the default average time interval
between consecutive frequency changes.

Make intel_pstate set transition_delay_us to 500.

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