Skip to content

Commit 1ebe99a

Browse files
author
Boris Brezillon
committed
drm/vc4: Call drm_atomic_helper_fake_vblank() in the commit path
Mimic what is done in drm_atomic_commit_tail() and call drm_atomic_helper_fake_vblank() so that VBLANK events are faked when the drm_crtc_state.no_vblank is true. Will be needed when we'll add support for the transposer block. Signed-off-by: Boris Brezillon <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 6fb42b6 commit 1ebe99a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/vc4/vc4_kms.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ vc4_atomic_complete_commit(struct drm_atomic_state *state)
153153

154154
drm_atomic_helper_commit_modeset_enables(dev, state);
155155

156+
drm_atomic_helper_fake_vblank(state);
157+
156158
drm_atomic_helper_commit_hw_done(state);
157159

158160
drm_atomic_helper_wait_for_flip_done(dev, state);

0 commit comments

Comments
 (0)