[PATCH] drm: fix kernel-doc warnings for SCALING_FILTER

Daniel Vetter daniel at ffwll.ch
Tue Nov 24 14:35:25 UTC 2020


On Fri, Nov 20, 2020 at 11:06:22AM +0000, Simon Ser wrote:
> This patch fixes the following kernel-doc warnings:
> 
>     /home/simon/src/linux/Documentation/gpu/drm-kms:466: ./drivers/gpu/drm/drm_crtc.c:236: WARNING: Unexpected indentation.
>     /home/simon/src/linux/Documentation/gpu/drm-kms:466: ./drivers/gpu/drm/drm_crtc.c:237: WARNING: Block quote ends without a blank line; unexpected unindent.
>     /home/simon/src/linux/Documentation/gpu/drm-kms:472: ./drivers/gpu/drm/drm_blend.c:203: WARNING: Unexpected indentation.
>     /home/simon/src/linux/Documentation/gpu/drm-kms:472: ./drivers/gpu/drm/drm_blend.c:204: WARNING: Block quote ends without a blank line; unexpected unindent.
> 
> Signed-off-by: Simon Ser <contact at emersion.fr>
> Fixes: 5c759eda9b04 ("drm: Introduce plane and CRTC scaling filter properties")
> Cc: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya at intel.com>
> Cc: Jani Nikula <jani.nikula at intel.com>
> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
> Cc: Uma Shankar <uma.shankar at intel.com>
> Cc: Daniel Vetter <daniel at ffwll.ch>

Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> ---
>  drivers/gpu/drm/drm_blend.c |  2 +-
>  drivers/gpu/drm/drm_crtc.c  | 12 ++++++------
>  2 files changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/gpu/drm/drm_blend.c b/drivers/gpu/drm/drm_blend.c
> index ae2234aae93d..5c2141e9a9f4 100644
> --- a/drivers/gpu/drm/drm_blend.c
> +++ b/drivers/gpu/drm/drm_blend.c
> @@ -196,10 +196,10 @@
>   * exposed and assumed to be black).
>   *
>   * SCALING_FILTER:
> - *
>   *     Indicates scaling filter to be used for plane scaler
>   *
>   *     The value of this property can be one of the following:
> + *
>   *     Default:
>   *             Driver's default scaling filter
>   *     Nearest Neighbor:
> diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
> index f927976eca50..74090fc3aa55 100644
> --- a/drivers/gpu/drm/drm_crtc.c
> +++ b/drivers/gpu/drm/drm_crtc.c
> @@ -230,14 +230,14 @@ struct dma_fence *drm_crtc_create_fence(struct drm_crtc *crtc)
>   *
>   * 	Setting MODE_ID to 0 will release reserved resources for the CRTC.
>   * SCALING_FILTER:
> - *	Atomic property for setting the scaling filter for CRTC scaler
> + * 	Atomic property for setting the scaling filter for CRTC scaler
>   *
> - *	The value of this property can be one of the following:
> - *	Default:
> - *		Driver's default scaling filter
> - *	Nearest Neighbor:
> - *		Nearest Neighbor scaling filter
> + * 	The value of this property can be one of the following:
>   *
> + * 	Default:
> + * 		Driver's default scaling filter
> + * 	Nearest Neighbor:
> + * 		Nearest Neighbor scaling filter
>   */
>  
>  /**
> -- 
> 2.29.2
> 
> 

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


More information about the dri-devel mailing list