diff options
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/nvgpu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h index 992355d9..496fda5c 100644 --- a/include/uapi/linux/nvgpu.h +++ b/include/uapi/linux/nvgpu.h | |||
@@ -1066,12 +1066,12 @@ struct nvgpu_event_id_ctrl_args { | |||
1066 | 1066 | ||
1067 | struct nvgpu_preemption_mode_args { | 1067 | struct nvgpu_preemption_mode_args { |
1068 | /* only one should be enabled at a time */ | 1068 | /* only one should be enabled at a time */ |
1069 | #define NVGPU_GRAPHICS_PREEMPTION_MODE_WFI BIT(0) | 1069 | #define NVGPU_GRAPHICS_PREEMPTION_MODE_WFI (1 << 0) |
1070 | __u32 graphics_preempt_mode; /* in */ | 1070 | __u32 graphics_preempt_mode; /* in */ |
1071 | 1071 | ||
1072 | /* only one should be enabled at a time */ | 1072 | /* only one should be enabled at a time */ |
1073 | #define NVGPU_COMPUTE_PREEMPTION_MODE_WFI BIT(0) | 1073 | #define NVGPU_COMPUTE_PREEMPTION_MODE_WFI (1 << 0) |
1074 | #define NVGPU_COMPUTE_PREEMPTION_MODE_CTA BIT(1) | 1074 | #define NVGPU_COMPUTE_PREEMPTION_MODE_CTA (1 << 1) |
1075 | __u32 compute_preempt_mode; /* in */ | 1075 | __u32 compute_preempt_mode; /* in */ |
1076 | }; | 1076 | }; |
1077 | 1077 | ||