summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2018-09-11 16:26:54 +0300
committerPhilipp Zabel <p.zabel@pengutronix.de>2019-02-22 13:58:45 +0300
commit4bfbd561fc7d3758873ebfc38b0043065acb77f1 (patch)
treeadf56aa76403c11da1e6823e3ac21fd19904f09d /include/video
parent0a29b1abaf5ba86b2ef5da5a1403ff64dc0d9449 (diff)
downloadlinux-4bfbd561fc7d3758873ebfc38b0043065acb77f1.tar.xz
gpu: ipu-v3: prg: add function to get channel configure status
This allows channels using the PRG to check if a requested configuration update has been applied or is still pending. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> [p.zabel@pengutronix.de: inverted logic: done -> pending] Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/imx-ipu-v3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/imx-ipu-v3.h b/include/video/imx-ipu-v3.h
index e582e8e7527a..b80b85f0d9d8 100644
--- a/include/video/imx-ipu-v3.h
+++ b/include/video/imx-ipu-v3.h
@@ -348,6 +348,7 @@ int ipu_prg_channel_configure(struct ipuv3_channel *ipu_chan,
unsigned int axi_id, unsigned int width,
unsigned int height, unsigned int stride,
u32 format, uint64_t modifier, unsigned long *eba);
+bool ipu_prg_channel_configure_pending(struct ipuv3_channel *ipu_chan);
/*
* IPU CMOS Sensor Interface (csi) functions