diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2011-07-27 08:26:50 +0300 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-07-27 18:03:42 -0700 |
commit | 22b42d293d271638292c2cbc3da2b5ce5aef1d37 (patch) | |
tree | 993b5adec25958a1bee4c4d4cda1a542d7d151ce | |
parent | 7cdc1639522f2fcf9795b496e6d127edd36a831e (diff) |
nvhost: Disable 3D power gating due to hangs
After 3D power gating was enabled, the system has exhibited hanging sync
points. This patch disables 3D power gating for all systems.
Bug 855392,855889
Change-Id: I35c933e31223aacbc2a088793e5c799f2f1ff0ec
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/43427
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Andrew Howe <ahowe@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
-rw-r--r-- | drivers/video/tegra/host/nvhost_acm.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/video/tegra/host/nvhost_acm.c b/drivers/video/tegra/host/nvhost_acm.c index 6bc5f7105a6e..0a9c00996968 100644 --- a/drivers/video/tegra/host/nvhost_acm.c +++ b/drivers/video/tegra/host/nvhost_acm.c @@ -122,14 +122,10 @@ static const char *get_module_clk_id(const char *module, int index) return NULL; } -/* Not all hardware revisions support power gating */ +/* 3D power gating disabled as it causes syncpt hangs */ static bool _3d_powergating_disabled(void) { - int chipid = tegra_get_chipid(); - - return chipid < TEGRA_CHIPID_TEGRA3 - || (chipid == TEGRA_CHIPID_TEGRA3 - && tegra_get_revision() == TEGRA_REVISION_A01); + return 1; } int nvhost_module_init(struct nvhost_module *mod, const char *name, |