]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/pcids: Split PTL pciids group to make wcl subplatform
authorDnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>
Mon, 22 Sep 2025 15:03:15 +0000 (20:33 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Tue, 23 Sep 2025 16:14:33 +0000 (21:44 +0530)
To form the WCL platform as a subplatform of PTL in definition,
WCL pci ids are splited into saparate group from PTL.
So update the pciidlist struct to cover all the pci ids.

v2:
- Squash wcl description in single patch for display and xe.(jani,gustavo)

Signed-off-by: Dnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://lore.kernel.org/r/20250922150317.2334680-2-dnyaneshwar.bhadane@intel.com
drivers/gpu/drm/i915/display/intel_display_device.c
drivers/gpu/drm/xe/xe_pci.c
include/drm/intel/pciids.h

index a002bc6ce7b09e6780f47059a45e1d7988b77ec2..a9a36176096f4b165db655be033f70df525dde20 100644 (file)
@@ -1482,6 +1482,7 @@ static const struct {
        INTEL_LNL_IDS(INTEL_DISPLAY_DEVICE, &lnl_desc),
        INTEL_BMG_IDS(INTEL_DISPLAY_DEVICE, &bmg_desc),
        INTEL_PTL_IDS(INTEL_DISPLAY_DEVICE, &ptl_desc),
+       INTEL_WCL_IDS(INTEL_DISPLAY_DEVICE, &ptl_desc),
 };
 
 static const struct {
index 046d330bad34286f9859dabfe3c3c99f36aa1700..7ae316534eb6de1e9d64084320354550b49b2667 100644 (file)
@@ -374,6 +374,7 @@ static const struct pci_device_id pciidlist[] = {
        INTEL_LNL_IDS(INTEL_VGA_DEVICE, &lnl_desc),
        INTEL_BMG_IDS(INTEL_VGA_DEVICE, &bmg_desc),
        INTEL_PTL_IDS(INTEL_VGA_DEVICE, &ptl_desc),
+       INTEL_WCL_IDS(INTEL_VGA_DEVICE, &ptl_desc),
        { }
 };
 MODULE_DEVICE_TABLE(pci, pciidlist);
index da6301a6fceabcf19eb648b1ef077cd2d0b0b731..69d4ae92d822a8b85d8259cba34a61b09ec99042 100644 (file)
        MACRO__(0xB08F, ## __VA_ARGS__), \
        MACRO__(0xB090, ## __VA_ARGS__), \
        MACRO__(0xB0A0, ## __VA_ARGS__), \
-       MACRO__(0xB0B0, ## __VA_ARGS__), \
+       MACRO__(0xB0B0, ## __VA_ARGS__)
+
+/* WCL */
+#define INTEL_WCL_IDS(MACRO__, ...) \
        MACRO__(0xFD80, ## __VA_ARGS__), \
        MACRO__(0xFD81, ## __VA_ARGS__)