summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2012-03-05 09:02:30 +0200
committerSimone Willett <swillett@nvidia.com>2012-04-26 14:33:39 -0700
commitbc888e85389ee98c69e844b9cc14088539f7528b (patch)
tree096d0c313590b89797fa81f58a8d8b5494c4fb19 /include
parentc0df55efeec575262e8a739851b0ea364dba69fa (diff)
video: tegra: host: Reset 3D after power on
Sometimes 3D unit comes up with incorrect scissor configuration. Earlier patch added the scissor registers to the context save list, but that did not solve the problem. Remove the extra registers, and reset 3D after powering it up. Bug 939307 Change-Id: Id795f2d99ec3c6b907da2785b1816ce753af7a3f Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/87654 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Graziano Misuraca <gmisuraca@nvidia.com> Tested-by: Graziano Misuraca <gmisuraca@nvidia.com> Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com> Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nvhost.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nvhost.h b/include/linux/nvhost.h
index da5e1e6862c6..faa183d40d6d 100644
--- a/include/linux/nvhost.h
+++ b/include/linux/nvhost.h
@@ -64,6 +64,7 @@ struct nvhost_device {
bool exclusive; /* True if only one user at a time */
bool keepalive; /* Do not power gate when opened */
bool waitbasesync; /* Force sync of wait bases */
+ bool powerup_reset; /* Do a reset after power un-gating */
int powergate_ids[NVHOST_MODULE_MAX_POWERGATE_IDS];
bool can_powergate; /* True if module can be power gated */