summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--power/power_tuna.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/power/power_tuna.c b/power/power_tuna.c
index 7d06093..8fbbace 100644
--- a/power/power_tuna.c
+++ b/power/power_tuna.c
@@ -57,19 +57,16 @@ static void sysfs_write(char *path, char *s)
static void tuna_power_init(struct power_module *module)
{
- /*
- * cpufreq interactive governor: timer 20ms, min sample 60ms,
- * hispeed 700MHz at load 50%.
- */
-
sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/timer_rate",
"20000");
sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/min_sample_time",
- "60000");
+ "40000");
sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/hispeed_freq",
"700000");
+ sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/target_loads",
+ "90 920000:95 1200000:99");
sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load",
- "50");
+ "99");
sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay",
"100000");
}