ANDROID: init: GKI: enable hidden configs for GPU

Add hidden configs to GKI_HACKS_TO_FIX so they are enabled for loadable
GPU modules built out-of-tree.

Bug: 154525079
Test: rebuild kernel binary and pass checkvintf
Change-Id: I51871132b6a0bd1a55f5db7a9f90177cbc20ef86
Signed-off-by: Yiwei Zhang <zzyiwei@google.com>
This commit is contained in:
Yiwei Zhang
2020-04-21 17:54:15 -07:00
committed by theshaenix
parent e308dbab40
commit b903b4870f

View File

@@ -1,3 +1,11 @@
config GKI_HIDDEN_GPU_CONFIGS
bool "Hidden GPU configuration needed for GKI"
select TRACE_GPU_MEM
help
Dummy config option used to enable the hidden GPU config.
These are normally selected implicitly when a module
that relies on it is configured.
# Atrocities needed for
# a) building GKI modules in separate tree, or
# b) building drivers that are not modularizable
@@ -7,6 +15,7 @@
#
config GKI_HACKS_TO_FIX
bool "GKI Dummy config options"
select GKI_HIDDEN_GPU_CONFIGS
help
Dummy config option used to enable core functionality used by
modules that may not be selectable in this config.