Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/xe/bmg: Add PCI IDs

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>
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240603145430.1260817-1-balasubramani.vivekanandan@intel.com

+9 -1
+2 -1
drivers/gpu/drm/xe/xe_pci.c
··· 340 340 .require_force_probe = true, 341 341 }; 342 342 343 - static const struct xe_device_desc bmg_desc __maybe_unused = { 343 + static const struct xe_device_desc bmg_desc = { 344 344 DGFX_FEATURES, 345 345 PLATFORM(BATTLEMAGE), 346 346 .require_force_probe = true, ··· 389 389 XE_DG2_IDS(INTEL_VGA_DEVICE, &dg2_desc), 390 390 XE_MTL_IDS(INTEL_VGA_DEVICE, &mtl_desc), 391 391 XE_LNL_IDS(INTEL_VGA_DEVICE, &lnl_desc), 392 + XE_BMG_IDS(INTEL_VGA_DEVICE, &bmg_desc), 392 393 { } 393 394 }; 394 395 MODULE_DEVICE_TABLE(pci, pciidlist);
+7
include/drm/xe_pciids.h
··· 192 192 MACRO__(0x64A0, ## __VA_ARGS__), \ 193 193 MACRO__(0x64B0, ## __VA_ARGS__) 194 194 195 + #define XE_BMG_IDS(MACRO__, ...) \ 196 + MACRO__(0xE202, ## __VA_ARGS__), \ 197 + MACRO__(0xE20B, ## __VA_ARGS__), \ 198 + MACRO__(0xE20C, ## __VA_ARGS__), \ 199 + MACRO__(0xE20D, ## __VA_ARGS__), \ 200 + MACRO__(0xE212, ## __VA_ARGS__) 201 + 195 202 #endif