drm: rcar-du: Register a completion callback with VSP1

The VSP1 performs operations asyncronously to the DU, and in the event
that a operation is delayed, a race can appear such that the VSP
completes a frame later.

To mitigate this, track the sequence counters and only allow page flips
after the VSP has completed its processing.

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
3 files changed