Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/xe: Use MI_SEMAPHORE_WAIT_64 (Wa_16029281913)
@ 2026-11-26  9:04 tilak.tirumalesh.tangudu
  2026-11-26  9:04 ` [PATCH 1/2] drm/xe: Add MI_SEMAPHORE_WAIT_64 instruction definition tilak.tirumalesh.tangudu
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: tilak.tirumalesh.tangudu @ 2026-11-26  9:04 UTC (permalink / raw)
  To: tilak.tirumalesh.tangudu, satyanarayana.k.v.p, piotr.piorkowski,
	jesus.narvaez, daniele.ceraolospurio, stuart.summers, intel-xe

From: Tangudu Tilak Tirumalesh <tilak.tirumalesh.tangudu@intel.com>

Wa_16029281913: MI_SEMAPHORE_WAIT has an issue on some Xe3p platforms.
The recommendation is to use the 64-bit MI_SEMAPHORE_WAIT_64 instruction
instead wherever the GT supports it.

The has_sem64 capability bit this relies on has already been merged, so
this series now carries the instruction definition and its first user.

Patch 1 adds the MI_SEMAPHORE_WAIT_64 instruction definition.

Patch 2 switches emit_fake_watchdog() over to MI_SEMAPHORE_WAIT_64 on
platforms that support it, falling back to the existing 32-bit
MI_SEMAPHORE_WAIT otherwise.

The ULLS postamble conversion, which only applies to dGFX platforms
with USM support, moves to a separate series, together with a debug
assert that catches MI_SEMAPHORE_WAIT being used on a GT with
has_sem64.

Testing status: patch 2 (fake watchdog) has been tested.

v2:
- Patch 1: Only compare has_sem64 when both GTs are present (Daniele)
- Patch 2: Rename to MI_SEMW64_32BIT_COMPARE to fix alignment (Satya)
- Patches 3 and 4: Drop the WA comment, document the zero upper SDD
  dword (Satya)

v3:
- Drop the has_sem64 patch, it has been merged
- Patch 1 (was 2): Drop the WA comment (Satya)
- Move the ULLS postamble patch to a separate series, together with a
  new assert for MI_SEMAPHORE_WAIT users

Tangudu Tilak Tirumalesh (2):
  drm/xe: Add MI_SEMAPHORE_WAIT_64 instruction definition
  drm/xe: Use MI_SEMAPHORE_WAIT_64 for fake watchdog where supported

 .../gpu/drm/xe/instructions/xe_mi_commands.h  |  5 ++++
 drivers/gpu/drm/xe/xe_ring_ops.c              | 23 +++++++++++++++----
 2 files changed, 23 insertions(+), 5 deletions(-)

-- 
2.46.0


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

end of thread, other threads:[~2026-11-26 17:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26  9:04 [PATCH 0/2] drm/xe: Use MI_SEMAPHORE_WAIT_64 (Wa_16029281913) tilak.tirumalesh.tangudu
2026-11-26  9:04 ` [PATCH 1/2] drm/xe: Add MI_SEMAPHORE_WAIT_64 instruction definition tilak.tirumalesh.tangudu
2026-11-26  9:13   ` K V P, Satyanarayana
2026-11-26  9:04 ` [PATCH 2/2] drm/xe: Use MI_SEMAPHORE_WAIT_64 for fake watchdog where supported tilak.tirumalesh.tangudu
2026-11-26  9:16   ` sashiko-bot
2026-11-26  9:33 ` ✗ CI.checkpatch: warning for drm/xe: Use MI_SEMAPHORE_WAIT_64 (Wa_16029281913) (rev5) Patchwork
2026-11-26  9:35 ` ✓ CI.KUnit: success " Patchwork
2026-11-26 10:16 ` ✓ Xe.CI.BAT: " Patchwork
2026-11-26 15:05 ` ✓ Xe.CI.FULL: " Patchwork
2026-11-26 17:58 ` [PATCH 0/2] drm/xe: Use MI_SEMAPHORE_WAIT_64 (Wa_16029281913) Gustavo Sousa

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