Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/xe: Increase job depth.
@ 2026-09-18  8:16 Maarten Lankhorst
  2026-09-18  8:16 ` [PATCH 1/2] drm/xe: Convert job preparation in 2 stages Maarten Lankhorst
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Maarten Lankhorst @ 2026-09-18  8:16 UTC (permalink / raw)
  To: intel-xe; +Cc: Maarten Lankhorst

Currently we assume all jobs are of equal size, and take exactly MAX_JOB_SIZE_DW bytes.
Most jobs are much smaller, so we can fill the rings to their actual size by setting
the credit limit to the ring size, and job credits to the size of the submission,
this will allow us to fill the ring much more.

Maarten Lankhorst (2):
  drm/xe: Convert job preparation in 2 stages
  drm/xe: Set job credits based on LRC size

 drivers/gpu/drm/xe/xe_execlist.c        |   2 +-
 drivers/gpu/drm/xe/xe_guc_submit.c      |   2 +-
 drivers/gpu/drm/xe/xe_ring_ops.c        | 150 ++++++++++++++----------
 drivers/gpu/drm/xe/xe_ring_ops_types.h  |   3 +
 drivers/gpu/drm/xe/xe_sched_job.c       |  10 +-
 drivers/gpu/drm/xe/xe_sched_job_types.h |   5 +
 6 files changed, 103 insertions(+), 69 deletions(-)

-- 
2.55.0


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

end of thread, other threads:[~2026-09-18 17:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-18  8:16 [PATCH 0/2] drm/xe: Increase job depth Maarten Lankhorst
2026-09-18  8:16 ` [PATCH 1/2] drm/xe: Convert job preparation in 2 stages Maarten Lankhorst
2026-09-18  8:16 ` [PATCH 2/2] drm/xe: Set job credits based on LRC size Maarten Lankhorst
2026-09-18  8:32   ` sashiko-bot
2026-09-18  8:22 ` ✗ CI.checkpatch: warning for drm/xe: Increase job depth Patchwork
2026-09-18  8:24 ` ✓ CI.KUnit: success " Patchwork
2026-09-18  9:15 ` ✓ Xe.CI.BAT: " Patchwork
2026-09-18 17:12 ` ✗ Xe.CI.FULL: failure " Patchwork

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