projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b7d615
)
drm/amdkfd: Fill amdgpu_task_info for KFD VMs
author
Yong Zhao
<Yong.Zhao@amd.com>
Wed, 7 Aug 2019 21:45:37 +0000
(17:45 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 15 Aug 2019 15:58:21 +0000
(10:58 -0500)
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>
drivers/gpu/drm/amd/amdkfd/kfd_process.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdkfd/kfd_process.c
b/drivers/gpu/drm/amd/amdkfd/kfd_process.c
index
8f1076c
..
2ec4274
100644
(file)
--- a/
drivers/gpu/drm/amd/amdkfd/kfd_process.c
+++ b/
drivers/gpu/drm/amd/amdkfd/kfd_process.c
@@
-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;