OMAPDSS: DISPC: Don't set chroma resampling bit for writeback
authorArchit Taneja <archit@ti.com>
Mon, 16 Jul 2012 11:07:45 +0000 (16:37 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 26 Sep 2012 11:58:50 +0000 (14:58 +0300)
commit2a5561b1f7a2c12db912b0d3c5fc830817d413a9
tree70649af5fe184f05b5dff6d65b8b41269f411b74
parentf92afae2af702d209ac86bdb7642edb2f10bf8f3
OMAPDSS: DISPC: Don't set chroma resampling bit for writeback

The bit YUVCHROMARESAMPLING isn't there for writeback in DISPC_WB_ATTRIBUTES2.
It isn't there because we don't upsample chroma like for video pipelines, we
downsample chroma in writeback to get YUV422 or NV12 formats from the YUV444
input.

Ignore this bit in dispc_ovl_set_scaling_uv() if the plane is OMAP_DSS_WB.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/dispc.c