dc: enabled recovery from resetting
authorAdam Jiang <chaoj@nvidia.com>
Thu, 8 Mar 2012 12:34:53 +0000 (21:34 +0900)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 18 Apr 2012 04:49:33 +0000 (09:49 +0530)
commite8a9d51c46806fc815debab8ba56e5e8acc540e7
tree26da874485774ce80c37437317255399b073a8ef
parentf17083d579457eb6c1d96dbbabcc59f83edb4f18
dc: enabled recovery from resetting

Enabled recovery of DC from resetting. When underflow triggered serveral
times(current > 4 for tegra2), DC driver will reset itself to prevent
data corruption. Reopend nvhost connection when resetting finished. That
helps system to show frames instead of a blank screen again.

Fixed Bug 936613

Change-Id: I314c37258a4a446dc07167ac60d0420e79a5fb2d
Signed-off-by: Adam Jiang <chaoj@nvidia.com>
Reviewed-on: http://git-master/r/89406
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
drivers/video/tegra/dc/dc.c