Skip to content

Commit 2aee160

Browse files
lihuangrkhuangtao
authored andcommitted
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>
1 parent e5ccb3a commit 2aee160

3 files changed

Lines changed: 15 additions & 3 deletions

File tree

drivers/gpu/arm/Kbuild

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,6 @@ obj-$(CONFIG_MALI_MIDGARD_FOR_ANDROID) += midgard/
2626

2727
obj-$(CONFIG_MALI400) += mali400/
2828

29-
obj-$(CONFIG_MALI_BIFROST) += bifrost/
29+
obj-$(CONFIG_MALI_BIFROST_FOR_ANDROID) += bifrost/
30+
31+
obj-$(CONFIG_MALI_BIFROST_FOR_LINUX) += bifrost_for_linux/

drivers/gpu/arm/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,15 @@ endchoice
3434

3535
source "drivers/gpu/arm/midgard/Kconfig"
3636

37+
choice
38+
prompt "Mali bifrost driver"
39+
40+
config MALI_BIFROST_FOR_ANDROID
41+
bool "Mali Bifrost for Android"
42+
43+
config MALI_BIFROST_FOR_LINUX
44+
bool "Mali Bifrost for Linux only"
45+
46+
endchoice
47+
3748
source "drivers/gpu/arm/bifrost/Kconfig"

drivers/gpu/arm/bifrost_for_linux/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515

1616

1717
menuconfig MALI_BIFROST
18-
tristate "Mali Bifrost series support"
19-
select GPU_TRACEPOINTS if ANDROID
18+
tristate "Mali Bifrost series support (Linux only)"
2019
default n
2120
help
2221
Enable this option to build support for a ARM Mali Bifrost GPU.

0 commit comments

Comments
 (0)