firmware/br-ext-chip-goke/board/gk7205v200/kernel/patches/00_drivers-goke-cma-Kconfig...

20 lines
596 B
Diff

--- linux-4.9.37/drivers/goke/cma/Kconfig 1970-01-01 03:00:00.000000000 +0300
+++ linux-4.9.y/drivers/goke/cma/Kconfig 2021-06-07 13:01:33.000000000 +0300
@@ -0,0 +1,16 @@
+
+config CMA_MEM_SHARED
+ bool "Support sharing CMA memory with the heap"
+ depends on CMA && DMA_CMA
+ default no
+ help
+ Support sharing CMA memory with the heap.
+
+config CMA_ADVANCE_SHARE
+ bool "Support cma advance share"
+ depends on CMA && DMA_CMA
+ select CMA_MEM_SHARED
+ default no
+ help
+ Support advance sharing CMA memory with the heap.
+ CMA Multiplex Ratio will be improved when this macro defined.