From ede113bec6dcd0f90746125df13c10983b044506 Mon Sep 17 00:00:00 2001 From: Todd Poynor Date: Wed, 16 Jan 2013 15:05:12 -0800 Subject: tuna: power HAL: interactive governor param updates Change-Id: If2759f25bd9f503d82ee0287c1258fa4fad2ca82 --- power/power_tuna.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'power') 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"); } -- cgit v1.1