summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2018-03-15 22:27:44 +0100
committerOded Gabbay <oded.gabbay@gmail.com>2018-03-15 22:27:44 +0100
commitb84394e206a748ce34beeed462f237474f3c6c00 (patch)
treeab401e80596304c17702b6007077054ae85abee7 /drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
parentdrm/amdgpu: Add kfd2kgd interface to acquire an existing VM (diff)
downloadlinux-b84394e206a748ce34beeed462f237474f3c6c00.tar.xz
linux-b84394e206a748ce34beeed462f237474f3c6c00.zip
drm/amdkfd: Create KFD VMs on demand
Instead of creating all VMs on process creation, create them when a process is bound to a device. This will later allow registering an existing VM from a DRM render node FD at runtime, before the process is bound to the device. This way the render node VM can be used for KFD instead of creating our own redundant VM. Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_chardev.c')
0 files changed, 0 insertions, 0 deletions