From 8ec98051794908a84024cc640330a1c5abd375ea Mon Sep 17 00:00:00 2001 From: Alex Frid Date: Thu, 30 Sep 2010 23:58:09 -0700 Subject: [ARM/tegra] nvhost: Tuned ACM timeout. Drastic reduction of ACM timeout to 2ms (from 1sec) resulted in power increase for NV omxplayer video-playback (bug 738557). The reason is that short-term scheduling does not provide enough idle time for LP2 state (CPU powered down). On the other hand, 1 sec timeout prevented core voltage scaling during Android music audio-playback (bug 735111). Hence, tuned ACM timeout to 25ms. (cherry picked from commit 32c727ae2c4f91e8d7c9c261921bb62ad14217c9) Change-Id: I96c46c43e9b3089b6a7e01db5f6d122122758c90 Reviewed-on: http://git-master.nvidia.com/r/8470 Tested-by: Aleksandr Frid Reviewed-by: Hoang Pham Reviewed-by: Yu-Huan Hsu Reviewed-by: Varun Colbert Tested-by: Varun Colbert --- drivers/video/tegra/host/nvhost_acm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/tegra/host/nvhost_acm.c b/drivers/video/tegra/host/nvhost_acm.c index adb7ae2c6da3..6514f0e85263 100644 --- a/drivers/video/tegra/host/nvhost_acm.c +++ b/drivers/video/tegra/host/nvhost_acm.c @@ -26,7 +26,7 @@ #include #include -#define ACM_TIMEOUT_MSEC 2 +#define ACM_TIMEOUT_MSEC 25 void nvhost_module_busy(struct nvhost_module *mod) { -- cgit v1.2.3