Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Small emit_wa_job() tidy
@ 2025-06-27 13:14 Tvrtko Ursulin
  2025-06-27 13:14 ` [PATCH 1/2] drm/xe: Simplify batch buffer allocation in emit_wa_job() Tvrtko Ursulin
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Tvrtko Ursulin @ 2025-06-27 13:14 UTC (permalink / raw)
  To: intel-xe; +Cc: kernel-dev, Tvrtko Ursulin

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


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

end of thread, other threads:[~2025-07-01 15:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-27 13:14 [PATCH 0/2] Small emit_wa_job() tidy Tvrtko Ursulin
2025-06-27 13:14 ` [PATCH 1/2] drm/xe: Simplify batch buffer allocation in emit_wa_job() Tvrtko Ursulin
2025-06-27 22:47   ` Lucas De Marchi
2025-06-30  7:44     ` Tvrtko Ursulin
2025-06-27 13:14 ` [PATCH 2/2] drm/xe: Waste fewer instructions " Tvrtko Ursulin
2025-06-27 13:20   ` Raag Jadav
2025-06-30 13:39     ` Tvrtko Ursulin
2025-06-30 14:12 ` ✗ CI.checkpatch: warning for Small emit_wa_job() tidy Patchwork
2025-06-30 14:13 ` ✓ CI.KUnit: success " Patchwork
2025-06-30 14:48 ` ✓ Xe.CI.BAT: " Patchwork
2025-07-01 15:36 ` ✓ Xe.CI.Full: " Patchwork

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