]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita8853aebdc0033e1e928a6268e8a2460b82bc8d2
treec4982baf5a9e8660ba78eaa8e84ecd2d5568f9d7
parentd58814229b28a31e1e6a748a1c8365f3d48f3ea4
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