gpu: ipu-v3: pre: add double buffer status readback
authorLucas Stach <l.stach@pengutronix.de>
Tue, 11 Sep 2018 13:20:34 +0000 (15:20 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 22 Feb 2019 10:58:45 +0000 (11:58 +0100)
commit0a29b1abaf5ba86b2ef5da5a1403ff64dc0d9449
tree89ead7c32316adc13d6b97c949b70a862e4aae93
parenta3b22b9f11d9fbc48b0291ea92259a5a810e9438
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 <l.stach@pengutronix.de>
[p.zabel@pengutronix.de: inverted logic: done -> pending]
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/ipu-pre.c
drivers/gpu/ipu-v3/ipu-prv.h