From 684defe4fd1528cd06b9b5346f8c70469bc935de Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Fri, 14 Jan 2011 15:07:27 -0800 Subject: [PATCH] video: tegra: host: Force memory bus to full when using 2d, 3d or mpe Change-Id: I7138af5d26c3f406537bc4b2bc4bb052de37f7bf Signed-off-by: Colin Cross --- drivers/video/tegra/host/nvhost_acm.c | 6 ++++++ drivers/video/tegra/host/nvhost_acm.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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; diff --git a/drivers/video/tegra/host/nvhost_acm.h b/drivers/video/tegra/host/nvhost_acm.h index 57dcc2989113..41f3f31dc12a 100644 --- a/drivers/video/tegra/host/nvhost_acm.h +++ b/drivers/video/tegra/host/nvhost_acm.h @@ -28,7 +28,7 @@ #include #include -#define NVHOST_MODULE_MAX_CLOCKS 2 +#define NVHOST_MODULE_MAX_CLOCKS 3 struct nvhost_module; -- 2.34.1