Skip to content

Commit

Permalink
drm/amdkfd: Fill amdgpu_task_info for KFD VMs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yong Zhao authored and Alex Deucher committed Aug 15, 2019
1 parent 8b7d615 commit f40c691
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/amd/amdkfd/kfd_process.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f40c691

Please sign in to comment.