]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1606d90343fb96a55520273dca1e6eff6b617d7a
tree5f57220b62e9ed8bc108d3a8714d8a84523e0676
parent52b9bc9738d7cc92408fa321262db7f7dc815d0a
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