nvidia: refactor everything out of the main class and use official naming and structs where possible

This commit is contained in:
Matt Bilker
2022-12-07 12:16:25 +00:00
parent 17d81e0dbd
commit 72abe3c927
16 changed files with 703 additions and 374 deletions

View File

@@ -0,0 +1,7 @@
///! Sourced from https://github.com/NVIDIA/open-gpu-kernel-modules/blob/5f40a5aee5ef9c92085836bf5b5a9056174f07f1/src/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080gpu.h
pub const NV_GRID_LICENSE_INFO_MAX_LENGTH: usize = 128;
pub const NV2080_GPU_MAX_NAME_STRING_LENGTH: usize = 0x0000040;
pub const NV2080_CTRL_CMD_GPU_GET_INFOROM_OBJECT_VERSION: u32 = 0x2080014b;