]> git.baikalelectronics.ru Git - kernel.git/commit
intel_pstate: Move intel_pstate_calc_busy() into get_target_pstate_use_performance()
authorPhilippe Longepe <philippe.longepe@linux.intel.com>
Sun, 6 Mar 2016 07:34:05 +0000 (08:34 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 10 Mar 2016 23:04:58 +0000 (00:04 +0100)
commitdf42e9279b3e35790f2fe853e96fceeeb9bf7d7b
treec0ee221a93cae01c3f644203360890dc5b30053b
parent1997ad32e75e0fca9953165a64d1930dacd151d2
intel_pstate: Move intel_pstate_calc_busy() into get_target_pstate_use_performance()

The cpu_load algorithm doesn't need to invoke intel_pstate_calc_busy(),
so move that call from intel_pstate_sample() to
get_target_pstate_use_performance().

Signed-off-by: Philippe Longepe <philippe.longepe@linux.intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c