Commit e54700f7 authored by Matt Roper's avatar Matt Roper
parent e81568a0
...@@ -340,7 +340,7 @@ static const struct xe_device_desc lnl_desc = { ...@@ -340,7 +340,7 @@ static const struct xe_device_desc lnl_desc = {
.require_force_probe = true, .require_force_probe = true,
}; };
static const struct xe_device_desc bmg_desc __maybe_unused = { static const struct xe_device_desc bmg_desc = {
DGFX_FEATURES, DGFX_FEATURES,
PLATFORM(BATTLEMAGE), PLATFORM(BATTLEMAGE),
.require_force_probe = true, .require_force_probe = true,
...@@ -389,6 +389,7 @@ static const struct pci_device_id pciidlist[] = { ...@@ -389,6 +389,7 @@ static const struct pci_device_id pciidlist[] = {
XE_DG2_IDS(INTEL_VGA_DEVICE, &dg2_desc), XE_DG2_IDS(INTEL_VGA_DEVICE, &dg2_desc),
XE_MTL_IDS(INTEL_VGA_DEVICE, &mtl_desc), XE_MTL_IDS(INTEL_VGA_DEVICE, &mtl_desc),
XE_LNL_IDS(INTEL_VGA_DEVICE, &lnl_desc), XE_LNL_IDS(INTEL_VGA_DEVICE, &lnl_desc),
XE_BMG_IDS(INTEL_VGA_DEVICE, &bmg_desc),
{ } { }
}; };
MODULE_DEVICE_TABLE(pci, pciidlist); MODULE_DEVICE_TABLE(pci, pciidlist);
......
...@@ -192,4 +192,11 @@ ...@@ -192,4 +192,11 @@
MACRO__(0x64A0, ## __VA_ARGS__), \ MACRO__(0x64A0, ## __VA_ARGS__), \
MACRO__(0x64B0, ## __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 #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment