Skip to content

drm/xe: Eviction fixes and optimizations

Thomas Hellström intel-xe 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 2 repliesIn review
  2. v26 patches 4 repliesSuperseded
  3. v16 patches 10 repliesSuperseded

Changes in v3 from the cover letter

- Remove patch 1 and 6
- Fix a NULL pointer dereference

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/xe/bo: Fix swapin when moving to VRAMdrivers/gpu/drm/xe/xe_bo.c+5 -20 replies
2/4drm/xe/bo: Avoid creating a system resource when allocating a fresh VRAM bodrivers/gpu/drm/xe/xe_bo.c+27 -211 reply
3/4drm/xe/bo: Gracefully handle errors from ttm_bo_move_accel_cleanup().drivers/gpu/drm/xe/xe_bo.c+5 -01 reply
4/4drm/xe/bo: Evict VRAM to TT rather than to systemdrivers/gpu/drm/xe/xe_bo.c+16 -10 replies

Reviews trailers per patch

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

PatchMatthew BrostMatthew Auld
1/4R-b
2/4R-b
3/4R-b
4/4R-b

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

Read the v3 thread

Cover letter [Intel-xe] [PATCH v3 0/4] drm/xe: Eviction fixes and optimizations

MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Attempt to fix some xe_evict igt tests, and allow for pipelined eviction. Some tests, like evict-large-multi-vm-cm still fail due to memory allocation errors, and those may require some deeper TTM surgery.

Moving forward we should also look at moving out same-vm bos to TT that has XE_PL_TT as a compatible placement when VRAM is full.

v2:
- Minor fixes to address review comments from Matthew Brost
- Proper Cc for the TTM patch 6.

v3:
- Remove patch 1 and 6
- Fix a NULL pointer dereference

Thomas Hellström (4):
drm/xe/bo: Fix swapin when moving to VRAM
drm/xe/bo: Avoid creating a system resource when allocating a fresh
VRAM bo
drm/xe/bo: Gracefully handle errors from ttm_bo_move_accel_cleanup(). drm/xe/bo: Evict VRAM to TT rather than to system

 drivers/gpu/drm/xe/xe_bo.c | 75 ++++++++++++++++++++++++++------------
 1 file changed, 52 insertions(+), 23 deletions(-)
Signature · 1 line
2.40.1