video: tegra: gk20a: fix zcull test failure
authorJin Qian <jqian@nvidia.com>
Tue, 30 Apr 2013 23:25:28 +0000 (16:25 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:25:05 +0000 (13:25 -0700)
commit4eaa3bac8f211646d156ddc7d581562321b885c9
treed2c49a71e6698222a25b027289b7958ff1aa52f6
parent735e4f1c70060d5e18e937db42f31646f890a6cc
video: tegra: gk20a: fix zcull test failure

Restore original ctx pointer after saving golden image.
Add pmu mutex to protect gr engine enable/disable.
No longer need ELPG protection around zcull setup.

Bug 1257392

Change-Id: I9fe7c0e53ab5d19b3649285fd495d079590c4c43
Signed-off-by: Jin Qian <jqian@nvidia.com>
Reviewed-on: http://git-master/r/224394
Reviewed-by: Ken Adams <kadams@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Chao Xu <cxu@nvidia.com>
drivers/video/tegra/host/gk20a/fifo_gk20a.c
drivers/video/tegra/host/gk20a/gr_gk20a.c