summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c
diff options
context:
space:
mode:
authorFelix Kuehling2018-03-15 22:27:49 +0100
committerOded Gabbay2018-03-15 22:27:49 +0100
commitf35751b87034f0c2d11e60cdfb0179c4f1a7e296 (patch)
treeaa6603006931b447263f11d5e8e755f6b7d4836c /drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c
parentdrm/amdkfd: Add per-process IDR for buffer handles (diff)
downloadkernel-qcow2-linux-f35751b87034f0c2d11e60cdfb0179c4f1a7e296.tar.gz
kernel-qcow2-linux-f35751b87034f0c2d11e60cdfb0179c4f1a7e296.tar.xz
kernel-qcow2-linux-f35751b87034f0c2d11e60cdfb0179c4f1a7e296.zip
drm/amdkfd: Allocate CWSR trap handler memory for dGPUs
Add helpers for allocating GPUVM memory in kernel mode and use them to allocate memory for the CWSR trap handler. v2: Use dev instead of pdd->dev in kfd_process_free_gpuvm v3: * Cleaned up and simplified kfd_process_alloc_gpuvm * Moved allocation for dGPU to kfd_process_device_init_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_packet_manager.c')
0 files changed, 0 insertions, 0 deletions