drm/amdgpu: rework moved handling in the VM v2
authorChristian König <christian.koenig@amd.com>
Wed, 23 Aug 2017 14:13:33 +0000 (16:13 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Aug 2017 19:28:02 +0000 (15:28 -0400)
commit3d7d4d3a1b9f67c0caecf2b2aa8d7c347f074a33
tree30c048a81343f29c2118246da7a2e556761d49d6
parent08cab989f77582cb19df12d4a75a91b68b0017f6
drm/amdgpu: rework moved handling in the VM v2

Instead of using the vm_state use a separate flag to note
that the BO was moved.

v2: reorder patches to avoid temporary lockless access

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