[RAMEN9610-13801] gpu: r16p0: allow choosing r16p0 for Android Q
authorSeYeong Byeon <sy.byeon@samsung.com>
Fri, 22 Mar 2019 01:58:59 +0000 (10:58 +0900)
committerKim Gunho <gunho.kim@samsung.com>
Fri, 28 Jun 2019 14:44:48 +0000 (23:44 +0900)
Adds MALI_BIFROST_R16P0_Q to menuconfig

Change-Id: I25047939f572bd0ab898e42bec88b32ce5707976
Signed-off-by: SeYeong Byeon <sy.byeon@samsung.com>
drivers/gpu/arm/Kbuild
drivers/gpu/arm/Kconfig

index b205ceaacdc811714664db8991f9c6a171e2bcd8..2f2d32a57a8feb40efb2c8ca0682ed9155550054 100644 (file)
@@ -16,4 +16,7 @@ ifeq ($(CONFIG_MALI_DDK_VERSION),y)
        ifeq ($(CONFIG_MALI_BIFROST_R16P0),y)
                obj-y += b_r16p0/
        endif
+       ifeq ($(CONFIG_MALI_BIFROST_R16P0_Q),y)
+               obj-y += b_r16p0_Q/
+       endif
 endif
index 3b3e27d17b52ba81a8c668307dd645ce0cb8e140..711c0370a20a3d74eae554815cde6c969ba29e45 100644 (file)
@@ -23,7 +23,8 @@ menuconfig MALI_DDK_VERSION
 choice
        prompt "version Configuration"
        depends on MALI_DDK_VERSION
-       default MALI_BIFROST_R16P0
+       default MALI_BIFROST_R16P0_Q if SOC_EXYNOS9610_ANDROID_VERSION_Q
+       default MALI_BIFROST_R16P0 if !(SOC_EXYNOS9610_ANDROID_VERSION_Q)
        help
        Select the gpu support version.
 
@@ -31,6 +32,10 @@ config MALI_BIFROST_R16P0
        depends on MALI_DDK_VERSION
        bool "Bifrost r16p0 driver"
 
+config MALI_BIFROST_R16P0_Q
+       depends on MALI_DDK_VERSION
+       bool "Bifrost r16p0 driver for Android Q"
+
 config MALI_BIFROST_OLD
        depends on MALI_DDK_VERSION
        bool "Bifrost old driver"
@@ -40,6 +45,10 @@ if MALI_BIFROST_R16P0
 source "drivers/gpu/arm/b_r16p0/Kconfig"
 endif
 
+if MALI_BIFROST_R16P0_Q
+source "drivers/gpu/arm/b_r16p0_Q/Kconfig"
+endif
+
 if MALI_BIFROST_OLD
 source "drivers/gpu/arm/tHEx/Kconfig"
 endif