drm/vc4: hvs: Move the dlist setup to its own function
authorMaxime Ripard <maxime@cerno.tech>
Mon, 6 Dec 2021 15:31:33 +0000 (16:31 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:34 +0000 (16:04 +0000)
commitf729c2d3e1768e9818573c5d4d8654f98bce5d46
tree5160ac7974d21587142436ca0cec44ef9bd29536
parent02a83e97dc813eb84f48d7ee939c2d626ed70d28
drm/vc4: hvs: Move the dlist setup to its own function

The vc4_hvs_update_dlist function mostly deals with setting up the
vblank events and setting up the dlist entry pointer to our current
active one.

We'll want to do the former separately from the vblank handling in later
patches, so let's move it to a function of its own.

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