]> 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)
commitfb98e5e0117ed5b14a9f243aa8af3ae4b04ec309
tree6257aaec6ec041f11a17f15e2b5a5fd96d5d2113
parentc255a7a2667ec6168e0af0fefde2047d07906816
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