drm/amdkfd: Fill amdgpu_task_info for KFD VMs
Subsystems (3)
PATCH 1/1 drm/amdkfd: Fill amdgpu_task_info for KFD VMs
The amdgpu_task_info will be used when printing VM page fault for KFD processes.
--- drivers/gpu/drm/amd/amdkfd/kfd_process.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/amdkfd/kfd_process.c +2 -0
@@ -801,6 +801,8 @@ int kfd_process_device_init_vm(struct kfd_process_device *pdd,return ret; } +amdgpu_vm_set_task_info (pdd->vm); + ret =kfd_process_device_reserve_ib_mem (pdd);if (ret) goto err_reserve_ib_mem;
Signature · 6 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): [email protected]
Christian König
Acked-byAm 13.08.19 um 21:20 schrieb Zhao, Yong:
Quoted 5 lines
The
amdgpu_task_infowill be used when printing VM page fault for KFD processes.Change-Id Ifd983db5dceb1d477e7287e4893f80565a7a6b06Signed-off-by Yong Zhao <[email protected]>
Quoted 9 lines
--- drivers/gpu/drm/amd/amdkfd/kfd_process.c | 2 ++ 1 file changed, 2 insertions(+)drivers/gpu/drm/amd/amdkfd/kfd_process.c +0
-0
drivers/gpu/drm/amd/amdkfd/kfd_process.c int kfd_process_device_init_vm(struct kfd_process_device *pdd, · line 808
Quoted 8 lines
drivers/gpu/drm/amd/amdkfd/kfd_process.c +2
-0@@ -801,6 +801,8 @@ int kfd_process_device_init_vm(struct kfd_process_device *pdd,return ret; } +amdgpu_vm_set_task_info (pdd->vm); + ret =kfd_process_device_reserve_ib_mem (pdd);if (ret) goto err_reserve_ib_mem;
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1557e6fe-60a0-39ff-1ffd-2133be879113-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Kasiviswanathan, Harish
Reviewed-by Harish KasiviswanathanQuoted 22 lines · Christian König
Am 13.08.19 um 21:20 schrieb Zhao, Yong:
Quoted 5 lines
The
amdgpu_task_infowill be used when printing VM page fault for KFD processes.Change-Id Ifd983db5dceb1d477e7287e4893f80565a7a6b06Signed-off-by Yong Zhao <[email protected]>Acked-by Christian König <[email protected]>Quoted 13 lines
---
drivers/gpu/drm/amd/amdkfd/kfd_process.c| 2 ++1 file changed, 2 insertions(+)drivers/gpu/drm/amd/amdkfd/kfd_process.c +1
-0@@ -801,6 +801,8 @@ int kfd_process_device_init_vm(struct kfd_process_device *pdd, return ret; } + amdgpu_vm_set_task_info(pdd->vm); +
Quoted 8 lines
drivers/gpu/drm/amd/amdkfd/kfd_process.c int kfd_process_device_init_vm(struct kfd_process_device *pdd, · line 808
Quoted 3 lines
drivers/gpu/drm/amd/amdkfd/kfd_process.c +0
-0ret = kfd_process_device_reserve_ib_mem(pdd); if (ret) goto err_reserve_ib_mem;_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx