commit | 8fa520af50817d5f30d293f507c937f561b3e6b9 | [log] [tgz] |
---|---|---|
author | Philippe Longepe <philippe.longepe@linux.intel.com> | Sun Mar 06 08:34:06 2016 +0100 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Fri Mar 11 00:04:58 2016 +0100 |
tree | 8b6bf612d99d0b3ab9b8da0dae478b7bddd63cfc | |
parent | 7349ec0470b62820ae226e30770b9d84a53ced9d [diff] |
intel_pstate: Remove freq calculation from intel_pstate_calc_busy() Use a helper function to compute the average pstate and call it only where it is needed (only when tracing or in intel_pstate_get). 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>