]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix moved list handling in the VM
authorChristian König <christian.koenig@amd.com>
Fri, 1 Sep 2017 12:46:19 +0000 (14:46 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 Sep 2017 16:50:35 +0000 (12:50 -0400)
commit9e6aa6d5c7ea1788ff6949e949a34bdf86a99a4a
tree9e61f509f721c64d066d567803958d16a5461a42
parent477c930fc6b7bc68300257b5ecff7d5b59cefba9
drm/amdgpu: fix moved list handling in the VM

Only move BOs to the moved/relocated list when they aren't already on a list.

This prevents accidential removal from the evicted list.

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