path: root/drivers/gpu/ipu-v3/ipu-prv.h
diff options
authorLucas Stach <>2018-09-11 15:20:34 +0200
committerPhilipp Zabel <>2019-02-22 11:58:45 +0100
commit0a29b1abaf5ba86b2ef5da5a1403ff64dc0d9449 (patch)
tree89ead7c32316adc13d6b97c949b70a862e4aae93 /drivers/gpu/ipu-v3/ipu-prv.h
parenta3b22b9f11d9fbc48b0291ea92259a5a810e9438 (diff)
gpu: ipu-v3: pre: add double buffer status readback
This allows the upper layers to check if a double buffer update has been applied by the PRE or is still pending. Signed-off-by: Lucas Stach <> [ inverted logic: done -> pending] Signed-off-by: Philipp Zabel <>
Diffstat (limited to 'drivers/gpu/ipu-v3/ipu-prv.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/ipu-v3/ipu-prv.h b/drivers/gpu/ipu-v3/ipu-prv.h
index d6beee99b6b8..38622e835e95 100644
--- a/drivers/gpu/ipu-v3/ipu-prv.h
+++ b/drivers/gpu/ipu-v3/ipu-prv.h
@@ -272,6 +272,7 @@ void ipu_pre_configure(struct ipu_pre *pre, unsigned int width,
unsigned int height, unsigned int stride, u32 format,
uint64_t modifier, unsigned int bufaddr);
void ipu_pre_update(struct ipu_pre *pre, unsigned int bufaddr);
+bool ipu_pre_update_pending(struct ipu_pre *pre);
struct ipu_prg *ipu_prg_lookup_by_phandle(struct device *dev, const char *name,
int ipu_id);