[PATCH 1/3] drm: add crtc helper drm_crtc_from_index()

2016-12-30 Thread Daniel Vetter
On Thu, Dec 29, 2016 at 08:41:28PM +0800, Shawn Guo wrote: > From: Shawn Guo > > 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 > --- > drivers/gpu/drm/drm_crtc.c | 20

[PATCH 1/3] drm: add crtc helper drm_crtc_from_index()

2016-12-29 Thread Shawn Guo
From: Shawn Guo 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 --- drivers/gpu/drm/drm_crtc.c | 20 include/drm/drm_crtc.h | 1 + 2 files changed, 21 insertions(+)