Skip to content

Commit 01543dc

Browse files
Grillo-0alexdeucher
authored andcommitted
drm/amd/display: Fix excess arguments on kernel-doc
Remove arguments present on kernel-doc that are not present on the function declaration and add the new ones if present. Signed-off-by: Arthur Grillo <arthurgrillo@riseup.net> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 8dc2507 commit 01543dc

3 files changed

Lines changed: 9 additions & 10 deletions

File tree

drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,6 @@ static void sdma_v6_0_ring_emit_ib(struct amdgpu_ring *ring,
273273
* sdma_v6_0_ring_emit_mem_sync - flush the IB by graphics cache rinse
274274
*
275275
* @ring: amdgpu ring pointer
276-
* @job: job to retrieve vmid from
277-
* @ib: IB object to schedule
278276
*
279277
* flush the IB by graphics cache rinse.
280278
*/
@@ -326,7 +324,9 @@ static void sdma_v6_0_ring_emit_hdp_flush(struct amdgpu_ring *ring)
326324
* sdma_v6_0_ring_emit_fence - emit a fence on the DMA ring
327325
*
328326
* @ring: amdgpu ring pointer
329-
* @fence: amdgpu fence object
327+
* @addr: address
328+
* @seq: fence seq number
329+
* @flags: fence flags
330330
*
331331
* Add a DMA fence packet to the ring to write
332332
* the fence seq number and DMA trap packet to generate
@@ -1060,10 +1060,9 @@ static void sdma_v6_0_vm_copy_pte(struct amdgpu_ib *ib,
10601060
*
10611061
* @ib: indirect buffer to fill with commands
10621062
* @pe: addr of the page entry
1063-
* @addr: dst addr to write into pe
1063+
* @value: dst addr to write into pe
10641064
* @count: number of page entries to update
10651065
* @incr: increase next addr by incr bytes
1066-
* @flags: access flags
10671066
*
10681067
* Update PTEs by writing them manually using sDMA.
10691068
*/
@@ -1167,7 +1166,6 @@ static void sdma_v6_0_ring_emit_pipeline_sync(struct amdgpu_ring *ring)
11671166
* sdma_v6_0_ring_emit_vm_flush - vm flush using sDMA
11681167
*
11691168
* @ring: amdgpu_ring pointer
1170-
* @vm: amdgpu_vm pointer
11711169
*
11721170
* Update the page table base and flush the VM TLB
11731171
* using sDMA.
@@ -1591,10 +1589,11 @@ static void sdma_v6_0_set_irq_funcs(struct amdgpu_device *adev)
15911589
/**
15921590
* sdma_v6_0_emit_copy_buffer - copy buffer using the sDMA engine
15931591
*
1594-
* @ring: amdgpu_ring structure holding ring information
1592+
* @ib: indirect buffer to fill with commands
15951593
* @src_offset: src GPU address
15961594
* @dst_offset: dst GPU address
15971595
* @byte_count: number of bytes to xfer
1596+
* @tmz: if a secure copy should be used
15981597
*
15991598
* Copy GPU buffers using the DMA engine.
16001599
* Used by the amdgpu ttm implementation to move pages if
@@ -1620,7 +1619,7 @@ static void sdma_v6_0_emit_copy_buffer(struct amdgpu_ib *ib,
16201619
/**
16211620
* sdma_v6_0_emit_fill_buffer - fill buffer using the sDMA engine
16221621
*
1623-
* @ring: amdgpu_ring structure holding ring information
1622+
* @ib: indirect buffer to fill
16241623
* @src_data: value to write to buffer
16251624
* @dst_offset: dst GPU address
16261625
* @byte_count: number of bytes to xfer

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ static void populate_subvp_cmd_pipe_info(struct dc *dc,
698698
*
699699
* @dc: [in] current dc state
700700
* @context: [in] new dc state
701-
* @cmd: [in] DMUB cmd to be populated with SubVP info
701+
* @enable: [in] if true enables the pipes population
702702
*
703703
* This function loops through each pipe and populates the DMUB SubVP CMD info
704704
* based on the pipe (e.g. SubVP, VBLANK).

drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ static void dpp1_dscl_set_manual_ratio_init(
581581
* dpp1_dscl_set_recout - Set the first pixel of RECOUT in the OTG active area
582582
*
583583
* @dpp: DPP data struct
584-
* @recount: Rectangle information
584+
* @recout: Rectangle information
585585
*
586586
* This function sets the MPC RECOUT_START and RECOUT_SIZE registers based on
587587
* the values specified in the recount parameter.

0 commit comments

Comments
 (0)