Browse Source

nvidia(ctrl0080gpu): sync vGPU 18.x (R570) fields

Synchronizing fields for vGPU 18.x (R570)

Signed-off-by: Coia Prant <coiaprant@gmail.com>

Coia Prant 2 months ago
parent
commit
0ff7938678
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/nvidia/ctrl0080gpu.rs

+ 4 - 0
src/nvidia/ctrl0080gpu.rs

@@ -9,4 +9,8 @@ pub const NV0080_CTRL_GPU_VIRTUALIZATION_MODE_HOST: u32 = 0x00000003;
 #[repr(C)]
 pub struct Nv0080CtrlGpuGetVirtualizationModeParams {
     pub virtualization_mode: u32,
+    // R570 adds additional fields, leave them out for now for backwards compat with 16.x and 17.x
+    // https://github.com/NVIDIA/open-gpu-kernel-modules/blob/570/src/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080gpu.h#L313
+    //
+    // pub isGridBuild: bool,
 }