Skip to content

Commit 9c1b242

Browse files
author
Stanislaw Gruszka
committed
accel/ivpu: Add Arrow Lake pci id
Enable VPU on Arrow Lake CPUs. Reviewed-by: Krystian Pradzynski <krystian.pradzynski@linux.intel.com> Reviewed-by: Karol Wachowski <karol.wachowski@linux.intel.com> Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com> Signed-off-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230922132206.812817-1-stanislaw.gruszka@linux.intel.com
1 parent f75f71b commit 9c1b242

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/accel/ivpu/ivpu_drv.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,7 @@ static void ivpu_dev_fini(struct ivpu_device *vdev)
634634

635635
static struct pci_device_id ivpu_pci_ids[] = {
636636
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_MTL) },
637+
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_ARL) },
637638
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_LNL) },
638639
{ }
639640
};

drivers/accel/ivpu/ivpu_drv.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#define DRIVER_DATE "20230117"
2424

2525
#define PCI_DEVICE_ID_MTL 0x7d1d
26+
#define PCI_DEVICE_ID_ARL 0xad1d
2627
#define PCI_DEVICE_ID_LNL 0x643e
2728

2829
#define IVPU_HW_37XX 37
@@ -165,6 +166,7 @@ static inline int ivpu_hw_gen(struct ivpu_device *vdev)
165166
{
166167
switch (ivpu_device_id(vdev)) {
167168
case PCI_DEVICE_ID_MTL:
169+
case PCI_DEVICE_ID_ARL:
168170
return IVPU_HW_37XX;
169171
case PCI_DEVICE_ID_LNL:
170172
return IVPU_HW_40XX;

0 commit comments

Comments
 (0)