diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/nvgpu.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h index 66ea05b3..fe4e6de9 100644 --- a/include/uapi/linux/nvgpu.h +++ b/include/uapi/linux/nvgpu.h | |||
@@ -198,6 +198,13 @@ struct nvgpu_gpu_characteristics { | |||
198 | 198 | ||
199 | __u64 local_video_memory_size; /* in bytes, non-zero only for dGPUs */ | 199 | __u64 local_video_memory_size; /* in bytes, non-zero only for dGPUs */ |
200 | 200 | ||
201 | /* These are meaningful only for PCI devices */ | ||
202 | __u16 pci_vendor_id, pci_device_id; | ||
203 | __u16 pci_subsystem_vendor_id, pci_subsystem_device_id; | ||
204 | __u16 pci_class; | ||
205 | __u8 pci_revision; | ||
206 | __u8 reserved2[5]; | ||
207 | |||
201 | /* Notes: | 208 | /* Notes: |
202 | - This struct can be safely appended with new fields. However, always | 209 | - This struct can be safely appended with new fields. However, always |
203 | keep the structure size multiple of 8 and make sure that the binary | 210 | keep the structure size multiple of 8 and make sure that the binary |