Skip to content

Commit aad7012

Browse files
xywangsjtuJiri Kosina
authored andcommitted
drm/amdgpu: fix two documentation mismatch issues
The function name mentioned in the documentational comments mismatches the actual one. The mismatch may make trouble for automatic documentation generation. One of the erronous name has seen to be misused and fixed in commit bc5ab2d ("drm/amdgpu: fix typo in function sdma_v4_0_page_resume"). There is apparently no functional change in the patch. Signed-off-by: Wang Xiayang <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent ad81d1c commit aad7012

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ static uint64_t sdma_v4_0_ring_get_wptr(struct amdgpu_ring *ring)
677677
}
678678

679679
/**
680-
* sdma_v4_0_ring_set_wptr - commit the write pointer
680+
* sdma_v4_0_page_ring_set_wptr - commit the write pointer
681681
*
682682
* @ring: amdgpu ring pointer
683683
*
@@ -977,7 +977,7 @@ static void sdma_v4_0_page_stop(struct amdgpu_device *adev)
977977
}
978978

979979
/**
980-
* sdma_v_0_ctx_switch_enable - stop the async dma engines context switch
980+
* sdma_v4_0_ctx_switch_enable - stop the async dma engines context switch
981981
*
982982
* @adev: amdgpu_device pointer
983983
* @enable: enable/disable the DMA MEs context switch.

0 commit comments

Comments
 (0)