drm/vc4: hvs: Move the dlist setup to its own function
authorMaxime Ripard <maxime@cerno.tech>
Thu, 31 Mar 2022 14:37:42 +0000 (16:37 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 6 Apr 2022 13:18:01 +0000 (15:18 +0200)
commit4dfcaa09164eabe7c141e74c7bc34add0fea360c
tree5f57220b62e9ed8bc108d3a8714d8a84523e0676
parenta7609858bfcd6a700853f669719764991ac15120
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>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://lore.kernel.org/r/20220331143744.777652-6-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_hvs.c