@@ -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
0 commit comments