media: imx: prpencvf: enable double write reduction
authorSteve Longerbeam <slongerbeam@gmail.com>
Sat, 22 Jul 2017 21:21:41 +0000 (17:21 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 8 Aug 2017 10:32:52 +0000 (06:32 -0400)
commitb54a5c2dc83a96d6a9e1b114fd47c5b5dc8e8be5
treeb1a117e96bc5b21e1d951d55d3755da4a0d233e9
parent4560cb4a0c9969260356b0ac9473c45bb1c1101d
media: imx: prpencvf: enable double write reduction

For the write channels with 4:2:0 subsampled YUV formats, avoid chroma
overdraw by only writing chroma for even lines. Reduces necessary write
memory bandwidth by at least 25% (more with rotation enabled).

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