drm/amdgpu: separate page table allocation from mapping
authorChristian König <christian.koenig@amd.com>
Mon, 13 Mar 2017 09:13:37 +0000 (10:13 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:54:00 +0000 (23:54 -0400)
commit663e4577a5733fab18d601128f54486d78595bc0
treeaf0a0b2121dea7755bcb0b1bbde9af53f986db18
parent4388fc2ab0e83fd6247c48c7e97064cc75511848
drm/amdgpu: separate page table allocation from mapping

This makes it easier to implement a replace operation.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h