Interruptible bb wait + related bits
Get series with b4
b4 am [email protected] change-id 20261028-migrate-bb-optimise-65bb54cf303eVersions newest first
- v1 Latest6 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | drm/xe/migrate: allow larger chunk sizes for identity VRAM clearsdrivers/ | +6 | 1 reply | |
| 2/6 | drm/xe/bb: drop per-batch prefetch paddingdrivers/ | +6 | 1 reply | |
| 3/6 | drm/xe/sa: remove unused shadow BO and two-step bb helpersdrivers/ drivers/ drivers/ +3 more | +4 | 1 reply | |
| 4/6 | drm/xe/sa: allow callers to specify interruptible suballocator waitsdrivers/ drivers/ drivers/ +3 more | +23 | 1 reply | |
| 5/6 | drm/xe/migrate: plumb interruptible wait flag to clear and copydrivers/ drivers/ drivers/ +4 more | +31 | 1 reply | |
| 6/6 | drm/xe/migrate: avoid interruptible waits once passes are in flightdrivers/ | +2 | 1 reply |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Thomas Hellström |
|---|---|
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | R-b |
| 5/6 | R-b |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] Interruptible bb wait + related bits
Original motivation comes from user issue:
https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/9644
Previous attempt:
https://patchwork.freedesktop.org/series/176670/
In this version the approach is to try to reduce overall pressure on the bb pool. And then for the bb wait, which is now much less likely to be hit, keeping it uinterruptible only where it makes sense, like when caller asked for it.
---
Matthew Auld (6):
drm/xe/migrate: allow larger 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 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
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 +- 14 files changed, 69 insertions(+), 243 deletions(-)
---
base-commit: 29f9258a2788a1066c0910c480e65c80887f4d20
change-id: 20261028-migrate-bb-optimise-65bb54cf303e