public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] OMAP3: decrease cpufreq transition latency
@ 2009-10-29 21:02 Mike Turquette
  2009-10-29 21:14 ` Kevin Hilman
  2009-11-10  0:45 ` [APPLIED] " Tony Lindgren
  0 siblings, 2 replies; 6+ messages in thread
From: Mike Turquette @ 2009-10-29 21:02 UTC (permalink / raw)
  To: linux-omap; +Cc: Mike Turquette, Kevin Hilman, Vishwa Sripathy

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.

This patch applies against Tony's omap-fixes branch.

Signed-off-by: Mike Turquette <mturquette@ti.com>
---
 arch/arm/plat-omap/cpu-omap.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/plat-omap/cpu-omap.c b/arch/arm/plat-omap/cpu-omap.c
index 1868c0d..341235c 100644
--- a/arch/arm/plat-omap/cpu-omap.c
+++ b/arch/arm/plat-omap/cpu-omap.c
@@ -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;
 }
-- 
1.6.3.2


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-11-10  0:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-29 21:02 [PATCH] OMAP3: decrease cpufreq transition latency Mike Turquette
2009-10-29 21:14 ` Kevin Hilman
2009-10-29 21:47   ` Mike Turquette
2009-10-29 21:38     ` Kevin Hilman
2009-11-03 17:08   ` Tony Lindgren
2009-11-10  0:45 ` [APPLIED] " Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox