diff options
author | Erik Gilling <konkers@android.com> | 2011-01-11 16:32:20 -0800 |
---|---|---|
committer | Erik Gilling <konkers@android.com> | 2011-01-11 16:35:08 -0800 |
commit | 4ce07d6140b09aa49bfa823edbdd182ee74fa04e (patch) | |
tree | 7c31fec41714b253891fe30805552e6c573e8462 /arch/arm/mach-tegra/include/mach/dc.h | |
parent | 8df53e45999fa918c6955d9d103d3ac26c6c5ca4 (diff) |
video: tegra: work around overlay corruption on underflows
Overlays can get their internal state corrupted during and underflow
condition. The only way to fix this state is to reset the DC. If we get
4 consecutive frames with underflows, assume we're hosed and reset.
Change-Id: Icdf61517837c8570b8de35f585075de08aa35fe7
Signed-off-by: Erik Gilling <konkers@android.com>
Cc: Michael I. Gold <gold@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/include/mach/dc.h')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/dc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/dc.h b/arch/arm/mach-tegra/include/mach/dc.h index 254b732097ef..43a9ec1e141d 100644 --- a/arch/arm/mach-tegra/include/mach/dc.h +++ b/arch/arm/mach-tegra/include/mach/dc.h @@ -101,6 +101,7 @@ struct tegra_dc_win { unsigned z; int dirty; + int underflows; struct tegra_dc *dc; struct nvmap_handle_ref *cur_handle; |