WSL2-Linux-Kernel/drivers/gpu/drm/amd
Felix Kuehling 0fc8011f89 drm/amdkfd: Kmap event page for dGPUs
The events page must be accessible in user mode by the GPU and CPU
as well as in kernel mode by the CPU. On dGPUs user mode virtual
addresses are managed by the Thunk's GPU memory allocation code.
Therefore we can't allocate the memory in kernel mode like we do
on APUs. But KFD still needs to map the memory for kernel access.
To facilitate this, the Thunk provides the buffer handle of the
events page to KFD when creating the first event.

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>
2018-03-15 17:27:52 -04:00
..
acp drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00
amdgpu drm/amdgpu: Add kfd2kgd interface to acquire an existing VM 2018-03-15 17:27:43 -04:00
amdkfd drm/amdkfd: Kmap event page for dGPUs 2018-03-15 17:27:52 -04:00
display drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00
include drm/amdkfd: Add ioctls for GPUVM memory management 2018-03-15 17:27:51 -04:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amd/pp: clean header file hwmgr.h 2018-03-23 09:42:42 -05:00