Skip to content

Commit 6eb2e05

Browse files
bhadanednyaneshwarrodrigovivi
authored andcommitted
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) Fixes: 3c0f211 ("drm/xe: Add Wildcat Lake device IDs to PTL list") 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 (cherry picked from commit 32620e1) Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> [Rodrigo added the Fixes tag when porting it to fixes]
1 parent fa766e7 commit 6eb2e05

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

drivers/gpu/drm/i915/display/intel_display_device.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1482,6 +1482,7 @@ static const struct {
14821482
INTEL_LNL_IDS(INTEL_DISPLAY_DEVICE, &lnl_desc),
14831483
INTEL_BMG_IDS(INTEL_DISPLAY_DEVICE, &bmg_desc),
14841484
INTEL_PTL_IDS(INTEL_DISPLAY_DEVICE, &ptl_desc),
1485+
INTEL_WCL_IDS(INTEL_DISPLAY_DEVICE, &ptl_desc),
14851486
};
14861487

14871488
static const struct {

drivers/gpu/drm/xe/xe_pci.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ static const struct pci_device_id pciidlist[] = {
375375
INTEL_LNL_IDS(INTEL_VGA_DEVICE, &lnl_desc),
376376
INTEL_BMG_IDS(INTEL_VGA_DEVICE, &bmg_desc),
377377
INTEL_PTL_IDS(INTEL_VGA_DEVICE, &ptl_desc),
378+
INTEL_WCL_IDS(INTEL_VGA_DEVICE, &ptl_desc),
378379
{ }
379380
};
380381
MODULE_DEVICE_TABLE(pci, pciidlist);

include/drm/intel/pciids.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,10 @@
877877
MACRO__(0xB08F, ## __VA_ARGS__), \
878878
MACRO__(0xB090, ## __VA_ARGS__), \
879879
MACRO__(0xB0A0, ## __VA_ARGS__), \
880-
MACRO__(0xB0B0, ## __VA_ARGS__), \
880+
MACRO__(0xB0B0, ## __VA_ARGS__)
881+
882+
/* WCL */
883+
#define INTEL_WCL_IDS(MACRO__, ...) \
881884
MACRO__(0xFD80, ## __VA_ARGS__), \
882885
MACRO__(0xFD81, ## __VA_ARGS__)
883886

0 commit comments

Comments
 (0)