]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcabefacb7adf806e39231c5f16e48c45adadcd21
tree70649af5fe184f05b5dff6d65b8b41269f411b74
parent4c05961e8e7904b8ccd3892f2291049eb63cc1b8
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