Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Gustavo Sousa <gustavo.sousa@intel.com>
Cc: <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: Wed, 2 Dec 2026 17:45:56 -0500	[thread overview]
Message-ID: <axCfpGe4ro1gGPmU@intel.com> (raw)
In-Reply-To: <87zeuv8ofg.fsf@intel.com>

On Thu, Nov 26, 2026 at 02:58:43PM -0300, Gustavo Sousa wrote:
> 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?

Yes, we got ack from Mesa. Their PR is ready only waiting for us:

https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/46015

We were missing IGT:

https://lore.kernel.org/igt-dev/20261202223856.1032200-5-rodrigo.vivi@intel.com/T/#u

When that gets reviewed we merge this one here, then we merge IGT and
ask Mesa to merge their side.

Compute is not using this and Media acked as well...

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

      reply	other threads:[~2026-12-02 22:46 UTC|newest]

Thread overview: 11+ 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 ` [PATCH 0/2] drm/xe: Use MI_SEMAPHORE_WAIT_64 (Wa_16029281913) Gustavo Sousa
2026-12-02 22:45   ` Rodrigo Vivi [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=axCfpGe4ro1gGPmU@intel.com \
    --to=rodrigo.vivi@intel.com \
    --cc=daniele.ceraolospurio@intel.com \
    --cc=gustavo.sousa@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