drm/vc4: hvs: Remove dlist setup duplication
authorMaxime Ripard <maxime@cerno.tech>
Mon, 6 Dec 2021 15:17:56 +0000 (16:17 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:34 +0000 (16:04 +0000)
commit02a83e97dc813eb84f48d7ee939c2d626ed70d28
tree70ba030cb1aeb2402a5d26f86690a3fef8bb6bea
parentd9f96e898624c2c02adde7e223fc79680ef4e009
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>
drivers/gpu/drm/vc4/vc4_hvs.c