drm/vc4: hvs: Remove dlist setup duplication
authorMaxime Ripard <maxime@cerno.tech>
Thu, 31 Mar 2022 14:37:41 +0000 (16:37 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 6 Apr 2022 13:18:01 +0000 (15:18 +0200)
commita7609858bfcd6a700853f669719764991ac15120
tree8b8f5e64f060e51bd0eed35ffef1be04e310c674
parente418639d19f5f3d4dbc541fd3d40f921f202d356
drm/vc4: hvs: Remove dlist setup duplication

Setting the DISPLISTx register needs to occur in every case, and we
don't need to protect the register using the event_lock, so we can just
move it after the if branches and simplify a bit the function.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://lore.kernel.org/r/20220331143744.777652-5-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_hvs.c