Commit 32620e17 authored by Dnyaneshwar Bhadane's avatar Dnyaneshwar Bhadane Committed by Suraj Kandpal
Browse files

drm/pcids: Split PTL pciids group to make wcl subplatform



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: default avatarDnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>
Reviewed-by: default avatarGustavo Sousa <gustavo.sousa@intel.com>
Signed-off-by: default avatarSuraj Kandpal <suraj.kandpal@intel.com>
Link: https://lore.kernel.org/r/20250922150317.2334680-2-dnyaneshwar.bhadane@intel.com
parent 840f6b9e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 {
+1 −0
Original line number Diff line number Diff line
@@ -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);
+4 −1
Original line number Diff line number Diff line
@@ -877,7 +877,10 @@
	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__)