]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: intel_pstate: Set EPP/EPB to 0 in performance mode
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Fri, 25 Nov 2016 00:07:10 +0000 (16:07 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 28 Nov 2016 13:23:56 +0000 (14:23 +0100)
commit11448cf258c671503b049f1392a8f521b10cf492
tree765281d711d05823b71141512d76f3755c95a72d
parentd7a6260c8c06c940307352282a8738e7450485b6
cpufreq: intel_pstate: Set EPP/EPB to 0 in performance mode

When user has selected performance policy, then set the EPP (Energy
Performance Preference) or EPB (Energy Performance Bias) to maximum
performance mode.

Also when user switch back to powersave, then restore EPP/EPB to last
EPP/EPB value before entering performance mode. If user has not changed
EPP/EPB manually then it will be power on default value.

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