dc: enabled recovery from resetting
authorAdam Jiang <chaoj@nvidia.com>
Thu, 8 Mar 2012 12:34:53 +0000 (21:34 +0900)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Wed, 4 Apr 2012 16:19:27 +0000 (09:19 -0700)
commitd0b210bd39f43799bae7f4ea8ca2e71d4ac47f2b
tree8deb2fe9f6da634613c2c7f67bf63864f5f99818
parent3b693812e9c606561b92d665d2eb676616e27ac4
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