drm/fence: add drm_crtc_create_fence()
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Tue, 6 Dec 2016 17:47:17 +0000 (15:47 -0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 7 Dec 2016 13:16:55 +0000 (11:16 -0200)
commit35f8cc3b9a92c661e5331d64fdfdedb518891d5c
tree4c79cc04e49363fb7614318f9cc390c45e92e6c7
parent8f34a548718ebb4becb4f829800552c48284ce9e
drm/fence: add drm_crtc_create_fence()

Instead of dealing with crtc details inside drm_atomic.c we should
just export a function that creates a new crtc fence for us and
use that.

Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1481046437-18778-1-git-send-email-gustavo@padovan.org
drivers/gpu/drm/drm_atomic.c
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_crtc_internal.h