summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 01edb98)
raw | patch | inline | side by side (parent: 01edb98)
author | Sean Paul <seanpaul@chromium.org> | |
Wed, 3 Oct 2018 20:22:31 +0000 (16:22 -0400) | ||
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
Fri, 21 Dec 2018 13:11:35 +0000 (14:11 +0100) |
[ 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: Abhinav Kumar <abhinavk@codeaurora.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
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: Abhinav Kumar <abhinavk@codeaurora.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/msm/msm_atomic.c | patch | blob | history |
index 73bae382eac3acad17460a782e6422ec992a7963..5c58a98f67c05f93ae3f9edcd6f73fa4b5deb244 100644 (file)
if (old_state->legacy_cursor_update)
continue;
+ if (drm_crtc_vblank_get(crtc))
+ continue;
+
kms->funcs->wait_for_crtc_commit_done(kms, crtc);
+
+ drm_crtc_vblank_put(crtc);
}
}