From: Jani Nikula <jani.nikula@linux.intel.com>
To: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>,
intel-xe@lists.freedesktop.org
Cc: gregory.f.germano@intel.com,
Vitasta Wattal <vitasta.wattal@intel.com>,
Matt Roper <matthew.d.roper@intel.com>,
Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Subject: Re: [PATCH] drm/xe/bmg: Add PCI IDs
Date: Tue, 04 Jun 2024 11:03:51 +0300 [thread overview]
Message-ID: <87mso1cexk.fsf@intel.com> (raw)
In-Reply-To: <20240603145430.1260817-1-balasubramani.vivekanandan@intel.com>
On Mon, 03 Jun 2024, Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com> wrote:
> From: Matt Roper <matthew.d.roper@intel.com>
>
> Add the initial set of device IDs for Battlemage.
>
> Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
> Signed-off-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Please note that since commit 54836ee194f9 ("drm/i915/display: change
display probe to identify GMD ID based platforms") you'll also need to
add the PCI IDs to i915_pciids.h and add the platform desc in
i915/display/intel_display_device.c for display probe.
BR,
Jani.
> ---
> drivers/gpu/drm/xe/xe_pci.c | 3 ++-
> include/drm/intel/xe_pciids.h | 7 +++++++
> 2 files changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
> index 5655222aa4e1..ebff5ea79b1d 100644
> --- a/drivers/gpu/drm/xe/xe_pci.c
> +++ b/drivers/gpu/drm/xe/xe_pci.c
> @@ -340,7 +340,7 @@ static const struct xe_device_desc lnl_desc = {
> .require_force_probe = true,
> };
>
> -static const struct xe_device_desc bmg_desc __maybe_unused = {
> +static const struct xe_device_desc bmg_desc = {
> DGFX_FEATURES,
> PLATFORM(BATTLEMAGE),
> .has_display = true,
> @@ -391,6 +391,7 @@ static const struct pci_device_id pciidlist[] = {
> XE_PVC_IDS(INTEL_VGA_DEVICE, &pvc_desc),
> XE_MTL_IDS(INTEL_VGA_DEVICE, &mtl_desc),
> XE_LNL_IDS(INTEL_VGA_DEVICE, &lnl_desc),
> + XE_BMG_IDS(INTEL_VGA_DEVICE, &bmg_desc),
> { }
> };
> MODULE_DEVICE_TABLE(pci, pciidlist);
> diff --git a/include/drm/intel/xe_pciids.h b/include/drm/intel/xe_pciids.h
> index c7fc288dacee..73d972a8aca1 100644
> --- a/include/drm/intel/xe_pciids.h
> +++ b/include/drm/intel/xe_pciids.h
> @@ -208,4 +208,11 @@
> MACRO__(0x64A0, ## __VA_ARGS__), \
> MACRO__(0x64B0, ## __VA_ARGS__)
>
> +#define XE_BMG_IDS(MACRO__, ...) \
> + MACRO__(0xE202, ## __VA_ARGS__), \
> + MACRO__(0xE20B, ## __VA_ARGS__), \
> + MACRO__(0xE20C, ## __VA_ARGS__), \
> + MACRO__(0xE20D, ## __VA_ARGS__), \
> + MACRO__(0xE212, ## __VA_ARGS__)
> +
> #endif
--
Jani Nikula, Intel
next prev parent reply other threads:[~2024-06-04 8:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-03 14:54 [PATCH] drm/xe/bmg: Add PCI IDs Balasubramani Vivekanandan
2024-06-03 16:08 ` Gustavo Sousa
2024-06-04 8:03 ` Jani Nikula [this message]
2024-06-04 21:21 ` Lucas De Marchi
2024-06-05 7:43 ` Jani Nikula
2024-06-04 18:35 ` ✓ CI.Patch_applied: success for " Patchwork
2024-06-04 18:36 ` ✗ CI.checkpatch: warning " Patchwork
2024-06-04 18:36 ` ✓ CI.KUnit: success " Patchwork
2024-06-04 18:48 ` ✓ CI.Build: " Patchwork
2024-06-04 18:48 ` ✗ CI.Hooks: failure " Patchwork
2024-06-04 18:50 ` ✓ CI.checksparse: success " Patchwork
2024-06-04 19:33 ` ✓ CI.BAT: " Patchwork
2024-06-05 0:26 ` ✗ CI.FULL: failure " Patchwork
2024-06-12 16:57 ` Matt Roper
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=87mso1cexk.fsf@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=balasubramani.vivekanandan@intel.com \
--cc=gregory.f.germano@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=matthew.d.roper@intel.com \
--cc=vitasta.wattal@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