]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: ipu-v3: image-convert: Enable double write reduction
authorSteve Longerbeam <slongerbeam@gmail.com>
Fri, 14 Jun 2019 01:02:55 +0000 (18:02 -0700)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 14 Jun 2019 13:33:02 +0000 (15:33 +0200)
commitb0795ea6c1269208aa031dcac7b7ef15b7483074
tree74a839ba7f556df2fbd745845303546c558279a3
parentc5c3a48061b5a10bf4cfd2a61c24ad3f3cecbe0d
gpu: ipu-v3: image-convert: 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 (skip odd chroma rows).
This reduces necessary write memory bandwidth by at least 25% (more
with rotation enabled).

Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/ipu-image-convert.c