blob: d4205f55b65da205a73af7cf3c44302b3f9ff99c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
From 0ff7938678dd9a0ea3bb0ad44567ed85d830cf50 Mon Sep 17 00:00:00 2001
From: Coia Prant <coiaprant@gmail.com>
Date: Tue, 3 Jun 2025 00:15:35 +0800
Subject: [PATCH 6/7] nvidia(ctrl0080gpu): sync vGPU 18.x (R570) fields
Synchronizing fields for vGPU 18.x (R570)
Signed-off-by: Coia Prant <coiaprant@gmail.com>
---
src/nvidia/ctrl0080gpu.rs | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/nvidia/ctrl0080gpu.rs b/src/nvidia/ctrl0080gpu.rs
index af67d13..b64a834 100644
--- a/src/nvidia/ctrl0080gpu.rs
+++ b/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,
}
--
2.50.1
|