diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2014-09-17 09:44:54 -0400 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2017-06-08 02:57:18 -0400 |
commit | e1e9733cd37908a9ba61e29154561f0c81420e06 (patch) | |
tree | e6d44c45346488469ae32b184827348ecc95c6a6 /include/video/imx-ipu-v3.h | |
parent | 16e9ab820ad43108513ec32bb18fb226df4cc7fc (diff) |
gpu: ipu-v3: Add support for double read/write reduction
Allow to skip writing odd chroma rows by setting the RDRW bit for
4:2:0 chroma subsampled formats for any IDMAC write channel. This
also allows to skip reading odd rows for the VDIC read channel.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'include/video/imx-ipu-v3.h')
-rw-r--r-- | include/video/imx-ipu-v3.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/imx-ipu-v3.h b/include/video/imx-ipu-v3.h index 8cb07680fb41..ce4c07688b13 100644 --- a/include/video/imx-ipu-v3.h +++ b/include/video/imx-ipu-v3.h | |||
@@ -250,6 +250,7 @@ struct ipu_image { | |||
250 | 250 | ||
251 | void ipu_cpmem_zero(struct ipuv3_channel *ch); | 251 | void ipu_cpmem_zero(struct ipuv3_channel *ch); |
252 | void ipu_cpmem_set_resolution(struct ipuv3_channel *ch, int xres, int yres); | 252 | void ipu_cpmem_set_resolution(struct ipuv3_channel *ch, int xres, int yres); |
253 | void ipu_cpmem_skip_odd_chroma_rows(struct ipuv3_channel *ch); | ||
253 | void ipu_cpmem_set_stride(struct ipuv3_channel *ch, int stride); | 254 | void ipu_cpmem_set_stride(struct ipuv3_channel *ch, int stride); |
254 | void ipu_cpmem_set_high_priority(struct ipuv3_channel *ch); | 255 | void ipu_cpmem_set_high_priority(struct ipuv3_channel *ch); |
255 | void ipu_cpmem_set_buffer(struct ipuv3_channel *ch, int bufnum, dma_addr_t buf); | 256 | void ipu_cpmem_set_buffer(struct ipuv3_channel *ch, int bufnum, dma_addr_t buf); |