gpu: ipu-v3: prg: wait for double buffers to be filled on channel startup
authorLucas Stach <l.stach@pengutronix.de>
Fri, 24 Mar 2017 17:01:53 +0000 (18:01 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 11 Oct 2017 10:04:23 +0000 (12:04 +0200)
commit263c3b8044f9c9356a34fdb2640b52d27e378f9c
treea42fcead7aad413e5b24dee7c1f34beabf8ad792
parentcda77556447c782b3c9c068f81ef58136cb487c3
gpu: ipu-v3: prg: wait for double buffers to be filled on channel startup

Wait for both double buffer to be filled when first starting a channel.
This makes channel startup a lot more reliable, probably because it allows
the internal state machine to settle before the requests from the IPU are
coming in.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
[p.zabel@pengutronix.de: rebased before switch to runtime PM]
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/ipu-prg.c