drm/atomic: add drm_atomic_set_fence_for_plane()
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 7 Nov 2016 10:03:30 +0000 (19:03 +0900)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 8 Nov 2016 10:22:54 +0000 (11:22 +0100)
commit13b55664eec7b85607c4ab9d26a62b4af413a771
tree97a0790c062714f8fe8a4a5fc462d835bd370ddf
parent7abc7d47510c75dd984380ebf819616e574c9604
drm/atomic: add drm_atomic_set_fence_for_plane()

This new function should be used by drivers when setting a implicit
fence for the plane. It abstracts the fact that the user might have
chosen explicit fencing instead.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1478513013-3221-1-git-send-email-gustavo@padovan.org
drivers/gpu/drm/drm_atomic.c
include/drm/drm_atomic.h
include/drm/drm_plane.h