diff options
author | Roger Hsieh <rhsieh@nvidia.com> | 2011-07-11 14:42:40 +0800 |
---|---|---|
committer | Niket Sirsi <nsirsi@nvidia.com> | 2011-07-14 13:12:52 -0700 |
commit | 7cf8c4eb8e0e38c1e75db9da53b0b3163230275b (patch) | |
tree | af74081f20039a605ea4cae7da40af747d15f6fd /drivers | |
parent | f291523b2976c118ed51bda35b6d9228272df994 (diff) |
arm: tegra: correct 3D power gate WAR.
3D power gate should be always disabled to keep the power. Set T20
enabled by default.
Bug 843271
Change-Id: I17745e37436414b3d5f905eb01e347743a012830
Reviewed-on: http://git-master/r/40342
Reviewed-by: Ching Kuang (Roger) Hsieh <rhsieh@nvidia.com>
Tested-by: Ching Kuang (Roger) Hsieh <rhsieh@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>
Reviewed-by: ChihJen Hsu <chhsu@nvidia.com>
Reviewed-by: Yu-Fong (Foster) Cho <ycho@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Diffstat (limited to 'drivers')
-rwxr-xr-x[-rw-r--r--] | drivers/video/tegra/host/nvhost_acm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/tegra/host/nvhost_acm.c b/drivers/video/tegra/host/nvhost_acm.c index c2152287506f..b9f4dc5b4b6a 100644..100755 --- a/drivers/video/tegra/host/nvhost_acm.c +++ b/drivers/video/tegra/host/nvhost_acm.c @@ -32,7 +32,6 @@ #define ACM_TIMEOUT 1*HZ -#define DISABLE_3D_POWERGATING #define DISABLE_MPE_POWERGATING void nvhost_module_busy(struct nvhost_module *mod) @@ -151,7 +150,7 @@ int nvhost_module_init(struct nvhost_module *mod, const char *name, mod->powered = false; mod->powergate_id = get_module_powergate_id(name); -#ifdef DISABLE_3D_POWERGATING +#if CONFIG_DISABLE_3D_POWERGATING /* * It is possible for the 3d block to generate an invalid memory * request during the power up sequence in some cases. Workaround |