aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Bakita <bakitajoshua@gmail.com>2024-09-25 11:05:54 -0400
committerJoshua Bakita <bakitajoshua@gmail.com>2024-09-25 11:05:54 -0400
commit3ceb1066a751140f28444d2021f2841dd85fd482 (patch)
treecb4568280f9f6ff7432376a6fd2ce2f2061fb8d4
parent71be6bb5203e32caa2aaf90b77b7bdbc8abac8b8 (diff)
Add IDs and names of new Hopper+ engines
Draws from NVIDIA's open-gpu-kernel-modules project.
-rw-r--r--nvdebug.h16
1 files 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 {
738 ENGINE_MSENC = 11, // [Video] ENCoding 738 ENGINE_MSENC = 11, // [Video] ENCoding
739 ENGINE_VIC = 12, // Video Image Compositor 739 ENGINE_VIC = 12, // Video Image Compositor
740 ENGINE_SEC = 13, // SEquenCer [?] 740 ENGINE_SEC = 13, // SEquenCer [?]
741 ENGINE_NVENC0 = 14, // Nvidia Video ENCoder #0 741 ENGINE_NVENC = 14, // Nvidia Video ENCoder
742 ENGINE_NVENC1 = 15, // Nvidia Video ENCoder #1 742 ENGINE_NVENC1 = 15, // Nvidia Video ENCoder #1
743 ENGINE_NVDEC = 16, // Nvidia Video DECoder 743 ENGINE_NVDEC = 16, // Nvidia Video DECoder
744 744
@@ -747,9 +747,14 @@ enum ENGINE_TYPES {
747 ENGINE_GSP = 20, // Gpu System Processor (Volta+) 747 ENGINE_GSP = 20, // Gpu System Processor (Volta+)
748 ENGINE_NVJPG = 21, // NVidia JPeG [Decoder] (Turing+) 748 ENGINE_NVJPG = 21, // NVidia JPeG [Decoder] (Turing+)
749 ENGINE_OFA = 22, // Optical Flow Accelerator (Turing+) 749 ENGINE_OFA = 22, // Optical Flow Accelerator (Turing+)
750 ENGINE_FLA = 23, // [NVLink] Fabric Logical Addressing [?] 750 ENGINE_FLA = 23, // [NVLink] Fabric Logical Addressing (Ampere+)
751 // The HSHUB existed before Hopper, but was not considered an engine
752 ENGINE_HSHUB = 24, // High Speed HUB (Hopper+)
753 // C2C is the link for the TH500 (Grace) CPU/GPU combo
754 ENGINE_C2C = 25, // Chip 2 Chip [Link] (Hopper+) (?)
755 ENGINE_FSP = 26, // Firmware (?) Secure Processor (Hopper+)
751}; 756};
752#define ENGINE_TYPES_LEN 24 757#define ENGINE_TYPES_LEN 27
753static const char* const ENGINE_TYPES_NAMES[ENGINE_TYPES_LEN] = { 758static const char* const ENGINE_TYPES_NAMES[ENGINE_TYPES_LEN] = {
754 "Graphics/Compute", 759 "Graphics/Compute",
755 "COPY0", 760 "COPY0",
@@ -765,7 +770,7 @@ static const char* const ENGINE_TYPES_NAMES[ENGINE_TYPES_LEN] = {
765 "MSENC: Encoder", 770 "MSENC: Encoder",
766 "VIC: Video Image Compositor", 771 "VIC: Video Image Compositor",
767 "SEC: Sequencer", 772 "SEC: Sequencer",
768 "NVENC0: NVIDIA Video Encoder #0", 773 "NVENC: NVIDIA Video Encoder",
769 "NVENC1: NVIDIA Video Encoder #1", 774 "NVENC1: NVIDIA Video Encoder #1",
770 "NVDEC: NVIDIA Video Decoder", 775 "NVDEC: NVIDIA Video Decoder",
771 "Unknown Engine ID#17", 776 "Unknown Engine ID#17",
@@ -775,6 +780,9 @@ static const char* const ENGINE_TYPES_NAMES[ENGINE_TYPES_LEN] = {
775 "NVJPG: NVIDIA JPEG Decoder", 780 "NVJPG: NVIDIA JPEG Decoder",
776 "OFA: Optical Flow Accelerator", 781 "OFA: Optical Flow Accelerator",
777 "FLA: Fabric Logical Addressing", 782 "FLA: Fabric Logical Addressing",
783 "HSHUB: High Speed Hub",
784 "C2C",
785 "FSP",
778}; 786};
779 787
780typedef union { 788typedef union {