xref: /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/mali_memory_external.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 
2 /*
3  * Copyright (C) 2011-2017 ARM Limited. All rights reserved.
4  *
5  * This program is free software and is provided to you under the terms of the GNU General Public License version 2
6  * as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence.
7  *
8  * A copy of the licence is included with the program, and can also be obtained from Free Software
9  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
10  */
11 
12 #ifndef __MALI_MEMORY_EXTERNAL_H__
13 #define __MALI_MEMORY_EXTERNAL_H__
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 _mali_osk_errcode_t mali_mem_bind_ext_buf(mali_mem_allocation *alloc,
20 		mali_mem_backend *mem_backend,
21 		u32 phys_addr,
22 		u32 flag);
23 void mali_mem_unbind_ext_buf(mali_mem_backend *mem_backend);
24 
25 #ifdef __cplusplus
26 }
27 #endif
28 
29 #endif
30