xref: /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/common/mali_scheduler_types.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2  * Copyright (C) 2013-2014, 2016-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_SCHEDULER_TYPES_H__
12 #define __MALI_SCHEDULER_TYPES_H__
13 
14 #include "mali_osk.h"
15 
16 #define MALI_SCHEDULER_JOB_ID_SPAN 65535
17 
18 /**
19  * Bitmask used for defered scheduling of subsystems.
20  */
21 typedef u32 mali_scheduler_mask;
22 
23 #define MALI_SCHEDULER_MASK_GP (1<<0)
24 #define MALI_SCHEDULER_MASK_PP (1<<1)
25 
26 #define MALI_SCHEDULER_MASK_EMPTY 0
27 #define MALI_SCHEDULER_MASK_ALL (MALI_SCHEDULER_MASK_GP | MALI_SCHEDULER_MASK_PP)
28 
29 #endif /* __MALI_SCHEDULER_TYPES_H__ */
30