]> git.baikalelectronics.ru Git - kernel.git/commit
drm: add crtc helper drm_crtc_from_index()
authorShawn Guo <shawn.guo@linaro.org>
Thu, 29 Dec 2016 12:41:28 +0000 (20:41 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 30 Dec 2016 11:11:59 +0000 (12:11 +0100)
commit451741cce03cfe816365209e43ede8819e47e26a
tree71d5df4c60b552f0dc761f5107fb61e5520a8e25
parentc08453b30c15f5eb726549b720cb2e01a4efb06c
drm: add crtc helper drm_crtc_from_index()

It adds a crtc helper drm_crtc_from_index() to find the registered CRTC
with a given index, just like drm_plane_from_index().

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1483015290-16660-2-git-send-email-shawnguo@kernel.org
drivers/gpu/drm/drm_crtc.c
include/drm/drm_crtc.h