My Project
mali_kbase_hw.h
Go to the documentation of this file.
1 /*
2  *
3  * (C) COPYRIGHT 2012-2015 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 
25 #ifndef _KBASE_HW_H_
26 #define _KBASE_HW_H_
27 
28 #include "mali_kbase_defs.h"
29 
33 #define kbase_hw_has_issue(kbdev, issue)\
34  test_bit(issue, &(kbdev)->hw_issues_mask[0])
35 
39 #define kbase_hw_has_feature(kbdev, feature)\
40  test_bit(feature, &(kbdev)->hw_features_mask[0])
41 
45 int kbase_hw_set_issues_mask(struct kbase_device *kbdev);
46 
50 void kbase_hw_set_features_mask(struct kbase_device *kbdev);
51 
52 #endif /* _KBASE_HW_H_ */
void kbase_hw_set_features_mask(struct kbase_device *kbdev)
Set the features mask depending on the GPU ID.
Definition: mali_kbase_hw.c:30
Definition: mali_kbase_defs.h:951
int kbase_hw_set_issues_mask(struct kbase_device *kbdev)
Set the HW issues mask depending on the GPU ID.
Definition: mali_kbase_hw.c:92