xref: /OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/platform/mali_kbase_platform_common.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2  *
3  * (C) COPYRIGHT 2010-2013 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 #include <mali_kbase.h>
17 
18 
19 /**
20  * @brief Entry point to transfer control to a platform for early initialization
21  *
22  * This function is called early on in the initialization during execution of
23  * @ref kbase_driver_init.
24  *
25  * @return Zero to indicate success non-zero for failure.
26  */
27 int kbase_platform_early_init(void);
28 int kbase_platform_rk_init_opp_table(struct kbase_device *kbdev);
29