Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe/bmg: Add PCI IDs
@ 2024-06-03 14:54 Balasubramani Vivekanandan
  2024-06-03 16:08 ` Gustavo Sousa
                   ` (9 more replies)
  0 siblings, 10 replies; 14+ messages in thread
From: Balasubramani Vivekanandan @ 2024-06-03 14:54 UTC (permalink / raw)
  To: intel-xe
  Cc: gregory.f.germano, Vitasta Wattal, Matt Roper,
	Balasubramani Vivekanandan

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


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-06-12 16:58 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox