summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/nvhost_events.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/include/uapi/linux/nvhost_events.h b/include/uapi/linux/nvhost_events.h
index 0f1da7064..1282ee38a 100644
--- a/include/uapi/linux/nvhost_events.h
+++ b/include/uapi/linux/nvhost_events.h
@@ -67,6 +67,16 @@ struct nvhost_task_end {
67 u32 syncpt_thresh; 67 u32 syncpt_thresh;
68} __packed; 68} __packed;
69 69
70struct nvhost_vpu_perf_counter {
71 u32 operation;
72 u32 tag;
73 u32 count;
74 u32 average;
75 u64 variance;
76 u32 minimum;
77 u32 maximum;
78} __packed;
79
70enum { 80enum {
71 /* struct nvhost_task_submit */ 81 /* struct nvhost_task_submit */
72 NVHOST_TASK_SUBMIT = 0, 82 NVHOST_TASK_SUBMIT = 0,
@@ -77,7 +87,10 @@ enum {
77 /* struct nvhost_task_end */ 87 /* struct nvhost_task_end */
78 NVHOST_TASK_END = 2, 88 NVHOST_TASK_END = 2,
79 89
80 NVHOST_NUM_EVENT_TYPES = 3 90 /* struct nvhost_vpu_perf_counter */
91 NVHOST_VPU_PERF_COUNTER = 3,
92
93 NVHOST_NUM_EVENT_TYPES = 4
81}; 94};
82 95
83enum { 96enum {