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

3
src/nvidia/ctrl9096.rs Normal file
View File

@@ -0,0 +1,3 @@
///! Sourced from https://github.com/NVIDIA/open-gpu-kernel-modules/blob/90eb10774f1c53d2364eacf9fa8f0c7a92b1b824/src/common/sdk/nvidia/inc/ctrl/ctrl9096.h
pub const NV9096_CTRL_CMD_GET_ZBC_CLEAR_TABLE: u32 = 0x90960103;