linux/drivers/video/omap2
Archit Taneja c35eeb2e80 OMAPDSS: DISPC: Configure doublestride for NV12 when using 2D Tiler buffers
When using a DISPC video pipeline to a fetch a NV12 buffer in a 2D container, we
need to set set a doublestride bit in the video pipe's ATTRIBUTES register. This
is needed because the stride for the UV plane(using a 16 bit Tiler container) is
double the stride for the Y plane(using a 8 bit Tiler container) for the 0 or
180 degree views. The ROW_INC register is meant for the Y plane, and the HW will
calculate the row increment needed for the UV plane by using double the stride
value based on whether this bit is set or not.

Set the bit when we are using a 2D Tiler buffer and when rotation is 0 or 180
degrees. The stride value is the same for 90 and 270 degree Tiler views, hence
the bit shouldn't be set.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2013-04-10 15:02:53 +03:00
..
displays OMAPDSS: tpo-td043 panel: fix data passing between SPI/DSS parts 2013-03-22 10:14:32 +02:00
dss OMAPDSS: DISPC: Configure doublestride for NV12 when using 2D Tiler buffers 2013-04-10 15:02:53 +03:00
omapfb Revert "OMAPFB: simplify locking" 2012-12-13 13:19:05 +02:00
Kconfig ARM: OMAP: Fix drivers to depend on omap for internal devices 2012-12-16 15:23:37 -08:00
Makefile OMAP: remove vram allocator 2012-11-13 09:52:41 +02:00
vrfb.c video: Convert to devm_ioremap_resource() 2013-01-22 11:41:58 -08:00