media: imx: csi: enable double write reduction
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 19 Jul 2017 16:34:20 +0000 (12:34 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 26 Jul 2017 17:37:18 +0000 (13:37 -0400)
commit14330d7f08bab92029f0c95c70fe200e8d76b31e
treef1819b371d6beec4364f7c96c204dc506a9a0298
parent9e6b1dae37810bec45c80d478636b254db377eaa
media: imx: csi: enable double write reduction

For 4:2:0 subsampled YUV formats, avoid chroma overdraw by only writing
chroma for even lines. Reduces necessary write memory bandwidth by 25%.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/imx/imx-media-csi.c