summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/host/nvhost_acm.c
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2011-01-14 15:07:27 -0800
committerColin Cross <ccross@android.com>2011-01-14 15:28:21 -0800
commit684defe4fd1528cd06b9b5346f8c70469bc935de (patch)
treeccd4e0b524387d49ce1ea32e96ddd8e010299670 /drivers/video/tegra/host/nvhost_acm.c
parent11dc248e041ad9bd39a9c057ad47f8ea58458057 (diff)
video: tegra: host: Force memory bus to full when using 2d, 3d or mpe
Change-Id: I7138af5d26c3f406537bc4b2bc4bb052de37f7bf Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'drivers/video/tegra/host/nvhost_acm.c')
-rw-r--r--drivers/video/tegra/host/nvhost_acm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/video/tegra/host/nvhost_acm.c b/drivers/video/tegra/host/nvhost_acm.c
index 14b2b5a6b8c1..cf542be8a645 100644
--- a/drivers/video/tegra/host/nvhost_acm.c
+++ b/drivers/video/tegra/host/nvhost_acm.c
@@ -99,6 +99,12 @@ static const char *get_module_clk_id(const char *module, int index)
{
if (index == 1 && strcmp(module, "gr2d") == 0)
return "epp";
+ else if (index == 2 && strcmp(module, "gr2d") == 0)
+ return "emc";
+ else if (index == 1 && strcmp(module, "gr3d") == 0)
+ return "emc";
+ else if (index == 1 && strcmp(module, "mpe") == 0)
+ return "emc";
else if (index == 0)
return module;
return NULL;