[PATCH] drm/amdgpu/disply: fix documentation warnings in display manager

Lin, Wayne Wayne.Lin at amd.com
Wed Dec 16 02:29:22 UTC 2020


[AMD Public Use]

Thanks Alex! 
Sorry for any inconvenience..

Reviewed-by: Wayne Lin <Wayne.Lin at amd.com>

> -----Original Message-----
> From: Alex Deucher <alexdeucher at gmail.com>
> Sent: Wednesday, December 16, 2020 1:10 AM
> To: amd-gfx at lists.freedesktop.org
> Cc: Deucher, Alexander <Alexander.Deucher at amd.com>; Lin, Wayne
> <Wayne.Lin at amd.com>; Stephen Rothwell <sfr at canb.auug.org.au>
> Subject: [PATCH] drm/amdgpu/disply: fix documentation warnings in display
> manager
> 
> Add documentation for crc window.
> 
> Fixes: c920888c604d ("drm/amd/display: Expose new CRC window property")
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> Cc: Wayne Lin <Wayne.Lin at amd.com>
> Reported-by: Stephen Rothwell <sfr at canb.auug.org.au>
> ---
>  .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 21
> ++++++++++++++++++-
>  1 file changed, 20 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
> b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
> index 0b31779a0485..2ee6edb3df93 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
> @@ -337,10 +337,29 @@ struct amdgpu_display_manager {
>  	const struct gpu_info_soc_bounding_box_v1_0 *soc_bounding_box;
> 
>  #ifdef CONFIG_DEBUG_FS
> -	/* set the crc calculation window*/
> +	/**
> +	 * @crc_win_x_start_property:
> +	 *
> +	 * X start of the crc calculation window
> +	 */
>  	struct drm_property *crc_win_x_start_property;
> +	/**
> +	 * @crc_win_y_start_property:
> +	 *
> +	 * Y start of the crc calculation window
> +	 */
>  	struct drm_property *crc_win_y_start_property;
> +	/**
> +	 * @crc_win_x_end_property:
> +	 *
> +	 * X end of the crc calculation window
> +	 */
>  	struct drm_property *crc_win_x_end_property;
> +	/**
> +	 * @crc_win_y_end_property:
> +	 *
> +	 * Y end of the crc calculation window
> +	 */
>  	struct drm_property *crc_win_y_end_property;  #endif
>  	/**
> --
> 2.25.4


More information about the amd-gfx mailing list