From: Colin Cross Date: Fri, 14 Jan 2011 23:07:27 +0000 (-0800) Subject: video: tegra: host: Force memory bus to full when using 2d, 3d or mpe X-Git-Tag: firefly_0821_release~9833^2~58^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=684defe4fd1528cd06b9b5346f8c70469bc935de;p=firefly-linux-kernel-4.4.55.git video: tegra: host: Force memory bus to full when using 2d, 3d or mpe Change-Id: I7138af5d26c3f406537bc4b2bc4bb052de37f7bf Signed-off-by: Colin Cross --- 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;