diff options
author | Felix Kuehling <Felix.Kuehling@amd.com> | 2018-03-15 17:27:49 -0400 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2018-03-15 17:27:49 -0400 |
commit | f35751b87034f0c2d11e60cdfb0179c4f1a7e296 (patch) | |
tree | aa6603006931b447263f11d5e8e755f6b7d4836c /drivers/fpga/xilinx-spi.c | |
parent | 52b29d73340da6cbb10ba42b0a28e7fb795afe9c (diff) |
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/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions