Skip to content

Commit

Permalink
omap3: Decrease cpufreq transition latency
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mturquette authored and tmlind committed Nov 11, 2009
1 parent 1ea6e66 commit b029839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/plat-omap/cpu-omap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b029839

Please sign in to comment.