Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] Interruptible bb wait + related bits
@ 2026-11-27 12:14 Matthew Auld
  2026-11-27 12:14 ` [PATCH v2 1/6] drm/xe/sa: allow callers to specify interruptible suballocator waits Matthew Auld
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Matthew Auld @ 2026-11-27 12:14 UTC (permalink / raw)
  To: intel-xe; +Cc: Thomas Hellström, Matthew Brost, Matthew Auld

Original motivation comes from user issue:
https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/9644

Original attempt:
https://patchwork.freedesktop.org/series/176670/

In this version the approach is to try to reduce overall pressure on the
bb pool.

The first three patches fix suballocator waits so callers can control
whether bb waits are interruptible, keeping waits uninterruptible where
required by the caller or once multi-pass migration work is already in
flight.

Remaining patches reduce overall pressure on the bb pool and make
hitting the wait less likely in the first place. Also, there is a small
optimisation for big VRAM clears via indentity map, in addition to
cleaning up unused suballocator helpers.

---
Changes in v2:
- Add some missing Fixes: tags (Thomas).
- Move the stable fixes to the start of the series.
- Fix display fbdev takeover build by passing intr=false to
  xe_migrate_copy().
- Link to v1: https://lore.kernel.org/r/20261030-migrate-bb-optimise-v1-0-b8d01649cfe9@intel.com

---
Matthew Auld (6):
      drm/xe/sa: allow callers to specify interruptible suballocator waits
      drm/xe/migrate: plumb interruptible wait flag to clear and copy
      drm/xe/migrate: avoid interruptible waits once passes are in flight
      drm/xe/migrate: optimise chunk sizes for identity VRAM clears
      drm/xe/bb: drop per-batch prefetch padding
      drm/xe/sa: remove unused shadow BO and two-step bb helpers

 drivers/gpu/drm/xe/display/xe_display_bo.c |   3 +-
 drivers/gpu/drm/xe/tests/xe_bo.c           |   2 +-
 drivers/gpu/drm/xe/tests/xe_migrate.c      |  12 ++--
 drivers/gpu/drm/xe/xe_bb.c                 |  90 ++----------------------
 drivers/gpu/drm/xe/xe_bb.h                 |  12 ++--
 drivers/gpu/drm/xe/xe_bo.c                 |   9 +--
 drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c |   3 +-
 drivers/gpu/drm/xe/xe_guc_buf.c            |   6 +-
 drivers/gpu/drm/xe/xe_migrate.c            |  25 +++++--
 drivers/gpu/drm/xe/xe_migrate.h            |   6 +-
 drivers/gpu/drm/xe/xe_page_reclaim.c       |   2 +-
 drivers/gpu/drm/xe/xe_sa.c                 | 109 ++---------------------------
 drivers/gpu/drm/xe/xe_sa.h                 |  31 +++-----
 drivers/gpu/drm/xe/xe_sa_types.h           |   3 -
 drivers/gpu/drm/xe/xe_vram.c               |   2 +-
 15 files changed, 71 insertions(+), 244 deletions(-)
---
base-commit: 2167aae7e27a3c224f220ce01eea87498ff3724d
change-id: 20261028-migrate-bb-optimise-65bb54cf303e


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

end of thread, other threads:[~2026-11-27 13:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-27 12:14 [PATCH v2 0/6] Interruptible bb wait + related bits Matthew Auld
2026-11-27 12:14 ` [PATCH v2 1/6] drm/xe/sa: allow callers to specify interruptible suballocator waits Matthew Auld
2026-11-27 12:14 ` [PATCH v2 2/6] drm/xe/migrate: plumb interruptible wait flag to clear and copy Matthew Auld
2026-11-27 12:14 ` [PATCH v2 3/6] drm/xe/migrate: avoid interruptible waits once passes are in flight Matthew Auld
2026-11-27 12:14 ` [PATCH v2 4/6] drm/xe/migrate: optimise chunk sizes for identity VRAM clears Matthew Auld
2026-11-27 12:14 ` [PATCH v2 5/6] drm/xe/bb: drop per-batch prefetch padding Matthew Auld
2026-11-27 12:33   ` sashiko-bot
2026-11-27 12:14 ` [PATCH v2 6/6] drm/xe/sa: remove unused shadow BO and two-step bb helpers Matthew Auld
2026-11-27 12:27 ` ✓ CI.KUnit: success for Interruptible bb wait + related bits (rev2) Patchwork
2026-11-27 13:37 ` ✓ Xe.CI.BAT: " Patchwork

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