aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/arm/midgard/mali_kbase_profiling_gator_api.h
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2017-07-27 09:49:27 +0100
committerRyan Harkin <ryan.harkin@linaro.org>2017-07-27 09:49:27 +0100
commit815b4c4b5fbcfb1e92e8dcc90f79e72aa3f43df4 (patch)
tree854243daf112af8eb31e8c85d6b2494a50815016 /drivers/gpu/arm/midgard/mali_kbase_profiling_gator_api.h
parentf39188fb718d2ec1272e5174a69a40f3c05c1cd2 (diff)
parent1b154a44b8c6ad2ee1550be20e9a70622b12e99b (diff)
Merge branch '4.4-armlt-mali' into 4.4-armlt
Diffstat (limited to 'drivers/gpu/arm/midgard/mali_kbase_profiling_gator_api.h')
-rwxr-xr-xdrivers/gpu/arm/midgard/mali_kbase_profiling_gator_api.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/drivers/gpu/arm/midgard/mali_kbase_profiling_gator_api.h b/drivers/gpu/arm/midgard/mali_kbase_profiling_gator_api.h
new file mode 100755
index 000000000000..7fb674eded37
--- /dev/null
+++ b/drivers/gpu/arm/midgard/mali_kbase_profiling_gator_api.h
@@ -0,0 +1,40 @@
+/*
+ *
+ * (C) COPYRIGHT 2010, 2013 ARM Limited. All rights reserved.
+ *
+ * This program is free software and is provided to you under the terms of the
+ * GNU General Public License version 2 as published by the Free Software
+ * Foundation, and any use by you of this program is subject to the terms
+ * of such GNU licence.
+ *
+ * A copy of the licence is included with the program, and can also be obtained
+ * from Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ *
+ */
+
+
+
+/**
+ * @file mali_kbase_profiling_gator_api.h
+ * Model interface
+ */
+
+#ifndef _KBASE_PROFILING_GATOR_API_H_
+#define _KBASE_PROFILING_GATOR_API_H_
+
+/*
+ * List of possible actions to be controlled by Streamline.
+ * The following numbers are used by gator to control
+ * the frame buffer dumping and s/w counter reporting.
+ */
+#define FBDUMP_CONTROL_ENABLE (1)
+#define FBDUMP_CONTROL_RATE (2)
+#define SW_COUNTER_ENABLE (3)
+#define FBDUMP_CONTROL_RESIZE_FACTOR (4)
+#define FBDUMP_CONTROL_MAX (5)
+#define FBDUMP_CONTROL_MIN FBDUMP_CONTROL_ENABLE
+
+void _mali_profiling_control(u32 action, u32 value);
+
+#endif /* _KBASE_PROFILING_GATOR_API */