drm/vc4: crtc: Use an union to store the page flip callback
authorMaxime Ripard <maxime@cerno.tech>
Mon, 2 May 2022 08:20:56 +0000 (10:20 +0200)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Wed, 11 May 2022 15:33:21 +0000 (16:33 +0100)
commiteaff6ac89fa089e593c0690b4ad81dc1ed00ff78
tree6c97940da2ae943e4beb5f453f759cd9109afaaa
parent84ed11d606218812895b7e541dc59a278753bd05
drm/vc4: crtc: Use an union to store the page flip callback

We'll need to extend the vc4_async_flip_state structure to rely on
another callback implementation, so let's move the current one into a
union.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/vc4/vc4_crtc.c