intel_pstate: respect cpufreq policy request
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Thu, 29 Jan 2015 20:17:13 +0000 (12:17 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 30 Jan 2015 00:52:17 +0000 (01:52 +0100)
commit630ec286dd85c5838493ab7ef975881c42069ef0
tree67ba7b127e3e4a45f8c58878df236a5ddcf40ddb
parent0522424ecb333c0874c4e74bc053dd662bed40df
intel_pstate: respect cpufreq policy request

When thermal or other subsystem requests to change the policy,
use that irrepective of whether cpufreq policy is PERFORMANCE or
not. Without this change, when thermal subsystem passive policy wants
to reduce performance, it still runs at 100%.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Kristen Carlson Accardi <kristen@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c