summaryrefstree
path: root/kernel/drivers/gpu/arm/Kconfig
blob: 1f145205959f59ceb5e1064b3350cd74514c785b (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
#
# (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_VALHALL_R25P1 if $(PLATFORM_VERSION) >= 11
	default MALI_VALHALL_R20P0 if $(PLATFORM_VERSION) < 11
	help
	  Select the gpu support version.

config MALI_VALHALL_R17P0
	depends on MALI_DDK_VERSION
	bool "Valhall r17p0 driver"

config MALI_VALHALL_R19P0
	depends on MALI_DDK_VERSION
	bool "Valhall r19p0 driver"

config MALI_VALHALL_R20P0
	depends on MALI_DDK_VERSION
	bool "Valhall r20p0 driver"

config MALI_VALHALL_R25P1
	depends on MALI_DDK_VERSION
	bool "Valhall r25p1 driver"

endchoice

if MALI_VALHALL_R17P0
source "drivers/gpu/arm/v_r17p0/Kconfig"
endif

if MALI_VALHALL_R19P0
source "drivers/gpu/arm/v_r19p0/Kconfig"
endif

if MALI_VALHALL_R20P0
source "drivers/gpu/arm/v_r20p0/Kconfig"
endif

if MALI_VALHALL_R25P1
source "drivers/gpu/arm/v_r25p1/Kconfig"
endif
endmenu