drm/msm/dpu: unwind async commit handling
It attempted to avoid fps drops in the presence of cursor updates. But it is racing, and can result in hw updates after flush before vblank, which leads to underruns. Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Sean Paul <sean@poorly.run> Signed-off-by: Rob Clark <robdclark@chromium.org>
This commit is contained in:
@@ -67,8 +67,7 @@ void msm_atomic_commit_tail(struct drm_atomic_state *state)
|
||||
kms->funcs->commit(kms, state);
|
||||
}
|
||||
|
||||
if (!state->legacy_cursor_update)
|
||||
msm_atomic_wait_for_commit_done(dev, state);
|
||||
msm_atomic_wait_for_commit_done(dev, state);
|
||||
|
||||
kms->funcs->complete_commit(kms, state);
|
||||
|
||||
|
Reference in New Issue
Block a user