Skip to content

drm/xe: Fixes around eviction and suspend

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 2 repliesIn review
  2. v33 patches 2 repliesSuperseded
  3. v23 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches4 repliesSuperseded

Changes in v4 from the cover letter

- Misc fixes in patch 3 as detailed in the commit log of that patch.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/xe: Attempt to bring bos back to VRAM after evictiondrivers/gpu/drm/xe/tests/xe_bo.c drivers/gpu/drm/xe/tests/xe_dma_buf.c drivers/gpu/drm/xe/xe_bo.c +2 more+16 -160 replies
2/3drm/xe: Allow the pm notifier to continue on failuredrivers/gpu/drm/xe/xe_pm.c+7 -100 replies
3/3drm/xe: Block exec and rebind worker while evicting for suspend / hibernatedrivers/gpu/drm/xe/xe_device_types.h drivers/gpu/drm/xe/xe_exec.c drivers/gpu/drm/xe/xe_pm.c +3 more+88 -12 replies

Reviews trailers per patch

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

PatchMatthew Auld
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 v4 thread

Cover letter [PATCH v4 0/3] drm/xe: Fixes around eviction and suspend

Fixes to make evicted bos that are allowed both in VRAM and TT re-validated into VRAM after eviction and suspend.

Also a fix to improve on a race where the pm notifier races with active tasks when evicting bos for suspend.

v3:
- Don't wait_for_completion() in the rebind worker.
v4:
- Misc fixes in patch 3 as detailed in the commit log of that patch.

Thomas Hellström (3):
drm/xe: Attempt to bring bos back to VRAM after eviction drm/xe: Allow the pm notifier to continue on failure drm/xe: Block exec and rebind worker while evicting for suspend /
hibernate

 drivers/gpu/drm/xe/tests/xe_bo.c      |  2 +-
 drivers/gpu/drm/xe/tests/xe_dma_buf.c | 10 +------
 drivers/gpu/drm/xe/xe_bo.c            | 16 +++++++---
 drivers/gpu/drm/xe/xe_bo.h            |  2 +-
 drivers/gpu/drm/xe/xe_device_types.h  |  6 ++++
 drivers/gpu/drm/xe/xe_dma_buf.c       |  2 +-
 drivers/gpu/drm/xe/xe_exec.c          |  9 ++++++
 drivers/gpu/drm/xe/xe_pm.c            | 42 ++++++++++++++++++++-------
 drivers/gpu/drm/xe/xe_vm.c            | 42 ++++++++++++++++++++++++++-
 drivers/gpu/drm/xe/xe_vm.h            |  2 ++
 drivers/gpu/drm/xe/xe_vm_types.h      |  5 ++++
 11 files changed, 111 insertions(+), 27 deletions(-)
Signature · 1 line
2.50.1