aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/vc4/vc4_kms.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/gpu/drm/vc4/vc4_kms.c b/drivers/gpu/drm/vc4/vc4_kms.c
index 8a411e5f8776..91239b0a4fa0 100644
--- a/drivers/gpu/drm/vc4/vc4_kms.c
+++ b/drivers/gpu/drm/vc4/vc4_kms.c
@@ -153,18 +153,9 @@ vc4_atomic_complete_commit(struct drm_atomic_state *state)
153 153
154 drm_atomic_helper_commit_modeset_enables(dev, state); 154 drm_atomic_helper_commit_modeset_enables(dev, state);
155 155
156 /* Make sure that drm_atomic_helper_wait_for_vblanks()
157 * actually waits for vblank. If we're doing a full atomic
158 * modeset (as opposed to a vc4_update_plane() short circuit),
159 * then we need to wait for scanout to be done with our
160 * display lists before we free it and potentially reallocate
161 * and overwrite the dlist memory with a new modeset.
162 */
163 state->legacy_cursor_update = false;
164
165 drm_atomic_helper_commit_hw_done(state); 156 drm_atomic_helper_commit_hw_done(state);
166 157
167 drm_atomic_helper_wait_for_vblanks(dev, state); 158 drm_atomic_helper_wait_for_flip_done(dev, state);
168 159
169 drm_atomic_helper_cleanup_planes(dev, state); 160 drm_atomic_helper_cleanup_planes(dev, state);
170 161