summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Frid <afrid@nvidia.com>2010-09-30 23:58:09 -0700
committerVarun Colbert <vcolbert@nvidia.com>2010-10-15 22:03:35 -0700
commit8ec98051794908a84024cc640330a1c5abd375ea (patch)
tree396c16688d6413dd1e70a1f0635bd36aaefe86b4
parent80e2d4752c5f291d8a63d537f89be14e25a4626c (diff)
[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 <afrid@nvidia.com> Reviewed-by: Hoang Pham <hopham@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
-rw-r--r--drivers/video/tegra/host/nvhost_acm.c2
1 files changed, 1 insertions, 1 deletions
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 <linux/err.h>
#include <linux/device.h>
-#define ACM_TIMEOUT_MSEC 2
+#define ACM_TIMEOUT_MSEC 25
void nvhost_module_busy(struct nvhost_module *mod)
{