Skip to contentSkip to conversation

drm/amd/display: Add update_descriptor param info in 'update_planes_and_stream_state'

PATCH In review Srinivasan Shanmugam 2 participants 2 messages Mar 23 – Mar 27

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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]>
---
 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
index 8b21816cf7c8..e3992ca43c8d 100644
@@ -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 on v2 1/1
#1 lore raw
Quoted 32 lines · Srinivasan Shanmugam

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]>
---
  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
index 8b21816cf7c8..e3992ca43c8d 100644
@@ -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.