drm: Fix kerneldoc and remove unused struct member in self_refresh helper
authorSean Paul <seanpaul@chromium.org>
Wed, 18 Sep 2019 20:07:28 +0000 (16:07 -0400)
committerSean Paul <seanpaul@chromium.org>
Thu, 19 Sep 2019 14:03:19 +0000 (10:03 -0400)
Artifacts of previous revisions.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link to v1: https://patchwork.freedesktop.org/patch/msgid/20190917200443.64481-1-sean@poorly.run
Link: https://patchwork.freedesktop.org/patch/msgid/20190918200734.149876-1-sean@poorly.run
Changes in v2:
- None

drivers/gpu/drm/drm_self_refresh_helper.c
include/drm/drm_crtc.h

index 4b9424a8f1f1c79f16206d2b9f042f5b89ccc7b2..9095cebf21474d48cbc8a46f646d0784c89ff32a 100644 (file)
@@ -53,7 +53,6 @@
 struct drm_self_refresh_data {
        struct drm_crtc *crtc;
        struct delayed_work entry_work;
-       struct drm_atomic_state *save_state;
        unsigned int entry_delay_ms;
 };
 
index c4528eb5d16885cab12b72842064d3e304f221c4..408b6f4e63c0c15ed3cc48ba0c08e7317de878af 100644 (file)
@@ -1108,7 +1108,7 @@ struct drm_crtc {
        /**
         * @self_refresh_data: Holds the state for the self refresh helpers
         *
-        * Initialized via drm_self_refresh_helper_register().
+        * Initialized via drm_self_refresh_helper_init().
         */
        struct drm_self_refresh_data *self_refresh_data;
 };