Skip to contentSkip to conversation

drm/amdgpu: Fix warning of Function parameter or member not described

PATCH In review Eric Huang 2 participants 2 messages Jun 7, 2021

Subsystems (2)
lore
Share & tools
lore

Eric Huang

author
#0 lore raw

PATCH 1/1 drm/amdgpu: Fix warning of Function parameter or member not described

Add the parameter table_freed description on function description.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +1 -0
index b4f189ab672e..9db1b64d16d9 100644
@@ -1823,6 +1823,7 @@ void amdgpu_vm_get_memory(struct amdgpu_vm *vm, uint64_t *vram_mem,
  * @adev: amdgpu_device pointer
  * @bo_va: requested BO and VM object
  * @clear: if true clear the entries
+ * @table_freed: return true if page table is freed
  *
  * Fill in the page table entries for @bo_va.
  *
Signature · 6 lines
2.25.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Reviewed-by on v1 1/1
#1 lore raw

Am 07.06.21 um 16:21 schrieb Eric Huang:

Quoted 3 lines

Add the parameter table_freed description on function description.

Quoted 9 lines
---
  drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 1 +
  1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +0 -0
index b4f189ab672e..9db1b64d16d9 100644

drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c void amdgpu_vm_get_memory(struct amdgpu_vm *vm, uint64_t *vram_mem, · line 1829

Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +1 -0
@@ -1823,6 +1823,7 @@ void amdgpu_vm_get_memory(struct amdgpu_vm *vm, uint64_t *vram_mem,
   * @adev: amdgpu_device pointer
   * @bo_va: requested BO and VM object
   * @clear: if true clear the entries
+ * @table_freed: return true if page table is freed
   *
   * Fill in the page table entries for @bo_va.
   *

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx