xref: /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/mali_memory_util.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2  * Copyright (C) 2013-2017 ARM Limited. All rights reserved.
3  *
4  * This program is free software and is provided to you under the terms of the GNU General Public License version 2
5  * as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence.
6  *
7  * A copy of the licence is included with the program, and can also be obtained from Free Software
8  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
9  */
10 
11 #ifndef __MALI_MEMORY_UTIL_H__
12 #define __MALI_MEMORY_UTIL_H__
13 
14 u32 mali_allocation_unref(struct mali_mem_allocation **alloc);
15 
16 void mali_allocation_ref(struct mali_mem_allocation *alloc);
17 
18 void mali_free_session_allocations(struct mali_session_data *session);
19 
20 #endif
21