MALI: bifrost: RK: There are a few modifications in some 'Kbuild' and 'Kconfig' files.

A new config MALI_BIFROST_FOR_LINUX is introduced to specify which directory of Birfrost to use.

Change-Id: I1f4a01e963073c68238b08f930b196aa799b8e17
Signed-off-by: Putin Lee <putin.li@rock-chips.com>
This commit is contained in:
lihuang 2018-04-20 16:09:40 +08:00 committed by Tao Huang
parent e5ccb3a62b
commit 2aee160e20
3 changed files with 15 additions and 3 deletions

View File

@ -26,4 +26,6 @@ obj-$(CONFIG_MALI_MIDGARD_FOR_ANDROID) += midgard/
obj-$(CONFIG_MALI400) += mali400/
obj-$(CONFIG_MALI_BIFROST) += bifrost/
obj-$(CONFIG_MALI_BIFROST_FOR_ANDROID) += bifrost/
obj-$(CONFIG_MALI_BIFROST_FOR_LINUX) += bifrost_for_linux/

View File

@ -34,4 +34,15 @@ endchoice
source "drivers/gpu/arm/midgard/Kconfig"
choice
prompt "Mali bifrost driver"
config MALI_BIFROST_FOR_ANDROID
bool "Mali Bifrost for Android"
config MALI_BIFROST_FOR_LINUX
bool "Mali Bifrost for Linux only"
endchoice
source "drivers/gpu/arm/bifrost/Kconfig"

View File

@ -15,8 +15,7 @@
menuconfig MALI_BIFROST
tristate "Mali Bifrost series support"
select GPU_TRACEPOINTS if ANDROID
tristate "Mali Bifrost series support (Linux only)"
default n
help
Enable this option to build support for a ARM Mali Bifrost GPU.