drm/amdgpu: allow direct submission in the VM backends v2
authorChristian König <christian.koenig@amd.com>
Mon, 16 Sep 2019 15:33:28 +0000 (10:33 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Sep 2019 15:42:55 +0000 (10:42 -0500)
commit47ca7efa4c13f8698cddc0b9c96938e7febe9258
tree6257aaec6ec041f11a17f15e2b5a5fd96d5d2113
parenta2cf324785a6dea0a221f5cdfb945b59d2153eeb
drm/amdgpu: allow direct submission in the VM backends v2

This allows us to update page tables directly while in a page fault.

v2: use direct/delayed entities and still wait for moves

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c