mali: gpu: video: make the menu of midgard for linux visible

Although it is not allow to offer two config menu source at
the same time, but at lease we could tune some options of
it now.

Change-Id: I0b447876d13a0d5a95276cfe4600b6030f6b8529
Signed-off-by: ayaka <ayaka@soulik.info>
Signed-off-by: Randy Li <randy.li@rock-chips.com>
This commit is contained in:
ayaka
2017-01-16 12:42:55 +08:00
committed by Huang, Tao
parent 62630ade2f
commit 9770dc8e66
4 changed files with 14 additions and 17 deletions

View File

@@ -16,8 +16,6 @@
obj-$(CONFIG_MALI_MIDGARD_FOR_LINUX) += midgard_for_linux/
ifneq ($(CONFIG_MALI_MIDGARD_FOR_LINUX),y)
obj-y += midgard/
endif
obj-$(CONFIG_MALI_MIDGARD_FOR_ANDROID) += midgard/
obj-$(CONFIG_MALI400) += mali400/

View File

@@ -11,9 +11,18 @@
# Boston, MA 02110-1301, USA.
#
#
#
source "drivers/gpu/arm/mali400/mali/Kconfig"
choice
prompt "Mali Midgard driver"
config MALI_MIDGARD_FOR_ANDROID
bool "Mali Midgard for Android"
config MALI_MIDGARD_FOR_LINUX
bool "Mali Midgard for Linux only"
endchoice
menu "ARM GPU Configuration"
source "drivers/gpu/arm/midgard/Kconfig"
endmenu

View File

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

View File

@@ -26,16 +26,7 @@ source "drivers/gpu/drm/Kconfig"
source "drivers/gpu/rogue_m/Kconfig"
config MALI_MIDGARD_FOR_LINUX
bool "Mali Midgard for RK Linux device only"
default n
# midgard src for devices other than RK Linux device.
if !MALI_MIDGARD_FOR_LINUX
source "drivers/gpu/arm/midgard/Kconfig"
endif
source "drivers/gpu/arm/mali400/mali/Kconfig"
source "drivers/gpu/arm/Kconfig"
menu "Frame buffer Devices"
source "drivers/video/fbdev/Kconfig"