* [PATCH v2] drm/amd/display: Add missing kdoc entry for 'bs_coeffs_updated' in dpp401_dscl_program_isharp
@ 2024-08-29 13:17 Srinivasan Shanmugam
2024-08-31 17:08 ` Chung, ChiaHsuan (Tom)
0 siblings, 1 reply; 2+ messages in thread
From: Srinivasan Shanmugam @ 2024-08-29 13:17 UTC (permalink / raw)
To: Rodrigo Siqueira, Aurabindo Pillai
Cc: amd-gfx, Srinivasan Shanmugam, Tom Chung, Roman Li, Alex Hung,
Harry Wentland, Hamza Mahfooz
This commit addresses a missing kdoc for the 'bs_coeffs_updated'
parameter in the 'dpp401_dscl_program_isharp' function. The
'bs_coeffs_updated' is a flag indicating whether the Blur and Scale
Coefficients have been updated.
The 'dpp401_dscl_program_isharp' function is responsible for programming
the isharp, which includes setting the isharp filter, noise gain, and
blur and scale coefficients. If the 'bs_coeffs_updated' flag is set to
true, the function updates the blur and scale coefficients.
Fixes the below with gcc W=1:
drivers/gpu/drm/amd/amdgpu/../display/dc/dpp/dcn401/dcn401_dpp_dscl.c:961: warning: Function parameter or struct member 'bs_coeffs_updated' not described in 'dpp401_dscl_program_isharp'
Cc: Tom Chung <chiahsuan.chung@amd.com>
Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Cc: Roman Li <roman.li@amd.com>
Cc: Alex Hung <alex.hung@amd.com>
Cc: Aurabindo Pillai <aurabindo.pillai@amd.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Suggested-by: Tom Chung <chiahsuan.chung@amd.com>
---
v2:
Updated to "Blur and Scale Coefficients update flag" (Tom)
drivers/gpu/drm/amd/display/dc/dpp/dcn401/dcn401_dpp_dscl.c | 1 +
1 file changed, 1 insertion(+)
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 703d7b51c6c2..4d8de1b8aa62 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
@@ -951,6 +951,7 @@ static void dpp401_dscl_set_isharp_filter(
*
* @dpp_base: High level DPP struct
* @scl_data: scalaer_data info
+ * @bs_coeffs_updated: Blur and Scale Coefficients update flag
*
* This is the primary function to program isharp
*
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] drm/amd/display: Add missing kdoc entry for 'bs_coeffs_updated' in dpp401_dscl_program_isharp
2024-08-29 13:17 [PATCH v2] drm/amd/display: Add missing kdoc entry for 'bs_coeffs_updated' in dpp401_dscl_program_isharp Srinivasan Shanmugam
@ 2024-08-31 17:08 ` Chung, ChiaHsuan (Tom)
0 siblings, 0 replies; 2+ messages in thread
From: Chung, ChiaHsuan (Tom) @ 2024-08-31 17:08 UTC (permalink / raw)
To: Srinivasan Shanmugam, Rodrigo Siqueira, Aurabindo Pillai
Cc: amd-gfx, Roman Li, Alex Hung, Harry Wentland, Hamza Mahfooz
Reviewed-by: Tom Chung <chiahsuan.chung@amd.com>
On 8/29/2024 9:17 PM, Srinivasan Shanmugam wrote:
> This commit addresses a missing kdoc for the 'bs_coeffs_updated'
> parameter in the 'dpp401_dscl_program_isharp' function. The
> 'bs_coeffs_updated' is a flag indicating whether the Blur and Scale
> Coefficients have been updated.
>
> The 'dpp401_dscl_program_isharp' function is responsible for programming
> the isharp, which includes setting the isharp filter, noise gain, and
> blur and scale coefficients. If the 'bs_coeffs_updated' flag is set to
> true, the function updates the blur and scale coefficients.
>
> Fixes the below with gcc W=1:
> drivers/gpu/drm/amd/amdgpu/../display/dc/dpp/dcn401/dcn401_dpp_dscl.c:961: warning: Function parameter or struct member 'bs_coeffs_updated' not described in 'dpp401_dscl_program_isharp'
>
> Cc: Tom Chung <chiahsuan.chung@amd.com>
> Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
> Cc: Roman Li <roman.li@amd.com>
> Cc: Alex Hung <alex.hung@amd.com>
> Cc: Aurabindo Pillai <aurabindo.pillai@amd.com>
> Cc: Harry Wentland <harry.wentland@amd.com>
> Cc: Hamza Mahfooz <hamza.mahfooz@amd.com>
> Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
> Suggested-by: Tom Chung <chiahsuan.chung@amd.com>
> ---
> v2:
> Updated to "Blur and Scale Coefficients update flag" (Tom)
>
> drivers/gpu/drm/amd/display/dc/dpp/dcn401/dcn401_dpp_dscl.c | 1 +
> 1 file changed, 1 insertion(+)
>
> 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 703d7b51c6c2..4d8de1b8aa62 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
> @@ -951,6 +951,7 @@ static void dpp401_dscl_set_isharp_filter(
> *
> * @dpp_base: High level DPP struct
> * @scl_data: scalaer_data info
> + * @bs_coeffs_updated: Blur and Scale Coefficients update flag
> *
> * This is the primary function to program isharp
> *
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-08-31 17:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-29 13:17 [PATCH v2] drm/amd/display: Add missing kdoc entry for 'bs_coeffs_updated' in dpp401_dscl_program_isharp Srinivasan Shanmugam
2024-08-31 17:08 ` Chung, ChiaHsuan (Tom)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox