summaryrefslogtreecommitdiff
path: root/include/video/imx-ipu-v3.h
diff options
context:
space:
mode:
authorSteve Longerbeam <slongerbeam@gmail.com>2014-06-25 18:05:52 -0700
committerPhilipp Zabel <p.zabel@pengutronix.de>2014-09-02 14:55:54 +0200
commit2094b603ae59be6785e52a00d09b47b6ae910154 (patch)
tree3d81e8539269ee774bc19e4f6f218b2a59403d68 /include/video/imx-ipu-v3.h
parentc42d37ca421aa222e8f27744d4129bce726a3724 (diff)
gpu: ipu-cpmem: Add second buffer support to ipu_cpmem_set_image()
Add a second buffer physaddr to struct ipu_image, for double-buffering support. Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com> 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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/video/imx-ipu-v3.h b/include/video/imx-ipu-v3.h
index 699e0d8d135b..b519664c101e 100644
--- a/include/video/imx-ipu-v3.h
+++ b/include/video/imx-ipu-v3.h
@@ -185,7 +185,8 @@ struct ipu_rgb {
struct ipu_image {
struct v4l2_pix_format pix;
struct v4l2_rect rect;
- dma_addr_t phys;
+ dma_addr_t phys0;
+ dma_addr_t phys1;
};
void ipu_cpmem_zero(struct ipuv3_channel *ch);