summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/nvgpu.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h
index 8ebe8d06..82b78f8f 100644
--- a/include/uapi/linux/nvgpu.h
+++ b/include/uapi/linux/nvgpu.h
@@ -187,6 +187,13 @@ struct nvgpu_gpu_characteristics {
187 187
188 __u64 max_freq; 188 __u64 max_freq;
189 189
190 /* supported preemption modes */
191 __u32 graphics_preemption_mode_flags; /* NVGPU_GRAPHICS_PREEMPTION_MODE_* */
192 __u32 compute_preemption_mode_flags; /* NVGPU_COMPUTE_PREEMPTION_MODE_* */
193 /* default preemption modes */
194 __u32 default_graphics_preempt_mode; /* NVGPU_GRAPHICS_PREEMPTION_MODE_* */
195 __u32 default_compute_preempt_mode; /* NVGPU_COMPUTE_PREEMPTION_MODE_* */
196
190 /* Notes: 197 /* Notes:
191 - This struct can be safely appended with new fields. However, always 198 - This struct can be safely appended with new fields. However, always
192 keep the structure size multiple of 8 and make sure that the binary 199 keep the structure size multiple of 8 and make sure that the binary