From 8d0b605170b3242200b005a2041056f5ba8a784e Mon Sep 17 00:00:00 2001 From: Ryan Harkin Date: Wed, 10 May 2017 13:04:20 +0100 Subject: mali: Version r15p0-00rel0 Contents extracted from TX041-SW-99002-r15p0-00rel0.tgz downloaded from developer.arm.com Signed-off-by: Ryan Harkin --- .../arm/midgard/mali_kbase_profiling_gator_api.h | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100755 drivers/gpu/arm/midgard/mali_kbase_profiling_gator_api.h (limited to 'drivers/gpu/arm/midgard/mali_kbase_profiling_gator_api.h') 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 */ -- cgit v1.2.3