[PATCH v2 0/7] drm/xe: LRC refactors

Lucas De Marchi lucas.demarchi at intel.com
Thu Jul 10 20:33:45 UTC 2025


A few refactors while investigating the LRC corruption that
were happening before commit 3d85ab36bcb ("Revert "drm/xe/xe2: Enable
Indirect Ring State support for Xe2"").

They probably conflict with some other refactors by Tvrtko from
https://lore.kernel.org/all/20250703082059.61597-1-tvrtko.ursulin@igalia.com/

I'm reviewing that one and will figure out the conflicts. I already got
one of those cleanups from another series and added here on top.

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
---

People in Cc received this v2 a couple days ago. I just noticed while
looking for CI results that I forgot the mailing list :-/.
Sending again.

Changes in v2:
- Fix word counting, relocate and reword log message about dword len,
  also change xe_bb_new() prototype according to its implementation
- Also drop comment with FIXME
- Link to v1: https://lore.kernel.org/r/20250703-lrc-refactors-v1-0-6aa22f174041@intel.com
---
Lucas De Marchi (6):
      drm/xe/lrc: Reduce scope of empty lrc data
      drm/xe: Count dwords before allocating
      drm/xe/gt: Extract emit_job_sync()
      drm/xe/lrc: Add table with LRC layout
      drm/xe/lrc: Remove leftover TODO/FIXME
      drm/xe/gt: Drop third submission for default context

Tvrtko Ursulin (1):
      drm/xe: Waste fewer instructions in emit_wa_job()

 drivers/gpu/drm/xe/xe_bb.h  |   2 +-
 drivers/gpu/drm/xe/xe_gt.c  | 174 ++++++++++++++++++++++----------------------
 drivers/gpu/drm/xe/xe_lrc.c |  61 ++++++++++------
 drivers/gpu/drm/xe/xe_lrc.h |   2 +-
 4 files changed, 127 insertions(+), 112 deletions(-)

base-commit: ad02e528d11b8cdc56daaa647aed319ba1d1ff03
change-id: 20250625-lrc-refactors-82b10b576547

Lucas De Marchi



More information about the Intel-xe mailing list