author | Tomi Valkeinen <tomi.valkeinen@ti.com> | |
Fri, 10 Apr 2015 09:48:34 +0000 (12:48 +0300) | ||
committer | Jyri Sarha <jsarha@ti.com> | |
Mon, 13 Apr 2015 13:34:47 +0000 (16:34 +0300) | ||
commit | 1dd9c9eb49690d3169ac940f43fe63ff71ab527a | |
tree | 471d3833f5b8418302ce04913c9096417fb43740 | tree | snapshot (tar.xz tar.gz zip) |
parent | f2b8e9a2ee987d02d434f6fb31e0f825cb886afc | commit | diff |
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>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
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>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
drivers/video/fbdev/omap2/dss/dispc.c | diff | blob | history |