Commit c890ace5 authored by Lee Jones's avatar Lee Jones Committed by Alex Deucher

drm/amd/amdgpu/uvd_v5_0: Fix a bunch of kernel-doc function documentation issues

Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c:153: warning: Function parameter or member 'handle' not described in 'uvd_v5_0_hw_init'
 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c:153: warning: Excess function parameter 'adev' description in 'uvd_v5_0_hw_init'
 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c:210: warning: Function parameter or member 'handle' not described in 'uvd_v5_0_hw_fini'
 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c:210: warning: Excess function parameter 'adev' description in 'uvd_v5_0_hw_fini'
 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c:463: warning: Function parameter or member 'addr' not described in 'uvd_v5_0_ring_emit_fence'
 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c:463: warning: Function parameter or member 'seq' not described in 'uvd_v5_0_ring_emit_fence'
 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c:463: warning: Function parameter or member 'flags' not described in 'uvd_v5_0_ring_emit_fence'
 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c:463: warning: Excess function parameter 'fence' description in 'uvd_v5_0_ring_emit_fence'
 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c:529: warning: Function parameter or member 'job' not described in 'uvd_v5_0_ring_emit_ib'
 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c:529: warning: Function parameter or member 'flags' not described in 'uvd_v5_0_ring_emit_ib'

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Nirmoy Das <nirmoy.das@amd.com>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent f719d533
...@@ -145,7 +145,7 @@ static int uvd_v5_0_sw_fini(void *handle) ...@@ -145,7 +145,7 @@ static int uvd_v5_0_sw_fini(void *handle)
/** /**
* uvd_v5_0_hw_init - start and test UVD block * uvd_v5_0_hw_init - start and test UVD block
* *
* @adev: amdgpu_device pointer * @handle: handle used to pass amdgpu_device pointer
* *
* Initialize the hardware, boot up the VCPU and do some testing * Initialize the hardware, boot up the VCPU and do some testing
*/ */
...@@ -202,7 +202,7 @@ static int uvd_v5_0_hw_init(void *handle) ...@@ -202,7 +202,7 @@ static int uvd_v5_0_hw_init(void *handle)
/** /**
* uvd_v5_0_hw_fini - stop the hardware block * uvd_v5_0_hw_fini - stop the hardware block
* *
* @adev: amdgpu_device pointer * @handle: handle used to pass amdgpu_device pointer
* *
* Stop the UVD block, mark ring as not ready any more * Stop the UVD block, mark ring as not ready any more
*/ */
...@@ -454,7 +454,9 @@ static void uvd_v5_0_stop(struct amdgpu_device *adev) ...@@ -454,7 +454,9 @@ static void uvd_v5_0_stop(struct amdgpu_device *adev)
* uvd_v5_0_ring_emit_fence - emit an fence & trap command * uvd_v5_0_ring_emit_fence - emit an fence & trap command
* *
* @ring: amdgpu_ring pointer * @ring: amdgpu_ring pointer
* @fence: fence to emit * @addr: address
* @seq: sequence number
* @flags: fence related flags
* *
* Write a fence and a trap command to the ring. * Write a fence and a trap command to the ring.
*/ */
...@@ -518,7 +520,9 @@ static int uvd_v5_0_ring_test_ring(struct amdgpu_ring *ring) ...@@ -518,7 +520,9 @@ static int uvd_v5_0_ring_test_ring(struct amdgpu_ring *ring)
* uvd_v5_0_ring_emit_ib - execute indirect buffer * uvd_v5_0_ring_emit_ib - execute indirect buffer
* *
* @ring: amdgpu_ring pointer * @ring: amdgpu_ring pointer
* @job: job to retrieve vmid from
* @ib: indirect buffer to execute * @ib: indirect buffer to execute
* @flags: unused
* *
* Write ring commands to execute the indirect buffer * Write ring commands to execute the indirect buffer
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment