mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
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>
This commit is contained in:
parent
f921661bd4
commit
07e6d3f03b
1 changed files with 1 additions and 1 deletions
|
@ -1106,7 +1106,7 @@ int amdgpu_vm_update_directories(struct amdgpu_device *adev,
|
||||||
struct amdgpu_vm_bo_base,
|
struct amdgpu_vm_bo_base,
|
||||||
vm_status);
|
vm_status);
|
||||||
bo_base->moved = false;
|
bo_base->moved = false;
|
||||||
list_del_init(&bo_base->vm_status);
|
list_move(&bo_base->vm_status, &vm->idle);
|
||||||
|
|
||||||
bo = bo_base->bo->parent;
|
bo = bo_base->bo->parent;
|
||||||
if (!bo)
|
if (!bo)
|
||||||
|
|
Loading…
Reference in a new issue