DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] gpu: add support for rtx 6000 variant
@ 2022-04-29 16:52 Cliff Burdick
  2023-09-29 14:55 ` David Marchand
  0 siblings, 1 reply; 4+ messages in thread
From: Cliff Burdick @ 2022-04-29 16:52 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 1653 bytes --]

gpu: added second RTX 6000 device ID variant

Added second GPU PCI device ID for RTX 6000


Signed-off-by: Cliff Burdick <cburdick@nvidia.com<mailto:cburdick@nvidia.com>>
---
drivers/gpu/cuda/cuda.c    | 6 +++++-
drivers/gpu/cuda/devices.h | 3 ++-
2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/cuda/cuda.c b/drivers/gpu/cuda/cuda.c
index 5b8476ac20..d33e8e5116 100644
--- a/drivers/gpu/cuda/cuda.c
+++ b/drivers/gpu/cuda/cuda.c
@@ -197,8 +197,12 @@ static const struct rte_pci_id pci_id_cuda_map[] = {
        },
        {
                RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
-                               NVIDIA_GPU_QUADRO_RTX_6000)
+                               NVIDIA_GPU_QUADRO_RTX_6000_1)
        },
+       {
+               RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+                               NVIDIA_GPU_QUADRO_RTX_6000_2)
+       },
        {
                RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
                                NVIDIA_GPU_QUADRO_RTX_8000)
diff --git a/drivers/gpu/cuda/devices.h b/drivers/gpu/cuda/devices.h
index e6502910f3..59933f0e49 100644
--- a/drivers/gpu/cuda/devices.h
+++ b/drivers/gpu/cuda/devices.h
@@ -52,7 +52,8 @@
#define NVIDIA_GPU_GV100_QUADRO_DEVICE_ID (0x1dba)
#define NVIDIA_GPU_QUADRO_RTX_4000 (0x1eb1)
#define NVIDIA_GPU_QUADRO_RTX_5000 (0x1eb0)
-#define NVIDIA_GPU_QUADRO_RTX_6000 (0x13d9)
+#define NVIDIA_GPU_QUADRO_RTX_6000_1 (0x13d9)
+#define NVIDIA_GPU_QUADRO_RTX_6000_2 (0x1e30)
#define NVIDIA_GPU_QUADRO_RTX_8000 (0x13d8)
#define NVIDIA_GPU_QUADRO_RTX_A4000 (0x24b0)
#define NVIDIA_GPU_QUADRO_RTX_A6000 (0x2230)
--
2.17.1

[-- Attachment #2: Type: text/html, Size: 6156 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-10-06  7:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-29 16:52 [PATCH] gpu: add support for rtx 6000 variant Cliff Burdick
2023-09-29 14:55 ` David Marchand
2023-10-05 12:50   ` Elena Agostini
2023-10-06  7:53     ` David Marchand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).