summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorThomas Fleury <tfleury@nvidia.com>2016-11-18 12:11:45 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2016-12-15 13:15:01 -0500
commitf2f06852c3ec6b1fe644707f03e1e2818cee1d27 (patch)
treea70510228cfbb3deae6ac476d990805eef273d27 /include/uapi
parentec011cd1ee2fb3389d96ba717ad549cd12c69db1 (diff)
gpu: nvgpu: alarm/event numbering
Remove hole in alarm/event numbering Jira DNVGPU-186 Change-Id: I5c71c08d345a734c27ff75a04ab18ee4746e47fa Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: http://git-master/r/1256413 (cherry picked from commit 7b068e588712980f1d33c14e692db24068b3ef56) Reviewed-on: http://git-master/r/1267158 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/nvgpu.h14
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
880struct nvgpu_gpu_event_info { 880struct nvgpu_gpu_event_info {
881 __u32 event_id; /* NVGPU_GPU_EVENT_* */ 881 __u32 event_id; /* NVGPU_GPU_EVENT_* */