]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
drm/amdgpu/: Add missing kdoc entry in amdgpu_vm_handle_fault function
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Mon, 26 Aug 2024 13:23:50 +0000 (18:53 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Sep 2024 21:42:05 +0000 (17:42 -0400)
This commit adds a description for the 'ts' parameter in the
amdgpu_vm_handle_fault function's comment block.

Fixes the below with gcc W=1:
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:2781: warning: Function parameter or struct member 'ts' not described in 'amdgpu_vm_handle_fault'

Cc: Xiaogang.Chen <Xiaogang.Chen@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202408251419.vgZHg3GV-lkp@intel.com/
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Xiaogang Chen <Xiaogang.Chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c

index 9eca247d8f023ed1ed650beefcff9ba4267765ec..fdc3db700799ee110d0fee79b48ce2ec81ddb4bb 100644 (file)
@@ -2790,6 +2790,7 @@ int amdgpu_vm_ioctl(struct drm_device *dev, void *data, struct drm_file *filp)
  * amdgpu_vm_handle_fault - graceful handling of VM faults.
  * @adev: amdgpu device pointer
  * @pasid: PASID of the VM
+ * @ts: Timestamp of the fault
  * @vmid: VMID, only used for GFX 9.4.3.
  * @node_id: Node_id received in IH cookie. Only applicable for
  *           GFX 9.4.3.