Skip to content

Commit

Permalink
SmartassH3: tuned governor
Browse files Browse the repository at this point in the history
  • Loading branch information
garwedgess committed Jul 4, 2013
1 parent bd8c064 commit cb09738
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions drivers/cpufreq/cpufreq_smartassH3.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
* towards the ideal frequency and slower after it has passed it. Similarly,
* lowering the frequency towards the ideal frequency is faster than below it.
*/
#define DEFAULT_AWAKE_IDEAL_FREQ 768000
#define DEFAULT_AWAKE_IDEAL_FREQ 576000
static unsigned int awake_ideal_freq;

/*
Expand All @@ -62,27 +62,27 @@ static unsigned int sleep_ideal_freq;
* Zero disables and causes to always jump straight to max frequency.
* When below the ideal freqeuncy we always ramp up to the ideal freq.
*/
#define DEFAULT_RAMP_UP_STEP 128000
#define DEFAULT_RAMP_UP_STEP 100000
static unsigned int ramp_up_step;

/*
* Freqeuncy delta when ramping down below the ideal freqeuncy.
* Zero disables and will calculate ramp down according to load heuristic.
* When above the ideal freqeuncy we always ramp down to the ideal freq.
*/
#define DEFAULT_RAMP_DOWN_STEP 128000
#define DEFAULT_RAMP_DOWN_STEP 100000
static unsigned int ramp_down_step;

/*
* CPU freq will be increased if measured load > max_cpu_load;
*/
#define DEFAULT_MAX_CPU_LOAD 50
#define DEFAULT_MAX_CPU_LOAD 75
static unsigned long max_cpu_load;

/*
* CPU freq will be decreased if measured load < min_cpu_load;
*/
#define DEFAULT_MIN_CPU_LOAD 25
#define DEFAULT_MIN_CPU_LOAD 45
static unsigned long min_cpu_load;

/*
Expand All @@ -103,7 +103,7 @@ static unsigned long down_rate_us;
* The frequency to set when waking up from sleep.
* When sleep_ideal_freq=0 this will have no effect.
*/
#define DEFAULT_SLEEP_WAKEUP_FREQ 768000
#define DEFAULT_SLEEP_WAKEUP_FREQ 576000
static unsigned int sleep_wakeup_freq;

/*
Expand Down

0 comments on commit cb09738

Please sign in to comment.