gpu/cuda: add PCI device ID for NVIDIA TU102GL [Quadro RTX 6000/8000]

Message ID 20231010100214.33484-1-levendsayar@gmail.com (mailing list archive)
State New
Delegated to: Thomas Monjalon
Headers
Series gpu/cuda: add PCI device ID for NVIDIA TU102GL [Quadro RTX 6000/8000] |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/loongarch-compilation success Compilation OK
ci/loongarch-unit-testing success Unit Testing PASS
ci/Intel-compilation success Compilation OK
ci/intel-Testing success Testing PASS
ci/github-robot: build success github build: passed
ci/intel-Functional success Functional PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-unit-arm64-testing success Testing PASS
ci/iol-compile-amd64-testing success Testing PASS
ci/iol-unit-amd64-testing success Testing PASS
ci/iol-compile-arm64-testing success Testing PASS
ci/iol-sample-apps-testing warning Testing issues
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-broadcom-Functional success Functional Testing PASS
ci/iol-broadcom-Performance success Performance Testing PASS

Commit Message

Levend Sayar Oct. 10, 2023, 10:02 a.m. UTC
  PCI device ID is added for NVIDIA TU102GL [Quadro RTX 6000/8000]
GPU card.

Signed-off-by: Levend Sayar <levendsayar@gmail.com>
---
 drivers/gpu/cuda/cuda.c    | 4 ++++
 drivers/gpu/cuda/devices.h | 1 +
 2 files changed, 5 insertions(+)
  

Comments

Elena Agostini Oct. 10, 2023, 10:06 a.m. UTC | #1
Sounds good to me

Thanks
EA
  

Patch

diff --git a/drivers/gpu/cuda/cuda.c b/drivers/gpu/cuda/cuda.c
index a552aabeb8..00133696d7 100644
--- a/drivers/gpu/cuda/cuda.c
+++ b/drivers/gpu/cuda/cuda.c
@@ -203,6 +203,10 @@  static const struct rte_pci_id pci_id_cuda_map[] = {
 		RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
 				NVIDIA_GPU_QUADRO_RTX_8000)
 	},
+	{
+		RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+				NVIDIA_GPU_QUADRO_RTX_8000_2)
+	},
 	{
 		RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
 				NVIDIA_GPU_QUADRO_RTX_A4000)
diff --git a/drivers/gpu/cuda/devices.h b/drivers/gpu/cuda/devices.h
index e6502910f3..94e4ee218c 100644
--- a/drivers/gpu/cuda/devices.h
+++ b/drivers/gpu/cuda/devices.h
@@ -54,6 +54,7 @@ 
 #define NVIDIA_GPU_QUADRO_RTX_5000 (0x1eb0)
 #define NVIDIA_GPU_QUADRO_RTX_6000 (0x13d9)
 #define NVIDIA_GPU_QUADRO_RTX_8000 (0x13d8)
+#define NVIDIA_GPU_QUADRO_RTX_8000_2 (0x1e30)
 #define NVIDIA_GPU_QUADRO_RTX_A4000 (0x24b0)
 #define NVIDIA_GPU_QUADRO_RTX_A6000 (0x2230)
 #define NVIDIA_GPU_QUADRO_RTX_A5000 (0x2231)