]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc72788da433667ae8c599e8094c5b3b828435d27
tree4c79cc04e49363fb7614318f9cc390c45e92e6c7
parenta29c65d9eefd1ddb8576739b05a91ea04cef7959
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