summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2014-06-10 08:28:11 -0700
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-06-13 17:45:22 +0200
commitfc1d3e44ef7c1db93384150fdbf8948dcf949f15 (patch)
tree7ce7b24afa62f4cc5e4e4a7ebcc3263dbb6e40fe /include/drm
parent17cfd91f3985f23f92b8c7cba3307a2b630feb95 (diff)
downloadlinux-fc1d3e44ef7c1db93384150fdbf8948dcf949f15.tar.gz
linux-fc1d3e44ef7c1db93384150fdbf8948dcf949f15.tar.xz
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>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_crtc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index b8c7a9a8cb6b..4ee7e26a012f 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -856,7 +856,7 @@ struct drm_prop_enum_list {
extern int drm_crtc_init_with_planes(struct drm_device *dev,
struct drm_crtc *crtc,
struct drm_plane *primary,
- void *cursor,
+ struct drm_plane *cursor,
const struct drm_crtc_funcs *funcs);
extern int drm_crtc_init(struct drm_device *dev,
struct drm_crtc *crtc,