From: Jesse Barnes Subject: [PATCH 02/12] drm: remove unused save/restore functions from drm_crtc_funcs & fix comments Date: Mon, 7 Nov 2011 12:03:13 -0800 Message-ID: <1320696203-5524-3-git-send-email-jbarnes@virtuousgeek.org> References: <1320696203-5524-1-git-send-email-jbarnes@virtuousgeek.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from oproxy8-pub.bluehost.com (oproxy8-pub.bluehost.com [69.89.22.20]) by gabe.freedesktop.org (Postfix) with SMTP id 00EBEA02C9 for ; Mon, 7 Nov 2011 12:03:28 -0800 (PST) In-Reply-To: <1320696203-5524-1-git-send-email-jbarnes@virtuousgeek.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org Remove two unused fields from this struct and cleanup/correct the comments. Signed-off-by: Jesse Barnes --- 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