mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-30 17:00:08 -04:00
drm/amdgpu: Fix up missing kdoc in sdma_v6_0.c
Address a bunch of kdoc warnings: gcc with W=1 drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c:248: warning: Function parameter or member 'job' not described in 'sdma_v6_0_ring_emit_ib' drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c:248: warning: Function parameter or member 'flags' not described in 'sdma_v6_0_ring_emit_ib' drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c:946: warning: Function parameter or member 'timeout' not described in 'sdma_v6_0_ring_test_ib' drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c:1125: warning: Function parameter or member 'ring' not described in 'sdma_v6_0_ring_pad_ib' drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c:1176: warning: Function parameter or member 'vmid' not described in 'sdma_v6_0_ring_emit_vm_flush' drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c:1176: warning: Function parameter or member 'pd_addr' not described in 'sdma_v6_0_ring_emit_vm_flush' Cc: Christian König <christian.koenig@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
66dadf1ab1
commit
9eba1b8b70
@@ -238,6 +238,8 @@ static void sdma_v6_0_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count)
|
||||
*
|
||||
* @ring: amdgpu ring pointer
|
||||
* @ib: IB object to schedule
|
||||
* @flags: unused
|
||||
* @job: job to retrieve vmid from
|
||||
*
|
||||
* Schedule an IB in the DMA ring.
|
||||
*/
|
||||
@@ -938,6 +940,7 @@ static int sdma_v6_0_ring_test_ring(struct amdgpu_ring *ring)
|
||||
* sdma_v6_0_ring_test_ib - test an IB on the DMA engine
|
||||
*
|
||||
* @ring: amdgpu_ring structure holding ring information
|
||||
* @timeout: timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT
|
||||
*
|
||||
* Test a simple IB in the DMA ring.
|
||||
* Returns 0 on success, error on failure.
|
||||
@@ -1167,6 +1170,8 @@ static void sdma_v6_0_ring_emit_pipeline_sync(struct amdgpu_ring *ring)
|
||||
* sdma_v6_0_ring_emit_vm_flush - vm flush using sDMA
|
||||
*
|
||||
* @ring: amdgpu_ring pointer
|
||||
* @vmid: vmid number to use
|
||||
* @pd_addr: address
|
||||
*
|
||||
* Update the page table base and flush the VM TLB
|
||||
* using sDMA.
|
||||
|
||||
Reference in New Issue
Block a user