]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitebf8898c5957bfd9f922713c51f59d823ad63533
tree90c07ee4961a574606d0e1b86201546c6220ea1f
parentf2b626bf4d6fb995dcf02ce8e331a41b128e0a28
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