Skip to content

drm/xe: Increase job depth.

Maarten Lankhorst intel-xe 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/xe: Convert job preparation in 2 stagesdrivers/gpu/drm/xe/xe_ring_ops.c drivers/gpu/drm/xe/xe_ring_ops_types.h drivers/gpu/drm/xe/xe_sched_job.c +1 more+97 -650 replies
2/2drm/xe: Set job credits based on LRC sizedrivers/gpu/drm/xe/xe_execlist.c drivers/gpu/drm/xe/xe_guc_submit.c drivers/gpu/drm/xe/xe_sched_job.c+9 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] drm/xe: Increase job depth.

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(-)
Signature · 1 line
2.55.0