drm/amdgpu: minor optimize VM moved handling v2
authorChristian König <christian.koenig@amd.com>
Fri, 1 Sep 2017 18:34:27 +0000 (20:34 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Jan 2018 20:44:53 +0000 (15:44 -0500)
commitec363e0dae59c8daae03978c1c94059d9c04d5eb
treec2d0bed7577cfcd92f96d54f0caa5d3fb7ce2356
parent4d4358f3f1d8fcc90aec89ea2925e748515b4332
drm/amdgpu: minor optimize VM moved handling v2

Try to lock moved BOs if it's successful we can update the
PTEs directly to the new location.

v2: rebase

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