Skip to content

drm/xe: Allow pinning of VRAM dma-bufs

Thomas Hellström intel-xe stable 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 5 repliesIn review
  2. v1 RFC1 patch 10 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/xe: Don't copy pinned kernel bos twice on suspenddrivers/gpu/drm/xe/xe_bo_evict.c+2 -21 reply
2/3drm/xe: Pre-allocate system memory for pinned external bos in the pm notfierdrivers/gpu/drm/xe/xe_bo_evict.c+9 -01 reply
3/3drm/xe/dma-buf: Allow pinning of p2p dma-bufdrivers/gpu/drm/xe/tests/xe_dma_buf.c drivers/gpu/drm/xe/xe_dma_buf.c+41 -172 replies

Reviews trailers per patch

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

PatchMatthew AuldSimona VetterMaarten Lankhorst
1/3R-b
2/3R-b
3/3A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/3] drm/xe: Allow pinning of VRAM dma-bufs

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(-)
Signature · 1 line
2.51.0