OMAPDSS: DISPC: fix row_inc for OMAP3
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 10 Apr 2015 09:48:34 +0000 (12:48 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 17 Jun 2015 12:44:28 +0000 (15:44 +0300)
commitf2aee319d95fcba3d29424aeaf6d39d4c2a7890a
treebb099e5ea51b576fe2e943f943b18b77a93b7d9b
parentab6b2582b8f931f8f324fbf7bcb8338b8fc1eded
OMAPDSS: DISPC: fix row_inc for OMAP3

pixel_inc and row_inc work differently on OMAP2/3 and OMAP4+ DSS. On
OMAP2/3 DSS, the pixel_inc is _not_ added by the HW at the end of the
line, after the last pixel, whereas on OMAP4+ it is.

The driver currently works for OMAP4+, but does not handle OMAP2/3
correctly, which leads to tilted image when row_inc is used.

This patch adds a flag to DISPC driver so that the pixel_inc is added
when required.

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