]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit55d0d1a14343fa60450024f54f8af94ef24465df
treebb099e5ea51b576fe2e943f943b18b77a93b7d9b
parent5bf79d07c4cc4dde2979ccf9a4e30f653b35a211
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