From 62645c1c8f2bc274263c8c8a63c3479c2c4182d9 Mon Sep 17 00:00:00 2001 From: Zhijun He Date: Thu, 28 Jul 2011 19:13:25 -0700 Subject: nvhost: Re-enabled power gating of MPE Revert a change that accidentally disabled power gating of MPE. (cherry-pick from http://git-master/r/#change,43047) Bug 854015,854706 Change-Id: Ia56cd22ec44cb4d9fce7ae092485d949b2dc71b5 Reviewed-on: http://git-master/r/43858 Reviewed-by: Zhijun He Tested-by: Zhijun He Reviewed-by: Ryan Wong --- drivers/video/tegra/host/nvhost_acm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/video/tegra/host/nvhost_acm.c b/drivers/video/tegra/host/nvhost_acm.c index 0a9c00996968..4d14dc1093dd 100644 --- a/drivers/video/tegra/host/nvhost_acm.c +++ b/drivers/video/tegra/host/nvhost_acm.c @@ -172,7 +172,8 @@ int nvhost_module_init(struct nvhost_module *mod, const char *name, #ifdef CONFIG_ARCH_TEGRA_3x_SOC mod->powergate_id2 = TEGRA_POWERGATE_3D1; #endif - } + } else if (strcmp(name, "mpe") == 0) + mod->powergate_id = TEGRA_POWERGATE_MPE; if (mod->powergate_id == TEGRA_POWERGATE_3D && _3d_powergating_disabled()) { -- cgit v1.2.3