intel-xe.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] drm/xe: VM Overcommit handling fixes
@ 2024-02-26 16:44 Thomas Hellström
  2024-02-26 16:44 ` [PATCH 1/3] drm/xe/bo: Forward the decision to evict local objects during validation Thomas Hellström
                   ` (9 more replies)
  0 siblings, 10 replies; 18+ messages in thread
From: Thomas Hellström @ 2024-02-26 16:44 UTC (permalink / raw)
  To: intel-xe
  Cc: Thomas Hellström, Rodrigo Vivi, Matthew Brost,
	Lucas De Marchi, Oded Gabbay

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 <thomas.hellstrom@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Oded Gabbay <ogabbay@kernel.org>

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(-)

-- 
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


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2024-02-27 17:36 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-26 16:44 [PATCH 0/3] drm/xe: VM Overcommit handling fixes Thomas Hellström
2024-02-26 16:44 ` [PATCH 1/3] drm/xe/bo: Forward the decision to evict local objects during validation Thomas Hellström
2024-02-26 21:36   ` Matthew Brost
2024-02-27 11:52     ` Thomas Hellström
2024-02-27 17:35       ` Matthew Brost
2024-02-26 16:44 ` [PATCH 2/3] drm/xe/bo: Allow eviction of unbound local bos Thomas Hellström
2024-02-26 21:42   ` Matthew Brost
2024-02-27 11:54     ` Thomas Hellström
2024-02-27 17:36       ` Matthew Brost
2024-02-26 16:44 ` [PATCH 3/3] drm/xe/bo: Allow migrating local bos to TT to make room in VRAM Thomas Hellström
2024-02-26 21:45   ` Matthew Brost
2024-02-26 18:18 ` ✓ CI.Patch_applied: success for drm/xe: VM Overcommit handling fixes Patchwork
2024-02-26 18:18 ` ✓ CI.checkpatch: " Patchwork
2024-02-26 18:19 ` ✓ CI.KUnit: " Patchwork
2024-02-26 18:30 ` ✓ CI.Build: " Patchwork
2024-02-26 18:31 ` ✓ CI.Hooks: " Patchwork
2024-02-26 18:32 ` ✓ CI.checksparse: " Patchwork
2024-02-26 19:10 ` ✓ CI.BAT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).