video: tegra: host: Force memory bus to full when using 2d, 3d or mpe
authorColin Cross <ccross@android.com>
Fri, 14 Jan 2011 23:07:27 +0000 (15:07 -0800)
committerColin Cross <ccross@android.com>
Fri, 14 Jan 2011 23:28:21 +0000 (15:28 -0800)
Change-Id: I7138af5d26c3f406537bc4b2bc4bb052de37f7bf
Signed-off-by: Colin Cross <ccross@android.com>
drivers/video/tegra/host/nvhost_acm.c
drivers/video/tegra/host/nvhost_acm.h

index 14b2b5a6b8c1f4bd96ca0a4326467d40b4ca21a2..cf542be8a6453fe3d04fdeecced520bcfd6a0547 100644 (file)
@@ -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;
index 57dcc2989113fcefb572fab0f7381c6c6e0fe868..41f3f31dc12a96bd6e18945e41c5ca9563ecc139 100644 (file)
@@ -28,7 +28,7 @@
 #include <linux/mutex.h>
 #include <linux/clk.h>
 
-#define NVHOST_MODULE_MAX_CLOCKS 2
+#define NVHOST_MODULE_MAX_CLOCKS 3
 
 struct nvhost_module;