[PATCH 0/2] Small emit_wa_job() tidy

Tvrtko Ursulin tvrtko.ursulin at igalia.com
Fri Jun 27 13:14:36 UTC 2025


I was debugging some unrelated local issue and noticed batch buffer building in
emit_wa_job() was very verbose (in generated code). I think it can be simplified
at not much cost.

Tvrtko Ursulin (2):
  drm/xe: Simplify batch buffer allocation in emit_wa_job()
  drm/xe: Waste fewer instructions in emit_wa_job()

 drivers/gpu/drm/xe/xe_gt.c  | 86 ++++++++++++++++++-------------------
 drivers/gpu/drm/xe/xe_lrc.c | 12 +++---
 drivers/gpu/drm/xe/xe_lrc.h |  2 +-
 3 files changed, 51 insertions(+), 49 deletions(-)

-- 
2.48.0



More information about the Intel-xe mailing list