Reviewed-by: Alex Hung <[email protected]> On 6/1/26 08:24, Srinivasan Shanmugam wrote:
Replace incorrect kdoc parameter names with the actual function parameter names used by dc_update_modified_pix_clock_for_dsc_with_padding().Fixes the below with gcc W=1: ../display/dc/core/dc_resource.c:4616 function parameter 'stream' not described in 'dc_update_modified_pix_clock_for_dsc_with_padding' ../display/dc/core/dc_resource.c:4616 function parameter 'timing' not described in 'dc_update_modified_pix_clock_for_dsc_with_padding' ../display/dc/core/dc_resource.c:4616 function parameter 'stream' not described in 'dc_update_modified_pix_clock_for_dsc_with_padding' ../display/dc/core/dc_resource.c:4616 function parameter 'timing' not described in 'dc_update_modified_pix_clock_for_dsc_with_padding' Fixes: 3bd4001e8d1d ("drm/amd/display: add HDMI 2.1 DSC over FRL support") Cc: Harry Wentland <[email protected]> Cc: Fangzhi Zuo <[email protected]> Cc: Dan Wheeler <[email protected]> Cc: Roman Li <[email protected]> Cc: Alex Hung <[email protected]> Cc: Tom Chung <[email protected]> Cc: Aurabindo Pillai <[email protected]> Signed-off-by: Srinivasan Shanmugam <[email protected]> --- drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c index e5565a61ef12..5f6cc1b1f788 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c @@ -4603,8 +4603,8 @@ enum dc_status dc_validate_with_context(struct dc *dc, /** * dc_update_modified_pix_clock_for_dsc_with_padding() - update pix_clk for dsc with padding * - * @dc_stream_state: Pointer to the stream structure. - * @dc_crtc_timing: Pointer to the stream dc_crtc_timing structure. + * @stream: Pointer to the stream structure. + * @timing: Pointer to the stream dc_crtc_timing structure. * @dsc_padding_params: Pointer to the DSC padding parameters structure. * * This function updated the pix_clk for dsc with padding stored in pipe_ctx
