diff options
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/gpu_util.h | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/includes/gpu_util.h b/includes/gpu_util.h index 535fb6e8..be69e941 100644 --- a/includes/gpu_util.h +++ b/includes/gpu_util.h @@ -23,6 +23,12 @@  #include "pci_util.h"  #include "dt_util.h" +typedef struct nvgpu { +    char *model; +    char *bios_version; +    char *uuid; +} nvgpu; +  typedef struct gpud {      char *id; /* ours */      char *nice_name; @@ -36,6 +42,7 @@ typedef struct gpud {      char *dt_compat;      const char *dt_vendor, *dt_device; +    nvgpu *nv_info;      /* ... */      struct gpud *next; /* this is a linked list */ | 
