OMAPDSS: DISPC: Handle synclost errors in OMAP3
authorChandrabhanu Mahapatra <cmahapatra@ti.com>
Mon, 2 Apr 2012 15:13:17 +0000 (20:43 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 3 May 2012 13:12:57 +0000 (16:12 +0300)
commit7faa92339bbb1e6b9a80983b206642517327eb75
tree90c07ee4961a574606d0e1b86201546c6220ea1f
parentaed74b55004e1d6c7d445543ceed1d2f110969a1
OMAPDSS: DISPC: Handle synclost errors in OMAP3

In OMAP3 DISPC video overlays suffer from some undocumented horizontal position
and timing related limitations leading to SYNCLOST errors. Whenever the image
window is moved towards the right of the screen SYNCLOST errors become
frequent. Checks have been implemented to see that DISPC driver rejects
configuration exceeding above limitations.

This code was successfully tested on OMAP3. This code is written based on code
written by Ville Syrjälä <ville.syrjala@nokia.com> in Linux OMAP kernel. Ville
Syrjälä <ville.syrjala@nokia.com> had added checks for video overlay horizontal
timing and DISPC horizontal blanking length limitations.

Signed-off-by: Chandrabhanu Mahapatra <cmahapatra@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dispc.c