From: sashiko-bot@kernel.org
To: tilak.tirumalesh.tangudu@intel.com, intel-xe@lists.freedesktop.org
Subject: Re: [PATCH 2/2] drm/xe: Use MI_SEMAPHORE_WAIT_64 for fake watchdog where supported
Date: Thu, 26 Nov 2026 09:16:54 +0000 [thread overview]
Message-ID: <sashiko-outbox-235109@kernel.org> (raw)
In-Reply-To: <20261126090445.1220148-3-tilak.tirumalesh.tangudu@intel.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] drm/xe: build failure in emit_fake_watchdog() from missing
info.has_sem64
--
commit 6bf3a2954f9a653e8593ca412901293d526830cc
Author: Tangudu Tilak Tirumalesh <tilak.tirumalesh.tangudu@intel.com>
drm/xe: Use MI_SEMAPHORE_WAIT_64 for fake watchdog where supported
This commit updates emit_fake_watchdog() to emit MI_SEMAPHORE_WAIT_64
when lrc->gt->info.has_sem64 is set, falling back to MI_SEMAPHORE_WAIT
otherwise.
> diff --git a/drivers/gpu/drm/xe/xe_ring_ops.c b/drivers/gpu/drm/xe/xe_ring_ops.c
> index ad63181938e33..e64f61f1f9a7c 100644
> --- a/drivers/gpu/drm/xe/xe_ring_ops.c
> +++ b/drivers/gpu/drm/xe/xe_ring_ops.c
> @@ -316,11 +316,24 @@ static int emit_fake_watchdog(struct xe_lrc *lrc, u32 *dw, int i)
> dw[i++] = PR_CTR_CTRL(0).addr;
> dw[i++] = CTR_LOGIC_OP(START);
>
> - dw[i++] = MI_SEMAPHORE_WAIT | MI_SEMW_GGTT | MI_SEMW_POLL | MI_SEMW_COMPARE(SAD_EQ_SDD);
> - dw[i++] = 0xdead; /* this should never be seen */
> - dw[i++] = lower_32_bits(xe_lrc_ggtt_addr(lrc));
> - dw[i++] = upper_32_bits(xe_lrc_ggtt_addr(lrc));
> - dw[i++] = 0; /* unused token */
> + if (lrc->gt->info.has_sem64) {
[Severity: High]
Does this break the build when CONFIG_DRM_XE is enabled? The info
struct in struct xe_gt (drivers/gpu/drm/xe/xe_gt_types.h) has no
has_sem64 member.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126090445.1220148-1-tilak.tirumalesh.tangudu@intel.com?part=2
next prev parent reply other threads:[~2026-11-26 9:17 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 [this message]
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
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=sashiko-outbox-235109@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=sashiko-reviews@lists.linux.dev \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.