OSDN Git Service

drm/amdgpu: new VM update backends
authorChristian König <christian.koenig@amd.com>
Mon, 18 Mar 2019 12:16:03 +0000 (13:16 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 Mar 2019 18:59:15 +0000 (13:59 -0500)
commit6dd09027a22ac78f6ab1881aa7e2e21ad61c02b8
tree2ea047f79ddba6fd7af00ca7a1241ee633d251e1
parent802a4a484a76d00af6220e402eb66a1063287d30
drm/amdgpu: new VM update backends

Separate out all functions for SDMA and CPU based page table
updates into separate backends.

This way we can keep most of the complexity of those from the
core VM code.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c [new file with mode: 0644]