]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdd98cd15fb5d7df76ea3cf540462ac8f87580138
tree30c048a81343f29c2118246da7a2e556761d49d6
parentd2ca248d35555d1bb1043f9d3813044bf6d6f76c
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