Commit 166c2089 authored by Lee Jones's avatar Lee Jones Committed by Alex Deucher

drm/amd/amdgpu/uvd_v6_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_v6_0.c:211: warning: Function parameter or member 'bo' not described in 'uvd_v6_0_enc_get_create_msg'
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c:211: warning: Excess function parameter 'adev' description in 'uvd_v6_0_enc_get_create_msg'
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c:275: warning: Function parameter or member 'bo' not described in 'uvd_v6_0_enc_get_destroy_msg'
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c:275: warning: Excess function parameter 'adev' description in 'uvd_v6_0_enc_get_destroy_msg'
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c:332: warning: Function parameter or member 'timeout' not described in 'uvd_v6_0_enc_ring_test_ib'
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c:472: warning: Function parameter or member 'handle' not described in 'uvd_v6_0_hw_init'
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c:472: warning: Excess function parameter 'adev' description in 'uvd_v6_0_hw_init'
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c:541: warning: Function parameter or member 'handle' not described in 'uvd_v6_0_hw_fini'
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c:541: warning: Excess function parameter 'adev' description in 'uvd_v6_0_hw_fini'
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c:900: warning: Function parameter or member 'addr' not described in 'uvd_v6_0_ring_emit_fence'
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c:900: warning: Function parameter or member 'seq' not described in 'uvd_v6_0_ring_emit_fence'
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c:900: warning: Function parameter or member 'flags' not described in 'uvd_v6_0_ring_emit_fence'
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c:900: warning: Excess function parameter 'fence' description in 'uvd_v6_0_ring_emit_fence'
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c:930: warning: Function parameter or member 'addr' not described in 'uvd_v6_0_enc_ring_emit_fence'
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c:930: warning: Function parameter or member 'seq' not described in 'uvd_v6_0_enc_ring_emit_fence'
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c:930: warning: Function parameter or member 'flags' not described in 'uvd_v6_0_enc_ring_emit_fence'
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c:930: warning: Excess function parameter 'fence' description in 'uvd_v6_0_enc_ring_emit_fence'
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c:997: warning: Function parameter or member 'job' not described in 'uvd_v6_0_ring_emit_ib'
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c:997: warning: Function parameter or member 'flags' not described in 'uvd_v6_0_ring_emit_ib'
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c:1023: warning: Function parameter or member 'job' not described in 'uvd_v6_0_enc_ring_emit_ib'
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c:1023: warning: Function parameter or member 'flags' not described in 'uvd_v6_0_enc_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: Sumit Semwal <sumit.semwal@linaro.org>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-media@vger.kernel.org
Cc: linaro-mm-sig@lists.linaro.org
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 184b762d
...@@ -198,9 +198,9 @@ static int uvd_v6_0_enc_ring_test_ring(struct amdgpu_ring *ring) ...@@ -198,9 +198,9 @@ static int uvd_v6_0_enc_ring_test_ring(struct amdgpu_ring *ring)
/** /**
* uvd_v6_0_enc_get_create_msg - generate a UVD ENC create msg * uvd_v6_0_enc_get_create_msg - generate a UVD ENC create msg
* *
* @adev: amdgpu_device pointer
* @ring: ring we should submit the msg to * @ring: ring we should submit the msg to
* @handle: session handle to use * @handle: session handle to use
* @bo: amdgpu object for which we query the offset
* @fence: optional fence to return * @fence: optional fence to return
* *
* Open up a stream for HW test * Open up a stream for HW test
...@@ -261,9 +261,9 @@ static int uvd_v6_0_enc_get_create_msg(struct amdgpu_ring *ring, uint32_t handle ...@@ -261,9 +261,9 @@ static int uvd_v6_0_enc_get_create_msg(struct amdgpu_ring *ring, uint32_t handle
/** /**
* uvd_v6_0_enc_get_destroy_msg - generate a UVD ENC destroy msg * uvd_v6_0_enc_get_destroy_msg - generate a UVD ENC destroy msg
* *
* @adev: amdgpu_device pointer
* @ring: ring we should submit the msg to * @ring: ring we should submit the msg to
* @handle: session handle to use * @handle: session handle to use
* @bo: amdgpu object for which we query the offset
* @fence: optional fence to return * @fence: optional fence to return
* *
* Close up a stream for HW test or if userspace failed to do so * Close up a stream for HW test or if userspace failed to do so
...@@ -326,6 +326,7 @@ static int uvd_v6_0_enc_get_destroy_msg(struct amdgpu_ring *ring, ...@@ -326,6 +326,7 @@ static int uvd_v6_0_enc_get_destroy_msg(struct amdgpu_ring *ring,
* uvd_v6_0_enc_ring_test_ib - test if UVD ENC IBs are working * uvd_v6_0_enc_ring_test_ib - test if UVD ENC IBs are working
* *
* @ring: the engine to test on * @ring: the engine to test on
* @timeout: timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT
* *
*/ */
static int uvd_v6_0_enc_ring_test_ib(struct amdgpu_ring *ring, long timeout) static int uvd_v6_0_enc_ring_test_ib(struct amdgpu_ring *ring, long timeout)
...@@ -464,7 +465,7 @@ static int uvd_v6_0_sw_fini(void *handle) ...@@ -464,7 +465,7 @@ static int uvd_v6_0_sw_fini(void *handle)
/** /**
* uvd_v6_0_hw_init - start and test UVD block * uvd_v6_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
*/ */
...@@ -533,7 +534,7 @@ static int uvd_v6_0_hw_init(void *handle) ...@@ -533,7 +534,7 @@ static int uvd_v6_0_hw_init(void *handle)
/** /**
* uvd_v6_0_hw_fini - stop the hardware block * uvd_v6_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
*/ */
...@@ -891,7 +892,9 @@ static void uvd_v6_0_stop(struct amdgpu_device *adev) ...@@ -891,7 +892,9 @@ static void uvd_v6_0_stop(struct amdgpu_device *adev)
* uvd_v6_0_ring_emit_fence - emit an fence & trap command * uvd_v6_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.
*/ */
...@@ -921,7 +924,9 @@ static void uvd_v6_0_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq ...@@ -921,7 +924,9 @@ static void uvd_v6_0_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq
* uvd_v6_0_enc_ring_emit_fence - emit an enc fence & trap command * uvd_v6_0_enc_ring_emit_fence - emit an enc 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 enc a fence and a trap command to the ring. * Write enc a fence and a trap command to the ring.
*/ */
...@@ -986,7 +991,9 @@ static int uvd_v6_0_ring_test_ring(struct amdgpu_ring *ring) ...@@ -986,7 +991,9 @@ static int uvd_v6_0_ring_test_ring(struct amdgpu_ring *ring)
* uvd_v6_0_ring_emit_ib - execute indirect buffer * uvd_v6_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
*/ */
...@@ -1012,7 +1019,9 @@ static void uvd_v6_0_ring_emit_ib(struct amdgpu_ring *ring, ...@@ -1012,7 +1019,9 @@ static void uvd_v6_0_ring_emit_ib(struct amdgpu_ring *ring,
* uvd_v6_0_enc_ring_emit_ib - enc execute indirect buffer * uvd_v6_0_enc_ring_emit_ib - enc execute indirect buffer
* *
* @ring: amdgpu_ring pointer * @ring: amdgpu_ring pointer
* @job: job to retrive vmid from
* @ib: indirect buffer to execute * @ib: indirect buffer to execute
* @flags: unused
* *
* Write enc ring commands to execute the indirect buffer * Write enc 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