aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2013-06-03 09:11:42 -0400
committerDave Airlie <airlied@gmail.com>2013-06-17 05:42:46 -0400
commit778ad903f951a45a309a5a70dbdcf38eccabeaf0 (patch)
tree820d3bd434493b7a055798eeb30e2b879dd42c96 /include/drm
parentb72447cdf1298b46af87d754bfb5d3db6eb7dbfe (diff)
drm: Remove some unused stuff from drm_plane
There's a bunch of unused members inside drm_plane, bloating the size of the structure needlessly. Eliminate them. v2: Remove all of it from kernel-doc too Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Dave Airlie <airlied@gmail.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_crtc.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index da137e732ac2..9779ea11e63d 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -654,11 +654,7 @@ struct drm_plane_funcs {
654 * @format_count: number of formats supported 654 * @format_count: number of formats supported
655 * @crtc: currently bound CRTC 655 * @crtc: currently bound CRTC
656 * @fb: currently bound fb 656 * @fb: currently bound fb
657 * @gamma_size: size of gamma table
658 * @gamma_store: gamma correction table
659 * @enabled: enabled flag
660 * @funcs: helper functions 657 * @funcs: helper functions
661 * @helper_private: storage for drver layer
662 * @properties: property tracking for this plane 658 * @properties: property tracking for this plane
663 */ 659 */
664struct drm_plane { 660struct drm_plane {
@@ -674,14 +670,7 @@ struct drm_plane {
674 struct drm_crtc *crtc; 670 struct drm_crtc *crtc;
675 struct drm_framebuffer *fb; 671 struct drm_framebuffer *fb;
676 672
677 /* CRTC gamma size for reporting to userspace */
678 uint32_t gamma_size;
679 uint16_t *gamma_store;
680
681 bool enabled;
682
683 const struct drm_plane_funcs *funcs; 673 const struct drm_plane_funcs *funcs;
684 void *helper_private;
685 674
686 struct drm_object_properties properties; 675 struct drm_object_properties properties;
687}; 676};