Skip to content

Commit c39ca69

Browse files
srishanmalexdeucher
authored andcommitted
drm/amd/display: Convert to kdoc formats in dc/core/dc.c
Fixes the following gcc with W=1: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3483: warning: Cannot understand * ******************************************************************************* drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:4204: warning: Cannot understand * ******************************************************************************* Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Cc: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 80a780a commit c39ca69

1 file changed

Lines changed: 15 additions & 19 deletions

File tree

  • drivers/gpu/drm/amd/display/dc/core

drivers/gpu/drm/amd/display/dc/core/dc.c

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3480,23 +3480,21 @@ static void build_dmub_update_dirty_rect(
34803480

34813481

34823482
/**
3483-
* ************************************************************************************************
3484-
* build_dmub_cmd_list: Build an array of DMCUB commands to be sent to DMCUB
3483+
* build_dmub_cmd_list() - Build an array of DMCUB commands to be sent to DMCUB
34853484
*
3486-
* @param [in]: dc: Current DC state
3487-
* @param [in]: srf_updates: Array of surface updates
3488-
* @param [in]: surface_count: Number of surfaces that have an updated
3489-
* @param [in]: stream: Correponding stream to be updated in the current flip
3490-
* @param [in]: context: New DC state to be programmed
3485+
* @dc: Current DC state
3486+
* @srf_updates: Array of surface updates
3487+
* @surface_count: Number of surfaces that have an updated
3488+
* @stream: Corresponding stream to be updated in the current flip
3489+
* @context: New DC state to be programmed
34913490
*
3492-
* @param [out]: dc_dmub_cmd: Array of DMCUB commands to be sent to DMCUB
3493-
* @param [out]: dmub_cmd_count: Count indicating the number of DMCUB commands in dc_dmub_cmd array
3491+
* @dc_dmub_cmd: Array of DMCUB commands to be sent to DMCUB
3492+
* @dmub_cmd_count: Count indicating the number of DMCUB commands in dc_dmub_cmd array
34943493
*
34953494
* This function builds an array of DMCUB commands to be sent to DMCUB. This function is required
34963495
* to build an array of commands and have them sent while the OTG lock is acquired.
34973496
*
3498-
* @return: void
3499-
* ************************************************************************************************
3497+
* Return: void
35003498
*/
35013499
static void build_dmub_cmd_list(struct dc *dc,
35023500
struct dc_surface_update *srf_updates,
@@ -4201,20 +4199,18 @@ static bool commit_minimal_transition_state(struct dc *dc,
42014199
}
42024200

42034201
/**
4204-
* *******************************************************************************
4205-
* update_seamless_boot_flags: Helper function for updating seamless boot flags
4202+
* update_seamless_boot_flags() - Helper function for updating seamless boot flags
42064203
*
4207-
* @param [in]: dc: Current DC state
4208-
* @param [in]: context: New DC state to be programmed
4209-
* @param [in]: surface_count: Number of surfaces that have an updated
4210-
* @param [in]: stream: Correponding stream to be updated in the current flip
4204+
* @dc: Current DC state
4205+
* @context: New DC state to be programmed
4206+
* @surface_count: Number of surfaces that have an updated
4207+
* @stream: Corresponding stream to be updated in the current flip
42114208
*
42124209
* Updating seamless boot flags do not need to be part of the commit sequence. This
42134210
* helper function will update the seamless boot flags on each flip (if required)
42144211
* outside of the HW commit sequence (fast or slow).
42154212
*
4216-
* @return: void
4217-
* *******************************************************************************
4213+
* Return: void
42184214
*/
42194215
static void update_seamless_boot_flags(struct dc *dc,
42204216
struct dc_state *context,

0 commit comments

Comments
 (0)