summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhijun He <zhhe@nvidia.com>2011-07-28 19:13:25 -0700
committerRyan Wong <ryanw@nvidia.com>2011-07-28 19:37:13 -0700
commit62645c1c8f2bc274263c8c8a63c3479c2c4182d9 (patch)
treeb28a88850d40b608748f967b2ca8a5c75e24c72d
parentb7deb97884086b1856beaa1af9535c98916df4bb (diff)
nvhost: Re-enabled power gating of MPEtegra-12r5.0
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 <zhhe@nvidia.com> Tested-by: Zhijun He <zhhe@nvidia.com> Reviewed-by: Ryan Wong <ryanw@nvidia.com>
-rw-r--r--drivers/video/tegra/host/nvhost_acm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/tegra/host/nvhost_acm.c b/drivers/video/tegra/host/nvhost_acm.c
index 0a9c009..4d14dc1 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()) {