drm: Allow drivers to register cursor planes with crtc
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 10 Jun 2014 15:28:11 +0000 (08:28 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 13 Jun 2014 15:45:22 +0000 (17:45 +0200)
commitfc1d3e44ef7c1db93384150fdbf8948dcf949f15
tree7ce7b24afa62f4cc5e4e4a7ebcc3263dbb6e40fe
parent17cfd91f3985f23f92b8c7cba3307a2b630feb95
drm: Allow drivers to register cursor planes with crtc

Universal plane support had placeholders for cursor planes, but didn't
actually do anything with them.  Save the cursor plane reference inside
the crtc and update the cursor plane parameter from void* to drm_plane.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Pallavi G<pallavi.g@intel.com>
Acked-by: Dave Airlie <airlied@linux.ie>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc.c
include/drm/drm_crtc.h