From 3ceb1066a751140f28444d2021f2841dd85fd482 Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Wed, 25 Sep 2024 11:05:54 -0400 Subject: Add IDs and names of new Hopper+ engines Draws from NVIDIA's open-gpu-kernel-modules project. --- nvdebug.h | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/nvdebug.h b/nvdebug.h index 26167a7..80f1a74 100644 --- a/nvdebug.h +++ b/nvdebug.h @@ -738,7 +738,7 @@ enum ENGINE_TYPES { ENGINE_MSENC = 11, // [Video] ENCoding ENGINE_VIC = 12, // Video Image Compositor ENGINE_SEC = 13, // SEquenCer [?] - ENGINE_NVENC0 = 14, // Nvidia Video ENCoder #0 + ENGINE_NVENC = 14, // Nvidia Video ENCoder ENGINE_NVENC1 = 15, // Nvidia Video ENCoder #1 ENGINE_NVDEC = 16, // Nvidia Video DECoder @@ -747,9 +747,14 @@ enum ENGINE_TYPES { ENGINE_GSP = 20, // Gpu System Processor (Volta+) ENGINE_NVJPG = 21, // NVidia JPeG [Decoder] (Turing+) ENGINE_OFA = 22, // Optical Flow Accelerator (Turing+) - ENGINE_FLA = 23, // [NVLink] Fabric Logical Addressing [?] + ENGINE_FLA = 23, // [NVLink] Fabric Logical Addressing (Ampere+) + // The HSHUB existed before Hopper, but was not considered an engine + ENGINE_HSHUB = 24, // High Speed HUB (Hopper+) + // C2C is the link for the TH500 (Grace) CPU/GPU combo + ENGINE_C2C = 25, // Chip 2 Chip [Link] (Hopper+) (?) + ENGINE_FSP = 26, // Firmware (?) Secure Processor (Hopper+) }; -#define ENGINE_TYPES_LEN 24 +#define ENGINE_TYPES_LEN 27 static const char* const ENGINE_TYPES_NAMES[ENGINE_TYPES_LEN] = { "Graphics/Compute", "COPY0", @@ -765,7 +770,7 @@ static const char* const ENGINE_TYPES_NAMES[ENGINE_TYPES_LEN] = { "MSENC: Encoder", "VIC: Video Image Compositor", "SEC: Sequencer", - "NVENC0: NVIDIA Video Encoder #0", + "NVENC: NVIDIA Video Encoder", "NVENC1: NVIDIA Video Encoder #1", "NVDEC: NVIDIA Video Decoder", "Unknown Engine ID#17", @@ -775,6 +780,9 @@ static const char* const ENGINE_TYPES_NAMES[ENGINE_TYPES_LEN] = { "NVJPG: NVIDIA JPEG Decoder", "OFA: Optical Flow Accelerator", "FLA: Fabric Logical Addressing", + "HSHUB: High Speed Hub", + "C2C", + "FSP", }; typedef union { -- cgit v1.2.2