summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-04-28 23:13:33 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-04-28 23:13:33 +0200
commit2addac72afb304fa5aa57dbdd12659a8fd52d105 (patch)
tree456c26e52a14002f1f5ffd2266c9092a4a2f38e8 /drivers/cpufreq
parent2dee4b0e0b83c9d045d6cfe168d6798ead3fe33c (diff)
parent1b72e7fd304639f1cd49d1e11955c4974936d88c (diff)
downloadtalos-obmc-linux-2addac72afb304fa5aa57dbdd12659a8fd52d105.tar.gz
talos-obmc-linux-2addac72afb304fa5aa57dbdd12659a8fd52d105.zip
Merge schedutil governor updates for v4.12.
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r--drivers/cpufreq/intel_pstate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
index c31b72b16c2b..b7de5bd76a31 100644
--- a/drivers/cpufreq/intel_pstate.c
+++ b/drivers/cpufreq/intel_pstate.c
@@ -41,6 +41,7 @@
#define INTEL_PSTATE_HWP_SAMPLING_INTERVAL (50 * NSEC_PER_MSEC)
#define INTEL_CPUFREQ_TRANSITION_LATENCY 20000
+#define INTEL_CPUFREQ_TRANSITION_DELAY 500
#ifdef CONFIG_ACPI
#include <acpi/processor.h>
@@ -2237,6 +2238,7 @@ static int intel_cpufreq_cpu_init(struct cpufreq_policy *policy)
return ret;
policy->cpuinfo.transition_latency = INTEL_CPUFREQ_TRANSITION_LATENCY;
+ policy->transition_delay_us = INTEL_CPUFREQ_TRANSITION_DELAY;
/* This reflects the intel_pstate_get_cpu_pstates() setting. */
policy->cur = policy->cpuinfo.min_freq;
OpenPOWER on IntegriCloud