diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/nvgpu.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h index 746ae94a..4c4b0f8c 100644 --- a/include/uapi/linux/nvgpu.h +++ b/include/uapi/linux/nvgpu.h | |||
@@ -861,21 +861,21 @@ struct nvgpu_gpu_get_temperature_args { | |||
861 | 861 | ||
862 | /* Recoverable alarms (POLLPRI) */ | 862 | /* Recoverable alarms (POLLPRI) */ |
863 | /* Alarm when target frequency on any session is not possible */ | 863 | /* Alarm when target frequency on any session is not possible */ |
864 | #define NVGPU_GPU_EVENT_ALARM_TARGET_VF_NOT_POSSIBLE 2 | 864 | #define NVGPU_GPU_EVENT_ALARM_TARGET_VF_NOT_POSSIBLE 1 |
865 | /* Alarm when target frequency on current session is not possible */ | 865 | /* Alarm when target frequency on current session is not possible */ |
866 | #define NVGPU_GPU_EVENT_ALARM_LOCAL_TARGET_VF_NOT_POSSIBLE 3 | 866 | #define NVGPU_GPU_EVENT_ALARM_LOCAL_TARGET_VF_NOT_POSSIBLE 2 |
867 | /* Alarm when Clock Arbiter failed */ | 867 | /* Alarm when Clock Arbiter failed */ |
868 | #define NVGPU_GPU_EVENT_ALARM_CLOCK_ARBITER_FAILED 4 | 868 | #define NVGPU_GPU_EVENT_ALARM_CLOCK_ARBITER_FAILED 3 |
869 | /* Alarm when VF table update failed */ | 869 | /* Alarm when VF table update failed */ |
870 | #define NVGPU_GPU_EVENT_ALARM_VF_TABLE_UPDATE_FAILED 5 | 870 | #define NVGPU_GPU_EVENT_ALARM_VF_TABLE_UPDATE_FAILED 4 |
871 | /* Alarm on thermal condition */ | 871 | /* Alarm on thermal condition */ |
872 | #define NVGPU_GPU_EVENT_ALARM_THERMAL_ABOVE_THRESHOLD 6 | 872 | #define NVGPU_GPU_EVENT_ALARM_THERMAL_ABOVE_THRESHOLD 5 |
873 | /* Alarm on power condition */ | 873 | /* Alarm on power condition */ |
874 | #define NVGPU_GPU_EVENT_ALARM_POWER_ABOVE_THRESHOLD 7 | 874 | #define NVGPU_GPU_EVENT_ALARM_POWER_ABOVE_THRESHOLD 6 |
875 | 875 | ||
876 | /* Non recoverable alarm (POLLUP) */ | 876 | /* Non recoverable alarm (POLLUP) */ |
877 | /* Alarm on GPU shutdown/fall from bus */ | 877 | /* Alarm on GPU shutdown/fall from bus */ |
878 | #define NVGPU_GPU_EVENT_ALARM_GPU_LOST 8 | 878 | #define NVGPU_GPU_EVENT_ALARM_GPU_LOST 7 |
879 | 879 | ||
880 | struct nvgpu_gpu_event_info { | 880 | struct nvgpu_gpu_event_info { |
881 | __u32 event_id; /* NVGPU_GPU_EVENT_* */ | 881 | __u32 event_id; /* NVGPU_GPU_EVENT_* */ |