]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/amd/amdgpu/amdgpu_device: Provide suitable description for param 'xcc_id'
authorLee Jones <lee@kernel.org>
Thu, 24 Aug 2023 07:36:57 +0000 (08:36 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Aug 2023 19:26:58 +0000 (15:26 -0400)
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

index 533daba2accb3c7de6e270bdf9ea2d1c6b3a83d4..b2bc5eb31a90b4922418838b7cfd429c1fa57e3a 100644 (file)
@@ -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
  */