blob: 32a1a922256fd71068e81c32653f4f0cb11e88f6 [file] [log] [blame]
#
# (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_R38P1 if ANDROID_VERSION >= "130000"
default MALI_BIFROST_R32P1 if ANDROID_VERSION = "120000"
default MALI_BIFROST_R26P0_R if ANDROID_VERSION = "110000"
default MALI_BIFROST_R19P0_Q if ANDROID_VERSION < "110000"
help
Select the gpu support version.
config MALI_BIFROST_R16P0
depends on MALI_DDK_VERSION
bool "Bifrost r16p0 driver"
config MALI_BIFROST_OLD
depends on MALI_DDK_VERSION
bool "Bifrost old driver"
config MALI_BIFROST_R19P0_Q
depends on MALI_DDK_VERSION
bool "Bifrost r19p0 driver for Android Q"
config MALI_BIFROST_R25P1_R
depends on MALI_DDK_VERSION
bool "Bifrost r25p1 driver for Android R"
config MALI_BIFROST_R26P0_R
depends on MALI_DDK_VERSION
bool "Bifrost r26p0 driver for Android R"
config MALI_BIFROST_R32P1
depends on MALI_DDK_VERSION
bool "Bifrost r32p1 driver for Android S"
config MALI_BIFROST_R38P1
depends on MALI_DDK_VERSION
bool "Bifrost r38p1 driver for Android T"
endchoice
if MALI_BIFROST_R16P0
source "drivers/gpu/arm/b_r16p0/Kconfig"
endif
if MALI_BIFROST_OLD
source "drivers/gpu/arm/tHEx/Kconfig"
endif
if MALI_BIFROST_R19P0_Q
source "drivers/gpu/arm/b_r19p0/Kconfig"
endif
if MALI_BIFROST_R25P1_R
source "drivers/gpu/arm/b_r25p1/Kconfig"
endif
if MALI_BIFROST_R26P0_R
source "drivers/gpu/arm/b_r26p0/Kconfig"
endif
if MALI_BIFROST_R32P1
source "drivers/gpu/arm/bv_r32p1/Kconfig"
endif
if MALI_BIFROST_R38P1
source "drivers/gpu/arm/bv_r38p1/Kconfig"
endif
endmenu