]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: intel_pstate: Use CPU load based algorithm for PM_MOBILE
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Mon, 14 Nov 2016 18:31:11 +0000 (10:31 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 14 Nov 2016 20:25:23 +0000 (21:25 +0100)
commitac9b2afba4077440d7d1a1ee774bc940bb630f86
treed425653811ac1771cdf519c5141531ff46200604
parentf97cc7f10fe3d05ca99e5f5497a2369f86a43060
cpufreq: intel_pstate: Use CPU load based algorithm for PM_MOBILE

Use get_target_pstate_use_cpu_load() to calculate target P-State for
devices, with the preferred power management profile in ACPI FADT
set to PM_MOBILE.

This may help in resolving some thermal issues caused by low sustained
cpu bound workloads. The current algorithm tend to over provision in this
case as it doesn't look at the CPU busyness.

Also included the fix from Arnd Bergmann <arnd@arndb.de> to solve compile
issue, when CONFIG_ACPI is not defined.

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