summaryrefslogtreecommitdiff
path: root/drivers/video/kyro
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2013-03-26 17:45:24 +0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-04-10 16:02:53 +0400
commitc35eeb2e80a4dd3aa1a4ceac8f74f4c4e61f6463 (patch)
treef7e06461e6f8231588afc1ccf4024d756cb74748 /drivers/video/kyro
parent3729a70b5837a60d736e8e5edb116b8eecd1bedb (diff)
downloadlinux-c35eeb2e80a4dd3aa1a4ceac8f74f4c4e61f6463.tar.xz
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>
Diffstat (limited to 'drivers/video/kyro')
0 files changed, 0 insertions, 0 deletions