drm/amdgpu: optimize moved handling only when vm_debug is inactive
authorChristian König <christian.koenig@amd.com>
Wed, 3 Jan 2018 12:36:22 +0000 (13:36 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Jan 2018 20:44:54 +0000 (15:44 -0500)
commit9b8cad2047ddcce761b0665ba7e601228df82bfd
treebc8791436833655646524bf8e2f5a7347701dcc6
parent3cc1d3ea4a6a81a7108fe27fa42efd86ea64061d
drm/amdgpu: optimize moved handling only when vm_debug is inactive

Otherwise we would completely circumvent that debugging feature.

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