mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
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: Yong Zhao <Yong.Zhao@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Reviewed-by: Harish Kasiviswanathan <harish.kasiviswanatha@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
8b7d6157f2
commit
f40c6912d2
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user