drm/vc4: Call drm_atomic_helper_fake_vblank() in the commit path
authorBoris Brezillon <boris.brezillon@bootlin.com>
Tue, 3 Jul 2018 07:50:21 +0000 (09:50 +0200)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Sat, 7 Jul 2018 05:54:15 +0000 (07:54 +0200)
commit1ebe99a75eeda1067c39c1c039ca9bb7e3c9c342
tree35af7ef665dcb99e1c59e44742c513fa413fa2f2
parent6fb42b6682f0d3c6ca9dc0e338c294fb92448e1d
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 <boris.brezillon@bootlin.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20180703075022.15138-8-boris.brezillon@bootlin.com
drivers/gpu/drm/vc4/vc4_kms.c