aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
diff options
context:
space:
mode:
authorAndré Almeida <[email protected]>2025-06-17 12:49:45 +0000
committerAndré Almeida <[email protected]>2025-06-17 14:32:47 +0000
commit3bfd1af74a7fc239ab05bc780e2f455c37fe6219 (patch)
tree972bd0388f0eda58c2364d20f55b51c12374a25b /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
parentdrm: amdgpu: Allow NULL pointers at amdgpu_vm_put_task_info() (diff)
downloadkernel-3bfd1af74a7fc239ab05bc780e2f455c37fe6219.tar.gz
kernel-3bfd1af74a7fc239ab05bc780e2f455c37fe6219.zip
drm: amdgpu: Create amdgpu_vm_print_task_info()
To avoid repetitive code in amdgpu, create a function that prints the content of struct amdgpu_task_info. Reviewed-by: Christian König <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: André Almeida <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
index f3ad687125ad..9ec5d94200aa 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
@@ -668,4 +668,7 @@ void amdgpu_vm_tlb_fence_create(struct amdgpu_device *adev,
struct amdgpu_vm *vm,
struct dma_fence **fence);
+void amdgpu_vm_print_task_info(struct amdgpu_device *adev,
+ struct amdgpu_task_info *task_info);
+
#endif