Commit f40c6912 authored by Yong Zhao's avatar Yong Zhao Committed by 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: default avatarYong Zhao <Yong.Zhao@amd.com>
Acked-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarHarish Kasiviswanathan <harish.kasiviswanatha@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment