summaryrefstree
path: root/kernel/drivers/gpu/arm/tHEx/Kconfig
blob: 9346ddaf43fed2f8f13db68c948ecdf111ad8cf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#
# (C) COPYRIGHT 2012-2013 ARM Limited. All rights reserved.
#
# This program is free software and is provided to you under the terms of the
# GNU General Public License version 2 as published by the Free Software
# Foundation, and any use by you of this program is subject to the terms
# of such GNU licence.
#
# A copy of the licence is included with the program, and can also be obtained
# from Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA  02110-1301, USA.
#
#


menuconfig MALI_THEX
	tristate "Mali-THEX support"
	default n
	help
	  Enable this option to build support for the ARM Mali-G72 GPU.

	  To compile this driver as a module, choose M here:
	  this will generate a single module, called mali_kbase.

choice
	prompt "version Configuration"
	depends on MALI_THEX
	default MALI_THEX_R9P0 if ANDROID_VERSION = "80000"
	default MALI_THEX_R12P0 if ANDROID_VERSION = "80100"
	default MALI_THEX_R16P0 if ANDROID_VERSION = "90000"
	default MALI_BIFROST_R19P0_Q if ANDROID_VERSION >= "100000"
	help
	  Select the gpu support version.

config MALI_THEX_R5P0
	depends on MALI_THEX
	bool "Heimdall r5p0 driver"

config MALI_THEX_R7P0
	depends on MALI_THEX
	bool "Heimdall r7p0 driver"

config MALI_THEX_R8P0
	depends on MALI_THEX
	bool "Heimdall r8p0 driver"

config MALI_THEX_R9P0
	depends on MALI_THEX
	bool "Heimdall r9p0 driver"

config MALI_THEX_R12P0
	depends on MALI_THEX
	bool "Heimdall r12p0 driver"

config MALI_THEX_R15P0
	depends on MALI_THEX
	bool "Heimdall r15p0 driver"

config MALI_THEX_R16P0
	depends on MALI_THEX
	bool "Heimdall r16p0 driver"

config MALI_BIFROST_R19P0_Q
	depends on MALI_THEX
	bool "Bifrost r19p0 driver for Android Q"

endchoice

if MALI_THEX_R5P0
source "drivers/gpu/arm/tHEx/r5p0/Kconfig"
endif
if MALI_THEX_R7P0
source "drivers/gpu/arm/tHEx/r7p0/Kconfig"
endif
if MALI_THEX_R8P0
source "drivers/gpu/arm/tHEx/r8p0/Kconfig"
endif
if MALI_THEX_R9P0
source "drivers/gpu/arm/tHEx/r9p0/Kconfig"
endif
if MALI_THEX_R12P0
source "drivers/gpu/arm/tHEx/r12p0/Kconfig"
endif
if MALI_THEX_R15P0
source "drivers/gpu/arm/tHEx/b_r15p0/Kconfig"
endif
if MALI_THEX_R16P0
source "drivers/gpu/arm/tHEx/b_r16p0/Kconfig"
endif
if MALI_BIFROST_R19P0_Q
source "drivers/gpu/arm/b_r19p0/Kconfig"
endif