projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f921661
)
drm/amdgpu: move PD/PT bos on LRU again
author
Huang Rui
<
[email protected]
>
Tue, 31 Jul 2018 13:24:40 +0000
(21:24 +0800)
committer
Alex Deucher
<
[email protected]
>
Mon, 27 Aug 2018 16:11:22 +0000
(11:11 -0500)
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]
>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
index 7b0fdf5c79f94174e2e4dc2aafd0dd26a74a249c..7e644bc6793e79559d41d24df21e38d853659c55 100644
(file)
--- 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)