All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Daniele Ceraolo Spurio" <daniele.ceraolospurio@intel.com>,
	intel-xe@lists.freedesktop.org
Subject: Re: [PATCH v3 2/6] drm/xe: Define WCL as a PTL subplatform
Date: Fri, 04 Dec 2026 19:53:08 +0000	[thread overview]
Message-ID: <sashiko-outbox-250570@kernel.org> (raw)
In-Reply-To: <20261204193456.1035581-10-daniele.ceraolospurio@intel.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/xe: XE_SUBPLATFORM_WILDCATLAKE breaks subplatform macro
  naming contract
--

commit 084398a188a8d1fd88718700f5c290d9d568c8e8
Author: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>

drm/xe: Define WCL as a PTL subplatform

This commit adds XE_SUBPLATFORM_WILDCATLAKE to enum xe_subplatform and
registers the WCL PCI IDs as a subplatform of PTL in ptl_desc.

> diff --git a/drivers/gpu/drm/xe/xe_platform_types.h b/drivers/gpu/drm/xe/xe_platform_types.h
> index 3447848b74e3b..9399198278a03 100644
> --- a/drivers/gpu/drm/xe/xe_platform_types.h
> +++ b/drivers/gpu/drm/xe/xe_platform_types.h
> @@ -38,6 +38,7 @@ enum xe_subplatform {
>  	XE_SUBPLATFORM_DG2_G11,
>  	XE_SUBPLATFORM_DG2_G12,
>  	XE_SUBPLATFORM_BATTLEMAGE_G21,
> +	XE_SUBPLATFORM_WILDCATLAKE,
>  };

[Severity: Low]
Should XE_SUBPLATFORM_WILDCATLAKE include the PANTHERLAKE_ parent platform
prefix?

XE_RTP_RULE_SUBPLATFORM(plat_, sub_) in drivers/gpu/drm/xe/xe_rtp.h and
SUBPLATFORM_CASE() in drivers/gpu/drm/xe/tests/xe_pci.c both token-paste
XE_SUBPLATFORM_<platform>_<subplatform>.  Without the PANTHERLAKE_ prefix,
any future WCL workaround or RTP rule using these macros will not compile.

Renaming this to XE_SUBPLATFORM_PANTHERLAKE_WCL (or
XE_SUBPLATFORM_PANTHERLAKE_WILDCATLAKE) would keep it compatible with
those macros.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204193456.1035581-8-daniele.ceraolospurio@intel.com?part=2

  reply	other threads:[~2026-12-04 19:53 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 19:34 [PATCH v3 0/6] Add support for WCL GSC FW Daniele Ceraolo Spurio
2026-12-04 19:34 ` [PATCH v3 1/6] drm/xe/pxp: Fix PTL GSC version check for PXP support Daniele Ceraolo Spurio
2026-12-04 19:34 ` [PATCH v3 2/6] drm/xe: Define WCL as a PTL subplatform Daniele Ceraolo Spurio
2026-12-04 19:53   ` sashiko-bot [this message]
2026-12-04 19:35 ` [PATCH v3 3/6] drm/xe/uc: Add FW file fallback support Daniele Ceraolo Spurio
2026-12-04 19:59   ` sashiko-bot
2026-12-04 19:35 ` [PATCH v3 4/6] drm/xe/uc: mark HuC and GSC as only available on the media GT Daniele Ceraolo Spurio
2026-12-04 19:58   ` sashiko-bot
2026-12-04 19:35 ` [PATCH v3 5/6] drm/xe/uc: Support fetching different FW files per-subplatform Daniele Ceraolo Spurio
2026-12-04 19:56   ` sashiko-bot
2026-12-04 19:35 ` [PATCH v3 6/6] drm/xe/gsc: define GSC for WCL Daniele Ceraolo Spurio
2026-12-04 19:49 ` ✗ CI.checkpatch: warning for Add support for WCL GSC FW Patchwork
2026-12-04 19:51 ` ✓ CI.KUnit: success " Patchwork
2026-12-04 20:26 ` ✓ Xe.CI.BAT: " Patchwork
2026-12-05 19:39 ` ✗ Xe.CI.FULL: failure " Patchwork

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-250570@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=daniele.ceraolospurio@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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.