drm/msm: remove objects from evit list after pinning them
PATCH 1/1 drm/msm: remove objects from evit list after pinning them
Once objects are pinned they should not be kept in the evict list as that will cause drm_gpuvm_validate to keep ieterating a growing list of objects needlessly.
Once an object is pinned remove it from the list.
--- drivers/gpu/drm/msm/msm_gem_vma.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/msm/msm_gem_vma.c +2 -0
@@ -458,6 +458,8 @@ msm_gem_vm_bo_validate(struct drm_gpuvm_bo *vm_bo, struct drm_exec *exec)return ret; } +drm_gpuvm_bo_evict (vm_bo, false); +return 0 ; }
---
base-commit: 9a967125427e03c7ebc24d7ad26e9307e8403d4e
change-id: 20260723-evict_list_fix-1da92b2627aa
Best regards,
Signature · 1 line
Anna Maniscalco <[email protected]>
Quoted 7 lines · Anna Maniscalco
Once objects are pinned they should not be kept in the evict list as that will cause
drm_gpuvm_validateto keep ieterating a growing list of objects needlessly.Once an object is pinned remove it from the list.
Quoted 27 lines
Signed-off-by Anna Maniscalco <[email protected]>--- drivers/gpu/drm/msm/msm_gem_vma.c | 2 ++ 1 file changed, 2 insertions(+)drivers/gpu/drm/msm/msm_gem_vma.c +2
-1@@ -458,6 +458,8 @@ msm_gem_vm_bo_validate(struct drm_gpuvm_bo *vm_bo, struct drm_exec *exec)return ret; } +drm_gpuvm_bo_evict (vm_bo, false); +return 0 ; } ---base-commit:
9a967125427e03c7ebc24d7ad26e9307e8403d4e
change-id: 20260723-evict_list_fix-1da92b2627aaBest regards,
--
Anna Maniscalco <[email protected]>