diff options
author | Huang Rui <[email protected]> | 2018-07-31 21:24:40 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2018-08-27 11:11:22 -0500 |
commit | 07e6d3f03b5ff7b93af37932ee0f4b775812274f (patch) | |
tree | 37ba34415f289992e4595b35928573b873f4fa8f | |
parent | f921661bd4a112f80d57bbfb3e792da63787f4b0 (diff) |
drm/amdgpu: move PD/PT bos on LRU again
The new bulk moving functionality is ready, the overhead of moving PD/PT bos to
LRU is fixed. So move them on LRU again.
Signed-off-by: Huang Rui <[email protected]>
Tested-by: Mike Lothian <[email protected]>
Tested-by: Dieter Nützel <[email protected]>
Acked-by: Chunming Zhou <[email protected]>
Reviewed-by: Junwei Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c index 7b0fdf5c79f9..7e644bc6793e 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c @@ -1106,7 +1106,7 @@ restart: struct amdgpu_vm_bo_base, vm_status); bo_base->moved = false; - list_del_init(&bo_base->vm_status); + list_move(&bo_base->vm_status, &vm->idle); bo = bo_base->bo->parent; if (!bo) |