diff options
author | Huang Rui <ray.huang@amd.com> | 2018-07-31 09:24:40 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-08-27 12:11:22 -0400 |
commit | 07e6d3f03b5ff7b93af37932ee0f4b775812274f (patch) | |
tree | 37ba34415f289992e4595b35928573b873f4fa8f /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
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 <ray.huang@amd.com>
Tested-by: Mike Lothian <mike@fireburn.co.uk>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Acked-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
-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: | |||
1106 | struct amdgpu_vm_bo_base, | 1106 | struct amdgpu_vm_bo_base, |
1107 | vm_status); | 1107 | vm_status); |
1108 | bo_base->moved = false; | 1108 | bo_base->moved = false; |
1109 | list_del_init(&bo_base->vm_status); | 1109 | list_move(&bo_base->vm_status, &vm->idle); |
1110 | 1110 | ||
1111 | bo = bo_base->bo->parent; | 1111 | bo = bo_base->bo->parent; |
1112 | if (!bo) | 1112 | if (!bo) |