]> asedeno.scripts.mit.edu Git - linux.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)
commit6d1b81d8e25d81b4ed4363fa3e7d70aa563b7112
tree71d5df4c60b552f0dc761f5107fb61e5520a8e25
parentb5c3714fe8789745521d8351d75049b9c6a0d26b
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