video: tegra: Prevent hang when output disabled
authorRobert Morell <rmorell@nvidia.com>
Fri, 4 Mar 2011 04:54:09 +0000 (20:54 -0800)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:48:12 +0000 (21:48 -0800)
commit63a79e26218daabc625acf3a21224be2ad6624ed
tree5974427b9f6433059b0bf66e926061e3702225ab
parentcd42c053c598d720c12ca8d2e13715ee490f6717
video: tegra: Prevent hang when output disabled

This adds code to track when the dc is disabled and prevent flips or
cursor moves.  This prevents system hangs since the dc is powergated
when it's disabled.

bug 818525

Original-Change-Id: I061da1f6a831fa14a216520e603e0fbc5dbb0437
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40519
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rb648ef48bd3528344cf090c49093dcb258c20150
arch/arm/mach-tegra/include/mach/tegra_dc_ext.h
drivers/video/tegra/dc/dc.c
drivers/video/tegra/dc/ext/cursor.c
drivers/video/tegra/dc/ext/dev.c
drivers/video/tegra/dc/ext/tegra_dc_ext_priv.h