video: tegra: host: Reset 3D after power on
authorTerje Bergstrom <tbergstrom@nvidia.com>
Mon, 5 Mar 2012 07:02:30 +0000 (09:02 +0200)
committerSimone Willett <swillett@nvidia.com>
Thu, 26 Apr 2012 21:33:39 +0000 (14:33 -0700)
commitbc888e85389ee98c69e844b9cc14088539f7528b
tree096d0c313590b89797fa81f58a8d8b5494c4fb19
parentc0df55efeec575262e8a739851b0ea364dba69fa
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>
drivers/video/tegra/host/gr3d/gr3d_t30.c
drivers/video/tegra/host/nvhost_acm.c
drivers/video/tegra/host/t30/t30.c
include/linux/nvhost.h