drm/amd/display: Align hwss_wait_for_all_blank_complete descriptor with implementation
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Mon, 12 Aug 2024 10:23:36 +0000 (15:53 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Aug 2024 16:13:03 +0000 (12:13 -0400)
The descriptor for `hwss_wait_for_all_blank_complete` was previously
misaligned with the actual implementation. This commit refines the
descriptor to reflect the implementation of
`hwss_wait_for_all_blank_complete`

Fixes the below with gcc W=1:
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_hw_sequencer.c:991: warning: expecting prototype for hwss_wait_for_blank_complete(). Prototype was for hwss_wait_for_all_blank_complete() instead

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>
Reviewed-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c

index 9a569aac3c00dacf9c5add8466794b952801f530..7ee2be8f82c467ffb3b25e39ee4c7c8daa730cde 100644 (file)
@@ -980,7 +980,7 @@ void get_surface_tile_visual_confirm_color(
 }
 
 /**
- * hwss_wait_for_blank_complete - wait for all active OPPs to finish pending blank
+ * hwss_wait_for_all_blank_complete - wait for all active OPPs to finish pending blank
  * pattern updates
  *
  * @dc: [in] dc reference