Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Use MI_MATH to apply RMW WA in LRC
@ 2025-03-03 17:35 Michal Wajdeczko
  2025-03-03 17:35 ` [PATCH 1/5] drm/xe: Add MI_LOAD_REGISTER_REG command definition Michal Wajdeczko
                   ` (35 more replies)
  0 siblings, 36 replies; 52+ messages in thread
From: Michal Wajdeczko @ 2025-03-03 17:35 UTC (permalink / raw)
  To: intel-xe; +Cc: Michal Wajdeczko, Matt Roper, Michal Winiarski

It was noticed that on VF we skip applying LRC WAs since we don't
process any RTP rules in xe_rtp_process_to_sr() and also because
during preparation of the WA job driver may read some registers
to perform RMW operation. By converting WA job to use MI_MATH we
can run this job also on VF. Inspired by i915 series [1].

Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Michal Winiarski <michal.winiarski@intel.com>

[1] https://patchwork.freedesktop.org/series/67276/

Michal Wajdeczko (5):
  drm/xe: Add MI_LOAD_REGISTER_REG command definition
  drm/xe: Add MI_MATH and ALU instruction definitions
  drm/xe: Avoid reading RMW registers in emit_wa_job
  drm/xe/vf: Stop applying save-restore MMIOs if VF
  drm/xe/vf: Unblock xe_rtp_process_to_sr for VFs

 .../gpu/drm/xe/instructions/xe_alu_commands.h | 72 ++++++++++++++++
 .../gpu/drm/xe/instructions/xe_mi_commands.h  |  5 ++
 drivers/gpu/drm/xe/regs/xe_engine_regs.h      |  4 +
 drivers/gpu/drm/xe/xe_gt.c                    | 84 ++++++++++++++-----
 drivers/gpu/drm/xe/xe_reg_sr.c                |  3 +
 drivers/gpu/drm/xe/xe_rtp.c                   |  3 -
 6 files changed, 147 insertions(+), 24 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/instructions/xe_alu_commands.h

-- 
2.47.1


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

end of thread, other threads:[~2025-03-12 10:34 UTC | newest]

Thread overview: 52+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-03 17:35 [PATCH 0/5] Use MI_MATH to apply RMW WA in LRC Michal Wajdeczko
2025-03-03 17:35 ` [PATCH 1/5] drm/xe: Add MI_LOAD_REGISTER_REG command definition Michal Wajdeczko
2025-03-03 21:18   ` Matt Roper
2025-03-03 17:35 ` [PATCH 2/5] drm/xe: Add MI_MATH and ALU instruction definitions Michal Wajdeczko
2025-03-03 21:50   ` Matt Roper
2025-03-04 16:23   ` [PATCH v2 " Michal Wajdeczko
2025-03-03 17:35 ` [PATCH 3/5] drm/xe: Avoid reading RMW registers in emit_wa_job Michal Wajdeczko
2025-03-03 18:06   ` Lucas De Marchi
2025-03-03 18:47     ` Michal Wajdeczko
2025-03-04 16:50       ` Lucas De Marchi
2025-03-03 22:06   ` Matt Roper
2025-03-03 17:35 ` [PATCH 4/5] drm/xe/vf: Stop applying save-restore MMIOs if VF Michal Wajdeczko
2025-03-03 18:09   ` Lucas De Marchi
2025-03-03 22:16     ` Matt Roper
2025-03-03 22:16   ` Matt Roper
2025-03-03 17:35 ` [PATCH 5/5] drm/xe/vf: Unblock xe_rtp_process_to_sr for VFs Michal Wajdeczko
2025-03-03 22:17   ` Matt Roper
2025-03-11 10:52   ` [PATCH v2 " Michal Wajdeczko
2025-03-03 17:44 ` ✓ CI.Patch_applied: success for Use MI_MATH to apply RMW WA in LRC Patchwork
2025-03-03 17:44 ` ✗ CI.checkpatch: warning " Patchwork
2025-03-03 17:46 ` ✓ CI.KUnit: success " Patchwork
2025-03-03 18:02 ` ✓ CI.Build: " Patchwork
2025-03-03 18:05 ` ✓ CI.Hooks: " Patchwork
2025-03-03 18:06 ` ✓ CI.checksparse: " Patchwork
2025-03-03 18:38 ` ✓ Xe.CI.BAT: " Patchwork
2025-03-03 20:12 ` ✗ Xe.CI.Full: failure " Patchwork
2025-03-04 17:27 ` ✓ CI.Patch_applied: success for Use MI_MATH to apply RMW WA in LRC (rev2) Patchwork
2025-03-04 17:27 ` ✗ CI.checkpatch: warning " Patchwork
2025-03-04 17:28 ` ✓ CI.KUnit: success " Patchwork
2025-03-04 17:45 ` ✓ CI.Build: " Patchwork
2025-03-04 17:47 ` ✓ CI.Hooks: " Patchwork
2025-03-04 17:48 ` ✓ CI.checksparse: " Patchwork
2025-03-05  5:43 ` ✗ Xe.CI.BAT: failure " Patchwork
2025-03-07 16:34   ` Michal Wajdeczko
2025-03-07 18:12 ` ✓ CI.Patch_applied: success for Use MI_MATH to apply RMW WA in LRC (rev3) Patchwork
2025-03-07 18:13 ` ✗ CI.checkpatch: warning " Patchwork
2025-03-07 18:14 ` ✓ CI.KUnit: success " Patchwork
2025-03-07 18:36 ` ✓ CI.Build: " Patchwork
2025-03-07 18:39 ` ✓ CI.Hooks: " Patchwork
2025-03-07 18:41 ` ✓ CI.checksparse: " Patchwork
2025-03-07 19:03 ` ✓ Xe.CI.BAT: " Patchwork
2025-03-08 20:46 ` ✗ Xe.CI.Full: failure " Patchwork
2025-03-10 16:31   ` Michal Wajdeczko
2025-03-11 12:55 ` ✓ CI.Patch_applied: success for Use MI_MATH to apply RMW WA in LRC (rev4) Patchwork
2025-03-11 12:55 ` ✗ CI.checkpatch: warning " Patchwork
2025-03-11 12:56 ` ✓ CI.KUnit: success " Patchwork
2025-03-11 13:13 ` ✓ CI.Build: " Patchwork
2025-03-11 13:15 ` ✓ CI.Hooks: " Patchwork
2025-03-11 13:17 ` ✓ CI.checksparse: " Patchwork
2025-03-11 13:37 ` ✓ Xe.CI.BAT: " Patchwork
2025-03-12  5:41 ` ✗ Xe.CI.Full: failure " Patchwork
2025-03-12 10:34   ` Michal Wajdeczko

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