drm: Add drm_atomic_helper_wait_for_flip_done()
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 2 Jun 2017 08:32:06 +0000 (10:32 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 22 Jun 2017 13:11:51 +0000 (15:11 +0200)
commit0108648749bfa5713ed0ceede2ee091f428a29d7
tree03efe26dc3538bfee4c55894cf9874b0ccee42b7
parent2b3d860efa3461af109469e6de2eea48f6ef5cdd
drm: Add drm_atomic_helper_wait_for_flip_done()

Add an helper to wait for all page flips of an atomic state to be done.

v2:
- Pimp kerneldoc as discussed with Boris on irc
- Add missing doc for @dev.
- Use old_state for consitency with wait_for_vblanks

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> (v1)
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1496392332-8722-2-git-send-email-boris.brezillon@free-electrons.com
drivers/gpu/drm/drm_atomic_helper.c
include/drm/drm_atomic_helper.h
include/drm/drm_modeset_helper_vtables.h