Skip to content

Commit 3ef9384

Browse files
committed
accel/amdxdna: Remove NPU2 support
NPU2 hardware was never publicly released and is now obsolete. Remove all remaining NPU2 support from the driver. Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Link: https://patch.msgid.link/20251217190818.2145781-1-lizhi.hou@amd.com
1 parent 281a226 commit 3ef9384

4 files changed

Lines changed: 0 additions & 120 deletions

File tree

drivers/accel/amdxdna/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ amdxdna-y := \
1818
amdxdna_sysfs.o \
1919
amdxdna_ubuf.o \
2020
npu1_regs.o \
21-
npu2_regs.o \
2221
npu4_regs.o \
2322
npu5_regs.o \
2423
npu6_regs.o

drivers/accel/amdxdna/amdxdna_pci_drv.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ MODULE_DEVICE_TABLE(pci, pci_ids);
5151

5252
static const struct amdxdna_device_id amdxdna_ids[] = {
5353
{ 0x1502, 0x0, &dev_npu1_info },
54-
{ 0x17f0, 0x0, &dev_npu2_info },
5554
{ 0x17f0, 0x10, &dev_npu4_info },
5655
{ 0x17f0, 0x11, &dev_npu5_info },
5756
{ 0x17f0, 0x20, &dev_npu6_info },

drivers/accel/amdxdna/amdxdna_pci_drv.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ struct amdxdna_client {
137137

138138
/* Add device info below */
139139
extern const struct amdxdna_dev_info dev_npu1_info;
140-
extern const struct amdxdna_dev_info dev_npu2_info;
141140
extern const struct amdxdna_dev_info dev_npu4_info;
142141
extern const struct amdxdna_dev_info dev_npu5_info;
143142
extern const struct amdxdna_dev_info dev_npu6_info;

drivers/accel/amdxdna/npu2_regs.c

Lines changed: 0 additions & 117 deletions
This file was deleted.

0 commit comments

Comments
 (0)