MALI: utgard: upgrade DDK to r6p1-01rel0
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / arm / mali400 / mali / linux / mali_memory_virtual.h
1 /*\r
2  * Copyright (C) 2013-2014, 2016 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  */\r
10 #ifndef __MALI_GPU_VMEM_H__\r
11 #define __MALI_GPU_VMEM_H__\r
12 \r
13 #include "mali_osk.h"\r
14 #include "mali_session.h"\r
15 #include <linux/list.h>\r
16 #include <linux/mm.h>\r
17 #include <linux/rbtree.h>\r
18 #include <linux/spinlock.h>\r
19 #include <linux/types.h>\r
20 #include "mali_memory_types.h"\r
21 #include "mali_memory_os_alloc.h"\r
22 #include "mali_memory_manager.h"\r
23 \r
24 \r
25 \r
26 int mali_vma_offset_add(struct mali_allocation_manager *mgr,\r
27                         struct mali_vma_node *node);\r
28 \r
29 void mali_vma_offset_remove(struct mali_allocation_manager *mgr,\r
30                             struct mali_vma_node *node);\r
31 \r
32 struct mali_vma_node *mali_vma_offset_search(struct mali_allocation_manager *mgr,\r
33                 unsigned long start,    unsigned long pages);\r
34 \r
35 #endif\r