drm/imx: ipuv3-plane: make sure x/y offsets are even in case of chroma subsampling
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 18 Oct 2016 10:30:36 +0000 (12:30 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 20 Oct 2016 12:39:38 +0000 (14:39 +0200)
commit5fb57ab328aaf313c5ad9c4c48900f632e7c6f1c
treec4982baf5a9e8660ba78eaa8e84ecd2d5568f9d7
parente73aca5184ad9fc948ba22b4d35dce11db35bb25
drm/imx: ipuv3-plane: make sure x/y offsets are even in case of chroma subsampling

Odd x/y offsets are not allowed for horizontally/vertically chroma
subsampled planar YUV formats.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Liu Ying <gnuiyl@gmail.com>
drivers/gpu/drm/imx/ipuv3-plane.c