Skip to content

Commit 8346440

Browse files
m-falkowskijlawryno
authored andcommitted
accel/ivpu: Add initial Wildcat Lake support
Add support for Wildcat Lake (WCL) CPUs. Wildcat Lake contains NPU5 just like Panther Lake hence the initial support is very simple and adds only PCI IDs. Signed-off-by: Maciej Falkowski <[email protected]> Reviewed-by: Jeff Hugo <[email protected]> Signed-off-by: Jacek Lawrynowicz <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 33b4e4f commit 8346440

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

drivers/accel/ivpu/ivpu_drv.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,7 @@ static struct pci_device_id ivpu_pci_ids[] = {
704704
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_ARL) },
705705
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_LNL) },
706706
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_PTL_P) },
707+
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_WCL) },
707708
{ }
708709
};
709710
MODULE_DEVICE_TABLE(pci, ivpu_pci_ids);

drivers/accel/ivpu/ivpu_drv.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#define PCI_DEVICE_ID_ARL 0xad1d
2727
#define PCI_DEVICE_ID_LNL 0x643e
2828
#define PCI_DEVICE_ID_PTL_P 0xb03e
29+
#define PCI_DEVICE_ID_WCL 0xfd3e
2930

3031
#define IVPU_HW_IP_37XX 37
3132
#define IVPU_HW_IP_40XX 40
@@ -241,6 +242,7 @@ static inline int ivpu_hw_ip_gen(struct ivpu_device *vdev)
241242
case PCI_DEVICE_ID_LNL:
242243
return IVPU_HW_IP_40XX;
243244
case PCI_DEVICE_ID_PTL_P:
245+
case PCI_DEVICE_ID_WCL:
244246
return IVPU_HW_IP_50XX;
245247
default:
246248
dump_stack();
@@ -257,6 +259,7 @@ static inline int ivpu_hw_btrs_gen(struct ivpu_device *vdev)
257259
return IVPU_HW_BTRS_MTL;
258260
case PCI_DEVICE_ID_LNL:
259261
case PCI_DEVICE_ID_PTL_P:
262+
case PCI_DEVICE_ID_WCL:
260263
return IVPU_HW_BTRS_LNL;
261264
default:
262265
dump_stack();

drivers/accel/ivpu/ivpu_hw_ip.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,7 @@ static void pwr_island_delay_set(struct ivpu_device *vdev)
683683
return;
684684

685685
switch (ivpu_device_id(vdev)) {
686+
case PCI_DEVICE_ID_WCL:
686687
case PCI_DEVICE_ID_PTL_P:
687688
post = high ? 18 : 0;
688689
post1 = 0;

0 commit comments

Comments
 (0)