Remove two unused fields from this struct and cleanup/correct the comments.

Signed-off-by: Jesse Barnes <jbar...@virtuousgeek.org>
---
 include/drm/drm_crtc.h |   18 ++++--------------
 1 files changed, 4 insertions(+), 14 deletions(-)

diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index b0df23a..a960020 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -281,18 +281,12 @@ struct drm_pending_vblank_event;
 /**
  * drm_crtc_funcs - control CRTCs for a given device
  * @reset: reset CRTC after state has been invalidate (e.g. resume)
- * @dpms: control display power levels
- * @save: save CRTC state
- * @resore: restore CRTC state
- * @lock: lock the CRTC
- * @unlock: unlock the CRTC
- * @shadow_allocate: allocate shadow pixmap
- * @shadow_create: create shadow pixmap for rotation support
- * @shadow_destroy: free shadow pixmap
- * @mode_fixup: fixup proposed mode
- * @mode_set: set the desired mode on the CRTC
+ * @cursor_set: set new cursor params
+ * @cursor_move: move the cursor
  * @gamma_set: specify color ramp for CRTC
  * @destroy: deinit and free object.
+ * @set_config: apply a new configuration to this CRTC
+ * @page_flip: queue an asynchronous framebuffer flip
  *
  * The drm_crtc_funcs structure is the central CRTC management structure
  * in the DRM.  Each CRTC controls one or more connectors (note that the name
@@ -304,10 +298,6 @@ struct drm_pending_vblank_event;
  * bus accessors.
  */
 struct drm_crtc_funcs {
-       /* Save CRTC state */
-       void (*save)(struct drm_crtc *crtc); /* suspend? */
-       /* Restore CRTC state */
-       void (*restore)(struct drm_crtc *crtc); /* resume? */
        /* Reset CRTC state */
        void (*reset)(struct drm_crtc *crtc);
 
-- 
1.7.4.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to