kernel-fxtec-pro1x/drivers/video/omap2
Tomi Valkeinen f55fdcfe88 OMAP: DSS2: adjust YUV overlay width to be even
An overlay in YUV mode has to have an even input width, because data for
each pixel is divided between two adjacent pixels.

The algorithm handling manual update overlay adjusting may adjust the
overlay width to be odd.

This patch adds a check for that situation, and makes the width even.
The width is increased by one if it is possible (the unadjusted input
width is larger than the width), and decreased by one if increasing is
not possible.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
2010-08-05 16:52:11 +03:00
..
displays OMAP: DSS2: Taal: Optimize enable_te, rotate, mirror when value unchanged 2010-08-05 16:52:07 +03:00
dss OMAP: DSS2: adjust YUV overlay width to be even 2010-08-05 16:52:11 +03:00
omapfb OMAP: DSS2: OMAPFB: Fix sysfs mirror input check 2010-08-05 16:52:10 +03:00
Kconfig OMAP: DSS2: Add generic and Sharp panel drivers 2009-12-09 18:19:42 +02:00
Makefile OMAP: DSS2: Add generic and Sharp panel drivers 2009-12-09 18:19:42 +02:00
vram.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
vrfb.c