Skip to content

drm/xe: VM Overcommit handling fixes

Thomas Hellström intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/xe/bo: Forward the decision to evict local objects during validationdrivers/gpu/drm/xe/xe_bo.c drivers/gpu/drm/xe/xe_exec.c drivers/gpu/drm/xe/xe_vm.c +1 more+34 -33 replies
2/3drm/xe/bo: Allow eviction of unbound local bosdrivers/gpu/drm/xe/xe_bo.c+6 -13 replies
3/3drm/xe/bo: Allow migrating local bos to TT to make room in VRAMdrivers/gpu/drm/xe/xe_bo.c+19 -01 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMatthew Brost
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] drm/xe: VM Overcommit handling fixes

We were not allowing eviction / shrinking of completely unbound local objects. Since unbinding is the UMD primary means of freeing up memory on local VM overcommit situations, fix this.

While on it, also reinstate the migration of local objects from VRAM to TT if the placement list allows it.

Also open up the possibility to evict purgeable local objects with upcoming changes.

Cc Thomas Hellström <[email protected]>
Cc Rodrigo Vivi <[email protected]>
Cc Matthew Brost <[email protected]>
Cc Lucas De Marchi <[email protected]>
Cc Oded Gabbay <[email protected]>

Thomas Hellström (3):
drm/xe/bo: Forward the decision to evict local objects during
validation
drm/xe/bo: Allow eviction of unbound local bos drm/xe/bo: Allow migrating local bos to TT to make room in VRAM

 drivers/gpu/drm/xe/xe_bo.c       | 41 +++++++++++++++++++++++++++++++-
 drivers/gpu/drm/xe/xe_exec.c     |  2 ++
 drivers/gpu/drm/xe/xe_vm.c       |  8 +++++--
 drivers/gpu/drm/xe/xe_vm_types.h |  7 ++++++
 4 files changed, 55 insertions(+), 3 deletions(-)
Signature · 18 lines
2.43.0



Thomas Hellström (3):
  drm/xe/bo: Forward the decision to evict local objects during
    validation
  drm/xe/bo: Allow eviction of unbound local bos
  drm/xe/bo: Allow migrating local bos to TT to make room in VRAM

 drivers/gpu/drm/xe/xe_bo.c       | 41 +++++++++++++++++++++++++++++++-
 drivers/gpu/drm/xe/xe_exec.c     |  2 ++
 drivers/gpu/drm/xe/xe_vm.c       |  8 +++++--
 drivers/gpu/drm/xe/xe_vm_types.h | 10 ++++++++
 4 files changed, 58 insertions(+), 3 deletions(-)

-- 
2.43.0