summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorsatya popuri <spopuri@nvidia.com>2012-03-09 10:41:33 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2012-03-24 02:18:41 -0700
commita46e345b5d2286b0dfea9bc6f6369ddb507527a9 (patch)
tree18094a7d8059ae3bf4af4dc066ce52004010d49e /drivers
parenta4bb969e23752ae4eb247a1b1fb3e225d8f7bf77 (diff)
cpufreq: change min_sample_time
We prefer a min_sample_time of 30ms. This is tied to our cluster switch and auto-hotplug artificial delays. Signed-off-by: satya popuri <spopuri@nvidia.com> original commit message: cpufreq: reduce min_sample_time Reduce the minimum amount of time the interactive governor spends at a frequency before ramping down. This parameter (min_sample_time) was 80ms now reduced to 30 ms based on perf and power sweep numbers. Reviewed-on: http://git-master/r/86900 (cherry picked from commit 581f20a5b7b8c3e4ee2c211b28dbc81510af2ae7). Signed-off-by: satya popuri <spopuri@nvidia.com> Change-Id: I24f4cd52737950fd4e78a36b4ee34a84551e0e12 Reviewed-on: http://git-master/r/89217 Reviewed-by: Satya Popuri <spopuri@nvidia.com> Tested-by: Satya Popuri <spopuri@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Rebase-Id: Re122331c596589db5c68dbf1452eb133093f91c3
Diffstat (limited to 'drivers')
-rw-r--r--drivers/cpufreq/cpufreq_interactive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq/cpufreq_interactive.c
index f68cb9b3112f..3a41ac575a97 100644
--- a/drivers/cpufreq/cpufreq_interactive.c
+++ b/drivers/cpufreq/cpufreq_interactive.c
@@ -78,7 +78,7 @@ static unsigned long sustain_load;
/*
* The minimum amount of time to spend at a frequency before we can ramp down.
*/
-#define DEFAULT_MIN_SAMPLE_TIME 20000;
+#define DEFAULT_MIN_SAMPLE_TIME 30000;
static unsigned long min_sample_time;
/*