drm/amd/display: Add update_descriptor param info in 'update_planes_and_stream_state'
Subsystems (3)
PATCH v2 1/1 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 90fe5f44136d ("drm/amd/display: Refactor DC update checks")
Cc Nicholas Kazlauskas <[email protected]>
Cc Dillon Varone <[email protected]>
Cc Chuanyu Tseng <[email protected]>
Cc Roman Li <[email protected]>
Cc Alex Hung <[email protected]>
Cc Tom Chung <[email protected]>
Cc Dan Carpenter <[email protected]>
Cc Aurabindo Pillai <[email protected]>
Signed-off-by Srinivasan Shanmugam <[email protected]>
--- drivers/gpu/drm/amd/display/dc/core/dc.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/display/dc/core/dc.c +1 -0
@@ -3615,6 +3615,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.
Signature · 1 line
2.34.1
Reviewed-by Alex Hung <[email protected]>
Quoted 32 lines · Srinivasan Shanmugam
Add missing info for the
update_descriptorparameter inupdate_planes_and_stream_state().Fixes the below with gcc W=1:
../display/dc/core/dc.c:3630function parameter 'update_descriptor' not described in 'update_planes_and_stream_state'Fixes 90fe5f44136d ("drm/amd/display: Refactor DC update checks")Cc Nicholas Kazlauskas <[email protected]>Cc Dillon Varone <[email protected]>Cc Chuanyu Tseng <[email protected]>Cc Roman Li <[email protected]>Cc Alex Hung <[email protected]>Cc Tom Chung <[email protected]>Cc Dan Carpenter <[email protected]>Cc Aurabindo Pillai <[email protected]>Signed-off-by Srinivasan Shanmugam <[email protected]>--- drivers/gpu/drm/amd/display/dc/core/dc.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/amd/display/dc/core/dc.c +1
-0@@ -3615,6 +3615,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.