ANDROID: GKI: enable hidden configs for DMA

Add hidden configs to ASYNC_TX_ENABLE_CHANNEL_SWITCH so they are
enabled for loadable DMA modules built out-of-tree

Bug: 177807056
Signed-off-by: Adrian-CJ Hung <adrian-cj.hung@mediatek.com>
Change-Id: I36866ad4d93eab9a826928ac8f0dc8cac84c232c
Signed-off-by: Giuliano Procida <gprocida@google.com>
This commit is contained in:
Adrian-CJ Hung 2021-04-28 22:24:36 +08:00 committed by Todd Kjos
parent 6f3a72c462
commit 0dc97b664f

View File

@ -210,6 +210,13 @@ config GKI_HIDDEN_MM_CONFIGS
Dummy config option used to enable hidden MM configs, Dummy config option used to enable hidden MM configs,
currently required for VIRTIO_BALLOON currently required for VIRTIO_BALLOON
config GKI_HIDDEN_DMA_CONFIGS
bool "Hidden DMA configuration needed for GKI"
select ASYNC_TX_ENABLE_CHANNEL_SWITCH
help
Dummy config option used to enable the hidden DMA configs,
required by various SoC platforms.
# Atrocities needed for # Atrocities needed for
# a) building GKI modules in separate tree, or # a) building GKI modules in separate tree, or
# b) building drivers that are not modularizable # b) building drivers that are not modularizable
@ -239,6 +246,7 @@ config GKI_HACKS_TO_FIX
select GKI_HIDDEN_NET_CONFIGS select GKI_HIDDEN_NET_CONFIGS
select GKI_HIDDEN_PHY_CONFIGS select GKI_HIDDEN_PHY_CONFIGS
select GKI_HIDDEN_MM_CONFIGS select GKI_HIDDEN_MM_CONFIGS
select GKI_HIDDEN_DMA_CONFIGS
help help
Dummy config option used to enable core functionality used by Dummy config option used to enable core functionality used by
modules that may not be selectable in this config. modules that may not be selectable in this config.