]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd2b6098cc0fa18642c5b528d1e97a70effa8c986
treea42fcead7aad413e5b24dee7c1f34beabf8ad792
parente7cbabe3334b1400f983e4fb96de37710c11f934
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