aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorLee Jones <lee@kernel.org>2023-08-24 08:36:57 +0100
committerAlex Deucher <alexander.deucher@amd.com>2023-08-30 15:26:58 -0400
commit8057a9d6561e1b1fbdb3b0d21d8b3724aa034f4e (patch)
treecbe2aa0124b32120ea1ae774ac967c06657a655d /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parent01ee1f8aeac711aad1eda78652e0ad741100958f (diff)
downloadlinux-8057a9d6561e1b1fbdb3b0d21d8b3724aa034f4e.tar.gz
linux-8057a9d6561e1b1fbdb3b0d21d8b3724aa034f4e.tar.bz2
linux-8057a9d6561e1b1fbdb3b0d21d8b3724aa034f4e.zip
drm/amd/amdgpu/amdgpu_device: Provide suitable description for param 'xcc_id'
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:516: warning: Function parameter or member 'xcc_id' not described in 'amdgpu_mm_wreg_mmio_rlc' Signed-off-by: Lee Jones <lee@kernel.org> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 533daba2accb..b2bc5eb31a90 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -507,6 +507,7 @@ void amdgpu_device_wreg(struct amdgpu_device *adev,
* @adev: amdgpu_device pointer
* @reg: mmio/rlc register
* @v: value to write
+ * @xcc_id: xcc accelerated compute core id
*
* this function is invoked only for the debugfs register access
*/