[PATCH 1/2] drm: Fix kerneldoc and remove unused struct member in self_refresh helper

Daniel Vetter daniel at ffwll.ch
Wed Sep 18 08:07:02 UTC 2019


On Tue, Sep 17, 2019 at 04:04:32PM -0400, Sean Paul wrote:
> From: Sean Paul <seanpaul at chromium.org>
> 
> Artifacts of previous revisions.
> 
> Signed-off-by: Sean Paul <seanpaul at chromium.org>

Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>

> ---
>  drivers/gpu/drm/drm_self_refresh_helper.c | 1 -
>  include/drm/drm_crtc.h                    | 2 +-
>  2 files changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/drm_self_refresh_helper.c b/drivers/gpu/drm/drm_self_refresh_helper.c
> index 4b9424a8f1f1..9095cebf2147 100644
> --- a/drivers/gpu/drm/drm_self_refresh_helper.c
> +++ b/drivers/gpu/drm/drm_self_refresh_helper.c
> @@ -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;
>  };
>  
> diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
> index 7e2963cad543..742b31043898 100644
> --- a/include/drm/drm_crtc.h
> +++ b/include/drm/drm_crtc.h
> @@ -1107,7 +1107,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;
>  };
> -- 
> Sean Paul, Software Engineer, Google / Chromium OS
> 

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list