omap3: Decrease cpufreq transition latency
authorMike Turquette <mturquette@gmail.com>
Wed, 11 Nov 2009 19:00:38 +0000 (11:00 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 11 Nov 2009 22:59:09 +0000 (14:59 -0800)
Adjust OMAP3 frequency transition latency from 10,000,000uS to a more
reasonable 300,000uS.  This causes ondemand and conservative governors to
sample CPU load more often resulting in more responsive behavior.

Tested on Android 2.6.29; using this value and conservative governor, CORE
power consumption on Zoom2 was comparable to the old and unresponsive
10,000,000uS value while UI responsiveness was greatly improved.

Signed-off-by: Mike Turquette <mturquette@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/cpu-omap.c

index 1868c0d8f9b5c9a6db2fbdc263a1fa4570c4e656..341235c278acbdcffe93a61387832a2f3e74e053 100644 (file)
@@ -127,7 +127,7 @@ static int __init omap_cpu_init(struct cpufreq_policy *policy)
        }
 
        /* FIXME: what's the actual transition time? */
-       policy->cpuinfo.transition_latency = 10 * 1000 * 1000;
+       policy->cpuinfo.transition_latency = 300 * 1000;
 
        return 0;
 }