drm/amdgpu: Support page table update via CPU
authorHarish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Thu, 11 May 2017 23:47:22 +0000 (19:47 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2017 15:30:04 +0000 (11:30 -0400)
commitb4d42511b7f2269f4cca3c02cd6e4c58099f9108
tree8647de564eb8f87fd305e36708e35940f047372b
parent3c8241722bc4f5879db42d3acd7fa840c8e608e7
drm/amdgpu: Support page table update via CPU

v2: Fix logical mistake. If CPU update failed amdgpu_vm_bo_update_mapping()
would not return and instead fall through to SDMA update. Minor change due to
amdgpu_vm_bo_wait() prototype change

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