Commit 5094dea5 authored by Sean Paul's avatar Sean Paul Committed by Greg Kroah-Hartman

drm/msm: Grab a vblank reference when waiting for commit_done

[ Upstream commit 3b712e43e3876b42b38321ecf790a1f5fe59c834 ]

Similar to the atomic helpers, we should enable vblank while we're
waiting for the commit to finish. DPU needs this, MDP5 seems to work
fine without it.
Reviewed-by: default avatarAbhinav Kumar <>
Signed-off-by: default avatarSean Paul <>
Signed-off-by: default avatarRob Clark <>
Signed-off-by: default avatarSasha Levin <>
parent 81710ced
......@@ -93,7 +93,12 @@ static void msm_atomic_wait_for_commit_done(struct drm_device *dev,
if (!new_crtc_state->active)
if (drm_crtc_vblank_get(crtc))
kms->funcs->wait_for_crtc_commit_done(kms, crtc);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment