diff options
author | Matt Roper <matthew.d.roper@intel.com> | 2014-06-10 11:28:11 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-06-13 11:45:22 -0400 |
commit | fc1d3e44ef7c1db93384150fdbf8948dcf949f15 (patch) | |
tree | 7ce7b24afa62f4cc5e4e4a7ebcc3263dbb6e40fe /include/drm/drm_crtc.h | |
parent | 17cfd91f3985f23f92b8c7cba3307a2b630feb95 (diff) |
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/drm_crtc.h')
-rw-r--r-- | include/drm/drm_crtc.h | 2 |
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 { | |||
856 | extern int drm_crtc_init_with_planes(struct drm_device *dev, | 856 | extern int drm_crtc_init_with_planes(struct drm_device *dev, |
857 | struct drm_crtc *crtc, | 857 | struct drm_crtc *crtc, |
858 | struct drm_plane *primary, | 858 | struct drm_plane *primary, |
859 | void *cursor, | 859 | struct drm_plane *cursor, |
860 | const struct drm_crtc_funcs *funcs); | 860 | const struct drm_crtc_funcs *funcs); |
861 | extern int drm_crtc_init(struct drm_device *dev, | 861 | extern int drm_crtc_init(struct drm_device *dev, |
862 | struct drm_crtc *crtc, | 862 | struct drm_crtc *crtc, |