diff options
author | Star Chang <starchang@google.com> | 2022-11-21 05:37:02 +0000 |
---|---|---|
committer | Roger Liao <rogerliao@google.com> | 2022-12-13 10:54:38 +0800 |
commit | 56ee67d0f38a06e87044938f25d9d982b50d4811 (patch) | |
tree | 30e5a4fe15560c1ce31faf1c75a22e5ab1c7f53d | |
parent | 39e26f3d52d7baedb9e514532bfdc12d23be4b41 (diff) | |
download | bcm4389-56ee67d0f38a06e87044938f25d9d982b50d4811.tar.gz |
bcmdhd: Disable compiler flag of DHD_ALLOC_COHERENT_MEM_FROM_ATOMIC_POOL
Disable DHD_ALLOC_COHERENT_MEM_FROM_ATOMIC_POOL flag to allow dma_alloc_coherent can allocate memory from cma at initial time when dev_is_dma_coherent() is true.
Bug: 258881796
Test: Build pass/SST-Stability/PTE-stress scan/reboot test
Signed-off-by: Star Chang <starchang@google.com>
Change-Id: Ida80224cdc30d6e9095d3686dfd070a69e175899
-rw-r--r-- | Kbuild | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -538,7 +538,9 @@ ifneq ($(CONFIG_BCMDHD_PCIE),) DHDCFLAGS += -DDHD_USE_STATIC_CTRLBUF #Use coherent pool DHDCFLAGS += -DDHD_USE_COHERENT_MEM_FOR_RING +ifeq ($(CONFIG_SOC_GS201),) DHDCFLAGS += -DDHD_ALLOC_COHERENT_MEM_FROM_ATOMIC_POOL +endif # Runtime PM feature DHDCFLAGS += -DDHD_PCIE_RUNTIMEPM -DMAX_IDLE_COUNT=5 |