]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit62f2f282dfa8fa850a7833005a0133b93e1ae354
tree6257aaec6ec041f11a17f15e2b5a5fd96d5d2113
parent7d25a320711a66d7bd1eefaac2dbb6643f009df7
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