drm/vc4: crtc: Use an union to store the page flip callback
authorMaxime Ripard <maxime@cerno.tech>
Fri, 10 Jun 2022 11:51:44 +0000 (13:51 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 16 Jun 2022 09:07:52 +0000 (11:07 +0200)
commit2523e9dcc3be91bf9fdc0d1e542557ca00bbef42
tree14d52da7194b356480493e67504f05068bd56a88
parent257add942a477bb99bdf4bacc6190703f796dcff
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.

Reviewed-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220610115149.964394-10-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_crtc.c