]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Adding drm helper function drm_plane_from_index().
authorChandra Konduru <chandra.konduru@intel.com>
Fri, 10 Apr 2015 00:36:21 +0000 (17:36 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 Apr 2015 06:56:21 +0000 (08:56 +0200)
commitb50b565918a5b52b34789816011309e19dc998aa
tree3c2b72230131843b2a4b244fa5c8fb60dc3acadd
parent5bce1a271c6110c176c19f25604e1a79a3ce2dd1
drm: Adding drm helper function drm_plane_from_index().

Adding drm helper function to return plane pointer from index where
index is a returned by drm_plane_index.

v2:
-avoided nested loop by adding loop count (Daniel)

v3:
-updated patch header prefix to 'drm' (Matt)

v4:
-fixed a kerneldoc issue (kbuild-internal)

Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Chandra Konduru <chandra.konduru@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc.c
include/drm/drm_crtc.h