From: Maarten Lankhorst <dev@lankhorst.se>
To: intel-xe@lists.freedesktop.org
Cc: Maarten Lankhorst <dev@lankhorst.se>
Subject: [PATCH v2 0/2] drm/xe: Increase job depth.
Date: Fri, 25 Sep 2026 19:26:04 +0200 [thread overview]
Message-ID: <20260925172603.302050-4-dev@lankhorst.se> (raw)
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 | 12 +-
drivers/gpu/drm/xe/xe_sched_job_types.h | 5 +
6 files changed, 105 insertions(+), 69 deletions(-)
--
2.55.0
next reply other threads:[~2026-09-25 17:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-25 17:26 Maarten Lankhorst [this message]
2026-09-25 17:26 ` [PATCH v2 1/2] drm/xe: Convert job preparation in 2 stages Maarten Lankhorst
2026-09-25 17:26 ` [PATCH v2 2/2] drm/xe: Set job credits based on LRC size Maarten Lankhorst
2026-09-25 17:43 ` sashiko-bot
2026-09-25 17:33 ` ✗ CI.checkpatch: warning for drm/xe: Increase job depth. (rev2) Patchwork
2026-09-25 17:35 ` ✓ CI.KUnit: success " Patchwork
2026-09-25 18:34 ` ✓ Xe.CI.BAT: " Patchwork
2026-09-26 2:26 ` ✗ Xe.CI.FULL: failure " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260925172603.302050-4-dev@lankhorst.se \
--to=dev@lankhorst.se \
--cc=intel-xe@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox