Commit 5162e40e authored by Lee Jones's avatar Lee Jones Committed by Alex Deucher

drm/amd/amdgpu/vega10_ih: Add descriptions for 'ih' and 'entry'

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

 drivers/gpu/drm/amd/amdgpu/vega10_ih.c:377: warning: Function parameter or member 'ih' not described in 'vega10_ih_get_wptr'
 drivers/gpu/drm/amd/amdgpu/vega10_ih.c:440: warning: Function parameter or member 'ih' not described in 'vega10_ih_decode_iv'
 drivers/gpu/drm/amd/amdgpu/vega10_ih.c:440: warning: Function parameter or member 'entry' not described in 'vega10_ih_decode_iv'
 drivers/gpu/drm/amd/amdgpu/vega10_ih.c:480: warning: Function parameter or member 'ih' not described in 'vega10_ih_irq_rearm'
 drivers/gpu/drm/amd/amdgpu/vega10_ih.c:513: warning: Function parameter or member 'ih' not described in 'vega10_ih_set_rptr'

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: Zhigang Luo <zhigang.luo@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 a549a9da
...@@ -369,6 +369,7 @@ static void vega10_ih_irq_disable(struct amdgpu_device *adev) ...@@ -369,6 +369,7 @@ static void vega10_ih_irq_disable(struct amdgpu_device *adev)
* vega10_ih_get_wptr - get the IH ring buffer wptr * vega10_ih_get_wptr - get the IH ring buffer wptr
* *
* @adev: amdgpu_device pointer * @adev: amdgpu_device pointer
* @ih: IH ring buffer to fetch wptr
* *
* Get the IH ring buffer wptr from either the register * Get the IH ring buffer wptr from either the register
* or the writeback memory buffer (VEGA10). Also check for * or the writeback memory buffer (VEGA10). Also check for
...@@ -433,6 +434,8 @@ static u32 vega10_ih_get_wptr(struct amdgpu_device *adev, ...@@ -433,6 +434,8 @@ static u32 vega10_ih_get_wptr(struct amdgpu_device *adev,
* vega10_ih_decode_iv - decode an interrupt vector * vega10_ih_decode_iv - decode an interrupt vector
* *
* @adev: amdgpu_device pointer * @adev: amdgpu_device pointer
* @ih: IH ring buffer to decode
* @entry: IV entry to place decoded information into
* *
* Decodes the interrupt vector at the current rptr * Decodes the interrupt vector at the current rptr
* position and also advance the position. * position and also advance the position.
...@@ -476,6 +479,7 @@ static void vega10_ih_decode_iv(struct amdgpu_device *adev, ...@@ -476,6 +479,7 @@ static void vega10_ih_decode_iv(struct amdgpu_device *adev,
* vega10_ih_irq_rearm - rearm IRQ if lost * vega10_ih_irq_rearm - rearm IRQ if lost
* *
* @adev: amdgpu_device pointer * @adev: amdgpu_device pointer
* @ih: IH ring to match
* *
*/ */
static void vega10_ih_irq_rearm(struct amdgpu_device *adev, static void vega10_ih_irq_rearm(struct amdgpu_device *adev,
...@@ -508,6 +512,7 @@ static void vega10_ih_irq_rearm(struct amdgpu_device *adev, ...@@ -508,6 +512,7 @@ static void vega10_ih_irq_rearm(struct amdgpu_device *adev,
* vega10_ih_set_rptr - set the IH ring buffer rptr * vega10_ih_set_rptr - set the IH ring buffer rptr
* *
* @adev: amdgpu_device pointer * @adev: amdgpu_device pointer
* @ih: IH ring buffer to set rptr
* *
* Set the IH ring buffer rptr. * Set the IH ring buffer rptr.
*/ */
......
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