From: Srinivasan Shanmugam Date: Mon, 23 Mar 2026 04:38:57 +0000 (+0530) Subject: drm/amd/display: Add update_descriptor param info in 'update_planes_and_stream_state' X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c34cb0d8247458ead7184547220dbc6d285fb4e3;p=thirdparty%2Flinux.git drm/amd/display: Add update_descriptor param info in 'update_planes_and_stream_state' Add missing info for the update_descriptor parameter in update_planes_and_stream_state(). Fixes the below with gcc W=1: ../display/dc/core/dc.c:3630 function parameter 'update_descriptor' not described in 'update_planes_and_stream_state' Fixes: c24bb00cc6cf ("drm/amd/display: Refactor DC update checks") Cc: Nicholas Kazlauskas Cc: Dillon Varone Cc: Chuanyu Tseng Cc: Roman Li Cc: Alex Hung Cc: Tom Chung Cc: Dan Carpenter Cc: Aurabindo Pillai Signed-off-by: Srinivasan Shanmugam Reviewed-by: Alex Hung Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index 8bbf71a8c7a8c..b8d2cac397428 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -3617,6 +3617,7 @@ static void restore_minimal_pipe_split_policy(struct dc *dc, * @surface_count: surface update count * @stream: Corresponding stream to be updated * @stream_update: stream update + * @update_descriptor: describes what plane and stream changes to apply * @new_update_type: [out] determined update type by the function * @new_context: [out] new context allocated and validated if update type is * FULL, reference to current context if update type is less than FULL.