nvhost: Re-enabled power gating of MPE
Terje Bergstrom [Mon, 25 Jul 2011 11:18:04 +0000 (14:18 +0300)]
Revert a change that accidentally disabled power gating of MPE.

Bug 854015,854706

Original-Change-Id: I04cc90de4fd4ead37821011a84df7331e96fc62e
Reviewed-on: http://git-master/r/43047
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R3a813002fac2cb2ee8b70042db3e61bea88e1462

drivers/video/tegra/host/nvhost_acm.c

index 0a9c009..4d14dc1 100644 (file)
@@ -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()) {