[PATCH 8/9] gpu/cuda: extend NVIDIA GPU device ID list

Gregory Etelson
2025-09-15T14:44:06Z

From: eagostini <eagostini@nvidia.com>

Add more IDs for Laptop and Embedded GPUs.

Signed-off-by: eagostini <eagostini@nvidia.com>
---
drivers/gpu/cuda/cuda.c | 138 ++++++++++++++++++++++++++++++++++---
drivers/gpu/cuda/devices.h | 36 +++++++++-
2 files changed, 164 insertions(+), 10 deletions(-)

diff --git a/drivers/gpu/cuda/cuda.c b/drivers/gpu/cuda/cuda.c
index fb8aaf67fc..e050b6370b 100644
--- a/drivers/gpu/cuda/cuda.c
+++ b/drivers/gpu/cuda/cuda.c
@@ -223,14 +223,6 @@ static const struct rte_pci_id pci_id_cuda_map[] = {
RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
NVIDIA_RTX_A4500)
},
- {
- RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
- NVIDIA_RTX_A4500_LAPTOP)
- },
- {
- RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
- NVIDIA_RTX_A4500_EMBEDDED)
- },
{
RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
NVIDIA_RTX_A5500)
@@ -439,6 +431,136 @@ static const struct rte_pci_id pci_id_cuda_map[] = {
RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
NVIDIA_H100XS_1_8CME)
},
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_T600_Laptop)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_T550_Laptop)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_T600_Laptop_2)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_T1200_Laptop)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_A5500_Laptop)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_A5000_Laptop)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_A4000_Laptop)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_A3000_Laptop)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_A3000_12GB_Laptop)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_A4500_Laptop)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_A3000_12GB_Laptop_2)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_A2000_Laptop)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_A1000_Laptop)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_A2000_8GB_Laptop)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_A500_Laptop)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_A1000_6GB_Laptop)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_A500_Laptop_2)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_5000_Ada_Generation_Laptop)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_4000_Ada_Generation_Laptop)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_3500_Ada_Generation_Laptop)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_3000_Ada_Generation_Laptop)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_2000_Ada_Generation_Laptop)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_1000_Ada_Generation_Laptop)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_500_Ada_Generation_Laptop)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_500_Ada_Generation_Laptop_2)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_A4500_Embedded)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_A1000_Embedded)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_A2000_Embedded)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_A500_Embedded)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_5000_Ada_Generation_Embedded)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_3500_Ada_Generation_Embedded)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_RTX_2000_Ada_Generation_Embedded)
+ },
+
+
{
.device_id = 0
}
diff --git a/drivers/gpu/cuda/devices.h b/drivers/gpu/cuda/devices.h
index bc096bc4cf..9577dd1f2c 100644
--- a/drivers/gpu/cuda/devices.h
+++ b/drivers/gpu/cuda/devices.h
@@ -50,8 +50,6 @@
#define NVIDIA_RTX_A6000 (0x2230)
#define NVIDIA_RTX_A5000 (0x2231)
#define NVIDIA_RTX_A4500 (0x2232)
-#define NVIDIA_RTX_A4500_LAPTOP (0x24ba)
-#define NVIDIA_RTX_A4500_EMBEDDED (0x24fa)
#define NVIDIA_RTX_A5500 (0x2233)
#define NVIDIA_A40 (0x2235)
#define NVIDIA_A10 (0x2236)
@@ -105,4 +103,38 @@
#define NVIDIA_GPU_GRID_T4_1B (0x1eb8)
#define NVIDIA_H100XS_1_8CME (0x2337)

+#define NVIDIA_T600_Laptop (0x1fb6)
+#define NVIDIA_T550_Laptop (0x1fb7)
+#define NVIDIA_T600_Laptop_2 (0x1fba)
+#define NVIDIA_T1200_Laptop (0x1fbc)
+#define NVIDIA_RTX_A5500_Laptop (0x2438)
+#define NVIDIA_RTX_A5000_Laptop (0x24b6)
+#define NVIDIA_RTX_A4000_Laptop (0x24b7)
+#define NVIDIA_RTX_A3000_Laptop (0x24b8)
+#define NVIDIA_RTX_A3000_12GB_Laptop (0x24b9)
+#define NVIDIA_RTX_A4500_Laptop (0x24ba)
+#define NVIDIA_RTX_A3000_12GB_Laptop_2 (0x24bb)
+#define NVIDIA_RTX_A2000_Laptop (0x25b8)
+#define NVIDIA_RTX_A1000_Laptop (0x25b9)
+#define NVIDIA_RTX_A2000_8GB_Laptop (0x25ba)
+#define NVIDIA_RTX_A500_Laptop (0x25bb)
+#define NVIDIA_RTX_A1000_6GB_Laptop (0x25bc)
+#define NVIDIA_RTX_A500_Laptop_2 (0x25bd)
+#define NVIDIA_RTX_5000_Ada_Generation_Laptop (0x2730)
+#define NVIDIA_RTX_4000_Ada_Generation_Laptop (0x27ba)
+#define NVIDIA_RTX_3500_Ada_Generation_Laptop (0x27bb)
+#define NVIDIA_RTX_3000_Ada_Generation_Laptop (0x2838)
+#define NVIDIA_RTX_2000_Ada_Generation_Laptop (0x28b8)
+#define NVIDIA_RTX_1000_Ada_Generation_Laptop (0x28b9)
+#define NVIDIA_RTX_500_Ada_Generation_Laptop (0x28ba)
+#define NVIDIA_RTX_500_Ada_Generation_Laptop_2 (0x28bb)
+
+#define NVIDIA_RTX_A4500_Embedded (0x24fa)
+#define NVIDIA_RTX_A1000_Embedded (0x25f9)
+#define NVIDIA_RTX_A2000_Embedded (0x25fa)
+#define NVIDIA_RTX_A500_Embedded (0x25fb)
+#define NVIDIA_RTX_5000_Ada_Generation_Embedded (0x2770)
+#define NVIDIA_RTX_3500_Ada_Generation_Embedded (0x27fb)
+#define NVIDIA_RTX_2000_Ada_Generation_Embedded (0x28f8)
+
#endif /* CUDA_DEVICES_H */
--
2.48.1