Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux...
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / arm / midgard / mali_kbase_hwaccess_defs.h
1 /*
2  *
3  * (C) COPYRIGHT 2014 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  * @file mali_kbase_hwaccess_gpu_defs.h
21  * HW access common definitions
22  */
23
24 #ifndef _KBASE_HWACCESS_DEFS_H_
25 #define _KBASE_HWACCESS_DEFS_H_
26
27 #include <mali_kbase_jm_defs.h>
28
29 /* The kbasep_js_device_data::runpool_irq::lock (a spinlock) must be held when
30  * accessing this structure */
31 struct kbase_hwaccess_data {
32         struct kbase_context *active_kctx;
33
34         struct kbase_backend_data backend;
35 };
36
37 #endif /* _KBASE_HWACCESS_DEFS_H_ */