drm/xe: Allow migrate vm gpu submissions from reclaim context
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest5 patches 1 replyIn review
- v35 patches 9 repliesSuperseded
- v25 patches 3 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 4 patches | 0 replies | Superseded |
Changes in v4 from the cover letter
- Add an assert (Matthew Brost)
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | drm/xe: Decouple job seqno and lrc seqnodrivers/ drivers/ drivers/ +4 more | +30 | 0 replies | |
| 2/5 | drm/xe: Split lrc seqno fence creation updrivers/ drivers/ drivers/ +1 more | +101 | 0 replies | |
| 3/5 | drm/xe: Don't initialize fences at xe_sched_job_create()drivers/ drivers/ drivers/ +3 more | +115 | 0 replies | |
| 4/5 | drm/xe: Remove xe_lrc_create_seqno_fence()drivers/ drivers/ | +0 | 0 replies | |
| 5/5 | drm/xe: Move job creation out of the struct xe_migrate::job_mutexdrivers/ | +8 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Rodrigo Vivi | Matthew Brost |
|---|---|---|
| 1/5 | R-b | |
| 2/5 | R-b | R-b |
| 3/5 | R-b | R-b |
| 4/5 | R-b | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/5] drm/xe: Allow migrate vm gpu submissions from reclaim context
On lunar lake, we need to be able to copy CCS compression metadata from reclaim context when using a shrinker.
ince we do dma_fence allocations under the
struct xe_migrate::job_mutex, we're facing a lockdep violation. This patchset deals with moving the job + fence allocation out of the job_mutex by splitting up the fence allocation- and initialization.
v2:
- Add a patch from Matthew Brost to fix up the use of composite fence seqno.
- A couple of bugfixes as detailed in patch 3. v3:
- Rebase on drm-tip.
v4:
- Add an assert (Matthew Brost)
Matthew Brost (1):
drm/xe: Decouple job seqno and lrc seqno
Thomas Hellström (4):
drm/xe: Split lrc seqno fence creation up
drm/xe: Don't initialize fences at xe_sched_job_create() drm/xe: Remove xe_lrc_create_seqno_fence()
drm/xe: Move job creation out of the struct xe_migrate::job_mutex
drivers/gpu/drm/xe/xe_exec_queue.c | 5 - drivers/gpu/drm/xe/xe_exec_queue_types.h | 10 -- drivers/gpu/drm/xe/xe_guc_submit.c | 5 +- drivers/gpu/drm/xe/xe_hw_fence.c | 59 ++++++-- drivers/gpu/drm/xe/xe_hw_fence.h | 7 +- drivers/gpu/drm/xe/xe_lrc.c | 39 +++++- drivers/gpu/drm/xe/xe_lrc.h | 4 +- drivers/gpu/drm/xe/xe_migrate.c | 17 ++- drivers/gpu/drm/xe/xe_ring_ops.c | 22 +-- drivers/gpu/drm/xe/xe_sched_job.c | 167 +++++++++++++---------- drivers/gpu/drm/xe/xe_sched_job.h | 5 + drivers/gpu/drm/xe/xe_sched_job_types.h | 20 ++- drivers/gpu/drm/xe/xe_trace.h | 9 +- 13 files changed, 237 insertions(+), 132 deletions(-)
Signature · 1 line
2.44.0