Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] drm/xe: Allow pinning of VRAM dma-bufs
@ 2025-09-18  9:22 Thomas Hellström
  2025-09-18  9:22 ` [PATCH v2 1/3] drm/xe: Don't copy pinned kernel bos twice on suspend Thomas Hellström
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Thomas Hellström @ 2025-09-18  9:22 UTC (permalink / raw)
  To: intel-xe; +Cc: Thomas Hellström

Three patches that together allow pinning of VRAM dma-bufs.

Patch 1 and 2 deals with backing those bos up on suspend,
Patch 3 implements the pinning and suggests a path to
a flexible cgroups accounting, on top of the cgroups
accounting we already have.

v2:
- Ensure content survives suspend and resume (Matt Auld)
- Update test comments (Niranjana)

Thomas Hellström (3):
  drm/xe: Don't copy pinned kernel bos twice on suspend
  drm/xe: Pre-allocate system memory for pinned external bos in the pm
    notfier
  drm/xe/dma-buf: Allow pinning of p2p dma-buf

 drivers/gpu/drm/xe/tests/xe_dma_buf.c | 17 +++++++++--
 drivers/gpu/drm/xe/xe_bo_evict.c      | 13 +++++++--
 drivers/gpu/drm/xe/xe_dma_buf.c       | 41 +++++++++++++++++----------
 3 files changed, 52 insertions(+), 19 deletions(-)

-- 
2.51.0


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

end of thread, other threads:[~2025-09-22 12:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-18  9:22 [PATCH v2 0/3] drm/xe: Allow pinning of VRAM dma-bufs Thomas Hellström
2025-09-18  9:22 ` [PATCH v2 1/3] drm/xe: Don't copy pinned kernel bos twice on suspend Thomas Hellström
2025-09-18  9:38   ` Matthew Auld
2025-09-18  9:22 ` [PATCH v2 2/3] drm/xe: Pre-allocate system memory for pinned external bos in the pm notfier Thomas Hellström
2025-09-18  9:52   ` Matthew Auld
2025-09-18  9:22 ` [PATCH v2 3/3] drm/xe/dma-buf: Allow pinning of p2p dma-buf Thomas Hellström
2025-09-18 16:10   ` Simona Vetter
2025-09-22  9:11   ` Maarten Lankhorst
2025-09-18  9:40 ` ✓ CI.KUnit: success for drm/xe: Allow pinning of VRAM dma-bufs Patchwork
2025-09-18 10:12 ` ✓ Xe.CI.BAT: " Patchwork
2025-09-18 17:28 ` ✗ Xe.CI.Full: failure " Patchwork
2025-09-22 12:27   ` Thomas Hellström

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox