mirror of
https://github.com/mbilker/vgpu_unlock-rs.git
synced 2026-01-17 20:07:00 +01:00
nvidia: refactor everything out of the main class and use official naming and structs where possible
This commit is contained in:
7
src/nvidia/ctrl2080gpu.rs
Normal file
7
src/nvidia/ctrl2080gpu.rs
Normal 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;
|
||||
Reference in New Issue
Block a user