* [PATCH] gpu/cuda: add new A30X GPU type code for DPU
@ 2022-04-04 14:43 eagostini
2022-04-04 19:01 ` Thomas Monjalon
0 siblings, 1 reply; 2+ messages in thread
From: eagostini @ 2022-04-04 14:43 UTC (permalink / raw)
To: dev; +Cc: Elena Agostini
From: Elena Agostini <eagostini@nvidia.com>
A30X GPU code for DPU.
Signed-off-by: Elena Agostini <eagostini@nvidia.com>
---
drivers/gpu/cuda/cuda.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/gpu/cuda/cuda.c b/drivers/gpu/cuda/cuda.c
index 8505d39d64..92097e067e 100644
--- a/drivers/gpu/cuda/cuda.c
+++ b/drivers/gpu/cuda/cuda.c
@@ -62,6 +62,7 @@ static gdr_t gdrc_h;
#define NVIDIA_GPU_A100_80GB_DPU_DEVICE_ID (0x20b8)
#define NVIDIA_GPU_A30_24GB_DEVICE_ID (0x20b7)
+#define NVIDIA_GPU_A30_24GB_DPU_DEVICE_ID (0x20b9)
#define NVIDIA_GPU_A10_24GB_DEVICE_ID (0x2236)
#define NVIDIA_GPU_V100_32GB_SXM_DEVICE_ID (0x1db5)
@@ -95,6 +96,10 @@ static const struct rte_pci_id pci_id_cuda_map[] = {
RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
NVIDIA_GPU_A30_24GB_DEVICE_ID)
},
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_GPU_A30_24GB_DPU_DEVICE_ID)
+ },
{
RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
NVIDIA_GPU_A10_24GB_DEVICE_ID)
--
2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] gpu/cuda: add new A30X GPU type code for DPU
2022-04-04 14:43 [PATCH] gpu/cuda: add new A30X GPU type code for DPU eagostini
@ 2022-04-04 19:01 ` Thomas Monjalon
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2022-04-04 19:01 UTC (permalink / raw)
To: Elena Agostini; +Cc: dev
04/04/2022 16:43, eagostini@nvidia.com:
> From: Elena Agostini <eagostini@nvidia.com>
>
> A30X GPU code for DPU.
>
> Signed-off-by: Elena Agostini <eagostini@nvidia.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-04 19:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-04 14:43 [PATCH] gpu/cuda: add new A30X GPU type code for DPU eagostini
2022-04-04 19:01 ` Thomas Monjalon
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).