drm/msm: remove objects from evit list after pinning them
PATCH v2 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.
---
Changes in v2:
- Added Fixes tag
- Link to v1: https://patch.msgid.link/[email protected]
To: Rob Clark <[email protected]>
To: Dmitry Baryshkov <[email protected]>
To: Abhinav Kumar <[email protected]>
To: Jessica Zhang <[email protected]>
To: Sean Paul <[email protected]>
To: Marijn Suijten <[email protected]>
To: David Airlie <[email protected]>
To: Simona Vetter <[email protected]>
To: Antonino Maniscalco <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [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 -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]>