Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Gustavo Sousa <gustavo.sousa@intel.com>
To: <tilak.tirumalesh.tangudu@intel.com>,
	<tilak.tirumalesh.tangudu@intel.com>,
	<satyanarayana.k.v.p@intel.com>, <piotr.piorkowski@intel.com>,
	<jesus.narvaez@intel.com>, <daniele.ceraolospurio@intel.com>,
	<stuart.summers@intel.com>, <intel-xe@lists.freedesktop.org>
Subject: Re: [PATCH 0/2] drm/xe: Use MI_SEMAPHORE_WAIT_64 (Wa_16029281913)
Date: Thu, 26 Nov 2026 14:58:43 -0300	[thread overview]
Message-ID: <87zeuv8ofg.fsf@intel.com> (raw)
In-Reply-To: <20261126090445.1220148-1-tilak.tirumalesh.tangudu@intel.com>

tilak.tirumalesh.tangudu@intel.com writes:

> 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.

Considering that the legacy and new instructions can't be mixed, before
we apply this, do we have ack from UMDs that this change is good to go?

--
Gustavo Sousa

>
> 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

      parent reply	other threads:[~2026-11-26 17:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Gustavo Sousa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zeuv8ofg.fsf@intel.com \
    --to=gustavo.sousa@intel.com \
    --cc=daniele.ceraolospurio@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jesus.narvaez@intel.com \
    --cc=piotr.piorkowski@intel.com \
    --cc=satyanarayana.k.v.p@intel.com \
    --cc=stuart.summers@intel.com \
    --cc=tilak.tirumalesh.tangudu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox