Skip to contentSkip to conversation

Xe submission as it relates to DRM scheduler

PATCH New Matthew Brost 1 participant 2 messages Sep 30, 2025

Subsystems (4)
lore
Share & tools
lore

Matthew Brost

author maintainer
#0 lore raw

cover Xe submission as it relates to DRM scheduler

Have XDC workshop about submission tomorrow - rather than explain this on in person might be helpful for stakeholders to read this one through.

Matt

Matthew Brost (1):
drm/xe/guc: Document GuC submission backend

 Documentation/gpu/xe/index.rst     |   1 +
 drivers/gpu/drm/xe/xe_guc_submit.c | 282 +++++++++++++++++++++++++++++
 2 files changed, 283 insertions(+)
Signature · 1 line
2.34.1
author maintainer
#1 lore raw

PATCH 1/1 drm/xe/guc: Document GuC submission backend

Add kernel-doc to xe_guc_submit.c describing the submission path, the per-queue single-threaded model with pause/resume, the driver shadow state machine and lost-H2G replay, job timeout handling, recovery flows (GT reset, PM resume, VF resume), and reclaim constraints.

v2:
- Mirror tweaks for clarity
- Add new doc to Xe rst files
v3:
- Clarify global vs per-queue stop / start
- Clarify VF resume flow
- Add section for 'Waiters during VF resume'
- Add section for 'Page-faulting queues during VF migration'
- Add section for 'GuC-ID assignment'
- Add section for 'Reference counting and final queue destruction'
v4:
- s/VF resume/VF post migration recovery (Tomasz)

---
 Documentation/gpu/xe/index.rst     |   1 +
 drivers/gpu/drm/xe/xe_guc_submit.c | 282 +++++++++++++++++++++++++++++
 2 files changed, 283 insertions(+)
Documentation/gpu/xe/index.rst +1 -0
index 88b22fad880e..692c544b164c 100644
@@ -28,3 +28,4 @@ DG2, etc is provided to prototype the driver.
    xe_device
    xe-drm-usage-stats.rst
    xe_configfs
+   xe_guc_submit
drivers/gpu/drm/xe/xe_guc_submit.c +282 -0

288 lines not on this page · raw message

Signature · 1 line
2.34.1