summaryrefstree
path: root/kernel/drivers/gpu/arm/Kconfig
blob: 0fabe31caa1d9695c79b531b9003ee905f9dfbea (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
#
# (C) COPYRIGHT 2012 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.
#
#


menu "ARM GPU Configuration"

menuconfig MALI_DDK_VERSION
	tristate "Mali support"
	default y
	help
	  Enable this option to build support for the ARM Mali-T7xx 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_DDK_VERSION
	default MALI_BIFROST_R26P0 if ANDROID_VERSION >= "110000"
	default MALI_BIFROST_R19P0_Q if ANDROID_VERSION = "100000"
	default MALI_BIFROST_R16P0 if ANDROID_VERSION < "100000"
	help
	  Select the gpu support version.

config MALI_BIFROST_R10P0
	depends on MALI_DDK_VERSION
	bool "Bifrost r10p0 driver"

config MALI_BIFROST_R12P0
	depends on MALI_DDK_VERSION
	bool "Bifrost r12p0 driver"

config MALI_BIFROST_R14P0
	depends on MALI_DDK_VERSION
	bool "Bifrost r14p0 driver"

config MALI_BIFROST_R16P0
	depends on MALI_DDK_VERSION
	bool "Bifrost r16p0 driver"

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

config MALI_BIFROST_R26P0
	depends on MALI_DDK_VERSION
	bool "Bifrost r26p0 driver for Android R"
endchoice

if MALI_BIFROST_R10P0
source "drivers/gpu/arm/b_r10p0/Kconfig"
endif

if MALI_BIFROST_R12P0
source "drivers/gpu/arm/b_r12p0/Kconfig"
endif

if MALI_BIFROST_R14P0
source "drivers/gpu/arm/b_r14p0/Kconfig"
endif

if MALI_BIFROST_R16P0
source "drivers/gpu/arm/b_r16p0/Kconfig"
endif

if MALI_BIFROST_R19P0_Q
source "drivers/gpu/arm/b_r19p0/Kconfig"
endif

if MALI_BIFROST_R26P0
source "drivers/gpu/arm/b_r26p0/Kconfig"
endif

endmenu