[PATCH] drm/amd/display: Align 'dpp401_dscl_program_isharp' with actual function parameters

Chung, ChiaHsuan (Tom) chiahsuan.chung at amd.com
Wed Jul 31 05:27:52 UTC 2024


Reviewed-by: Tom Chung <chiahsuan.chung at amd.com>

On 7/30/2024 12:11 PM, Srinivasan Shanmugam wrote:
> This commit corrects the function comment for
> 'dpp401_dscl_program_isharp' in 'dcn401_dpp_dscl.c'. The comment
> previously included a description for a  non-existent parameter
> 'bs_coeffs_updated'. This parameter description has been removed to
> reflect the function's actual parameters.
>
> Fixes the below with gcc W=1:
> drivers/gpu/drm/amd/amdgpu/../display/dc/dpp/dcn401/dcn401_dpp_dscl.c:981: warning: Excess function parameter 'bs_coeffs_updated' description in 'dpp401_dscl_program_isharp'
>
> Cc: Tom Chung <chiahsuan.chung at amd.com>
> Cc: Rodrigo Siqueira <Rodrigo.Siqueira at amd.com>
> Cc: Roman Li <roman.li at amd.com>
> Cc: Alex Hung <alex.hung at amd.com>
> Cc: Aurabindo Pillai <aurabindo.pillai at amd.com>
> Cc: Harry Wentland <harry.wentland at amd.com>
> Cc: Hamza Mahfooz <hamza.mahfooz at amd.com>
> Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam at amd.com>
> ---
>   drivers/gpu/drm/amd/display/dc/dpp/dcn401/dcn401_dpp_dscl.c | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dpp/dcn401/dcn401_dpp_dscl.c b/drivers/gpu/drm/amd/display/dc/dpp/dcn401/dcn401_dpp_dscl.c
> index 88d24e36fe00..505929800426 100644
> --- a/drivers/gpu/drm/amd/display/dc/dpp/dcn401/dcn401_dpp_dscl.c
> +++ b/drivers/gpu/drm/amd/display/dc/dpp/dcn401/dcn401_dpp_dscl.c
> @@ -971,7 +971,6 @@ static void dpp401_dscl_set_isharp_filter(
>    *
>    * @dpp_base: High level DPP struct
>    * @scl_data: scalaer_data info
> - * @bs_coeffs_updated: coeffs update flag
>    *
>    * This is the primary function to program isharp
>    *


More information about the amd-gfx mailing list