drm/komeda: Correct the sequence of hw_done() and flip_done()
Subsystems (4)
PATCH 1/1 drm/komeda: Correct the sequence of hw_done() and flip_done()
From: "James Qian Wang (Arm Technology China)" <[email protected]>
Komeda HW has no special, program the update to HW is done first, then flip happens. So correct the sequence to hw_done() first then flip_done().
Reported-by Daniel Vetter <[email protected]>
Signed-off-by James Qian Wang <[email protected]>
--- drivers/gpu/drm/arm/display/komeda/komeda_kms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/arm/display/komeda/komeda_kms.c +2 -2
@@ -81,10 +81,10 @@ static void komeda_kms_commit_tail(struct drm_atomic_state *old_state)drm_atomic_helper_commit_modeset_enables (dev, old_state); -drm_atomic_helper_wait_for_flip_done (dev, old_state); -drm_atomic_helper_commit_hw_done (old_state); +drm_atomic_helper_wait_for_flip_done (dev, old_state); +drm_atomic_helper_cleanup_planes (dev, old_state); }
Signature · 6 lines
2.25.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 8 lines · James Qian Wang
From: "James Qian Wang (Arm Technology China)" <[email protected]>
Komeda HW has no special, program the update to HW is done first, then flip happens. So correct the sequence to
hw_done()first thenflip_done().Reported-by Daniel Vetter <[email protected]>Signed-off-by James Qian Wang <[email protected]>
Acked-by Daniel Vetter <[email protected]>
Quoted 24 lines
--- drivers/gpu/drm/arm/display/komeda/komeda_kms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/arm/display/komeda/komeda_kms.c +2
-2@@ -81,10 +81,10 @@ static void komeda_kms_commit_tail(struct drm_atomic_state *old_state)drm_atomic_helper_commit_modeset_enables (dev, old_state); -drm_atomic_helper_wait_for_flip_done (dev, old_state); -drm_atomic_helper_commit_hw_done (old_state); +drm_atomic_helper_wait_for_flip_done (dev, old_state); +drm_atomic_helper_cleanup_planes (dev, old_state); }Signature · 1 line
2.25.1
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel