drm/amdgpu: fix addr handling in amdgpu_vm_bo_update_mapping
authorChristian König <christian.koenig@amd.com>
Sun, 25 Sep 2016 09:54:00 +0000 (11:54 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Sep 2016 17:00:49 +0000 (13:00 -0400)
commitd7a4ac667eab23307e82100cbceb781936a4500f
treef201589d08c168e888de3c2d5740a7a4265ba082
parent3374dcebb827307bc9487dcf4a7b61b8e6004b28
drm/amdgpu: fix addr handling in amdgpu_vm_bo_update_mapping

Otherwise we will look at the wrong place in the IB when GART
mappings are split into smaller updates.

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