提交 f40c6912 编写于 作者: Y Yong Zhao 提交者: Alex Deucher

drm/amdkfd: Fill amdgpu_task_info for KFD VMs

The amdgpu_task_info will be used when printing VM page fault for KFD
processes.
Signed-off-by: NYong Zhao <Yong.Zhao@amd.com>
Acked-by: NChristian König <christian.koenig@amd.com>
Reviewed-by: NHarish Kasiviswanathan <harish.kasiviswanatha@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 8b7d6157
...@@ -801,6 +801,8 @@ int kfd_process_device_init_vm(struct kfd_process_device *pdd, ...@@ -801,6 +801,8 @@ int kfd_process_device_init_vm(struct kfd_process_device *pdd,
return ret; return ret;
} }
amdgpu_vm_set_task_info(pdd->vm);
ret = kfd_process_device_reserve_ib_mem(pdd); ret = kfd_process_device_reserve_ib_mem(pdd);
if (ret) if (ret)
goto err_reserve_ib_mem; goto err_reserve_ib_mem;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册