]> 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)
commitf7666cf80ebd67bb99caf44a323eb891fb2011d5
tree9e61f509f721c64d066d567803958d16a5461a42
parent985ab6161fbda2560ac6cfb020dd5af3cf760989
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