intel-xe.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] drm/xe: Fixes around eviction and suspend
@ 2025-09-01  8:38 Thomas Hellström
  2025-09-01  8:38 ` [PATCH v2 1/3] drm/xe: Attempt to bring bos back to VRAM after eviction Thomas Hellström
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Thomas Hellström @ 2025-09-01  8:38 UTC (permalink / raw)
  To: intel-xe
  Cc: Thomas Hellström, Matthew Auld, Matthew Brost, Rodrigo vivi,
	Maarten Lankhorst

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.

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  |  2 ++
 drivers/gpu/drm/xe/xe_dma_buf.c       |  2 +-
 drivers/gpu/drm/xe/xe_exec.c          |  9 +++++++++
 drivers/gpu/drm/xe/xe_pm.c            | 21 +++++++++++----------
 drivers/gpu/drm/xe/xe_vm.c            | 14 ++++++++++++++
 9 files changed, 52 insertions(+), 26 deletions(-)

-- 
2.50.1


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

end of thread, other threads:[~2025-09-02 11:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-01  8:38 [PATCH v2 0/3] drm/xe: Fixes around eviction and suspend Thomas Hellström
2025-09-01  8:38 ` [PATCH v2 1/3] drm/xe: Attempt to bring bos back to VRAM after eviction Thomas Hellström
2025-09-02 11:45   ` Matthew Auld
2025-09-01  8:38 ` [PATCH v2 2/3] drm/xe: Allow the pm notifier to continue on failure Thomas Hellström
2025-09-02 10:32   ` Matthew Auld
2025-09-01  8:38 ` [PATCH v2 3/3] drm/xe: Block exec and rebind worker while evicting for suspend / hibernate Thomas Hellström
2025-09-01  8:45 ` ✓ CI.KUnit: success for drm/xe: Fixes around eviction and suspend (rev2) Patchwork
2025-09-01  9:20 ` ✓ Xe.CI.BAT: " Patchwork
2025-09-01 11:16 ` ✓ Xe.CI.Full: " 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).