drm/amdkfd: Add support for doorbell BOs
authorFelix Kuehling <Felix.Kuehling@amd.com>
Wed, 21 Nov 2018 02:44:27 +0000 (21:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Dec 2018 23:14:00 +0000 (18:14 -0500)
commitb408a548846f2343716351d55a6c9af9e73ec32c
treefc67d39a714e6276d23715f0f4fe6ed76ba90ef6
parent1dde0ea95b782425b95455d487cb44991525a1d1
drm/amdkfd: Add support for doorbell BOs

This allows user mode to map doorbell pages into GPUVM address space.
That way GPUs can submit to user mode queues (self-dispatch).

Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
drivers/gpu/drm/amd/include/kgd_kfd_interface.h