diff options
author | Maxime Ripard <maxime@cerno.tech> | 2022-03-31 16:37:41 +0200 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2022-04-06 15:18:01 +0200 |
commit | a7609858bfcd6a700853f669719764991ac15120 (patch) | |
tree | 8b8f5e64f060e51bd0eed35ffef1be04e310c674 /drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | |
parent | e418639d19f5f3d4dbc541fd3d40f921f202d356 (diff) |
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
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c')
0 files changed, 0 insertions, 0 deletions