LOCAL / GPU: ARM: add MALI R12P0_04REL0 drivers
[platform/kernel/linux-exynos.git] / drivers / gpu / arm / midgard / r12p0_04rel0 / platform / vexpress / mali_kbase_cpu_vexpress.h
1 /*
2  *
3  * (C) COPYRIGHT 2012-2013, 2015-2016 ARM Limited. All rights reserved.
4  *
5  * This program is free software and is provided to you under the terms of the
6  * GNU General Public License version 2 as published by the Free Software
7  * Foundation, and any use by you of this program is subject to the terms
8  * of such GNU licence.
9  *
10  * A copy of the licence is included with the program, and can also be obtained
11  * from Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
12  * Boston, MA  02110-1301, USA.
13  *
14  */
15
16
17
18
19
20 #ifndef _KBASE_CPU_VEXPRESS_H_
21 #define _KBASE_CPU_VEXPRESS_H_
22
23 /**
24  * Versatile Express implementation of @ref kbase_cpu_clk_speed_func.
25  */
26 int kbase_get_vexpress_cpu_clock_speed(u32 *cpu_clock);
27
28 /**
29  * Get the minimum GPU frequency for the attached logic tile
30  */
31 u32 kbase_get_platform_min_freq(void);
32
33 /**
34  * Get the maximum GPU frequency for the attached logic tile
35  */
36 u32 kbase_get_platform_max_freq(void);
37
38 #endif                          /* _KBASE_CPU_VEXPRESS_H_ */