Revert "drm/amdgpu: move PD/PT bos on LRU again"

This reverts commit 31625ccae4464b61ec8cdb9740df848bbc857a5b.

It triggered various badness on my development machine when running the
piglit gpu profile with radeonsi on Bonaire, looks like memory
corruption due to insufficiently protected list manipulations.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Michel Dänzer 2018-08-29 11:59:38 +02:00 committed by Alex Deucher
parent 0e33495d49
commit d78c1fa0c9
1 changed files with 1 additions and 1 deletions

View File

@ -1127,7 +1127,7 @@ restart:
struct amdgpu_vm_bo_base, struct amdgpu_vm_bo_base,
vm_status); vm_status);
bo_base->moved = false; bo_base->moved = false;
list_move(&bo_base->vm_status, &vm->idle); list_del_init(&bo_base->vm_status);
bo = bo_base->bo->parent; bo = bo_base->bo->parent;
if (!bo) if (!bo)