cpufreq: intel_pstate: Ignore turbo active ratio in HWP
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Thu, 2 Aug 2018 00:26:06 +0000 (17:26 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 6 Aug 2018 08:22:27 +0000 (10:22 +0200)
commitd3264f752a1aedac98aa90e50853df149d1346f2
tree82a493ca086d0cc35a382e6f5b710bac9f27276c
parent6ccbe1dcdd17c9b76cc9f63e2dc600b381cb2378
cpufreq: intel_pstate: Ignore turbo active ratio in HWP

When HWP is active turbo active ratio is not used, so we should allow
policy max frequency above turbo activation ratio to be set. When HWP is
not active, then any policy max frequency above turbo activation ratio
can result upto max one-core turbo frequency.

This fix helps better thermal control in turbo region when other methods
like "Running Average Power Limit" is not available to use.

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