ANDROID: dma-heap: Make the page-pool/deferred-free libraries built-in
Since vendors might depend on them for their system heap implementations, make the page-pool/deferred-free libraries built-in to freeze their KMI. Bug: 183902174 Change-Id: If633619ec1f78d0fbd73c43c48b19d98db7807af Signed-off-by: Hridya Valsaraju <hridya@google.com>
This commit is contained in:
@@ -485,6 +485,8 @@ CONFIG_RTC_DRV_PL030=y
|
||||
CONFIG_RTC_DRV_PL031=y
|
||||
CONFIG_DMABUF_HEAPS=y
|
||||
CONFIG_DMABUF_SYSFS_STATS=y
|
||||
CONFIG_DMABUF_HEAPS_DEFERRED_FREE=y
|
||||
CONFIG_DMABUF_HEAPS_PAGE_POOL=y
|
||||
CONFIG_UIO=y
|
||||
CONFIG_VHOST_VSOCK=y
|
||||
CONFIG_STAGING=y
|
||||
|
||||
@@ -439,6 +439,8 @@ CONFIG_EDAC=y
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_DMABUF_HEAPS=y
|
||||
CONFIG_DMABUF_SYSFS_STATS=y
|
||||
CONFIG_DMABUF_HEAPS_DEFERRED_FREE=y
|
||||
CONFIG_DMABUF_HEAPS_PAGE_POOL=y
|
||||
CONFIG_UIO=y
|
||||
CONFIG_VHOST_VSOCK=y
|
||||
CONFIG_STAGING=y
|
||||
|
||||
@@ -1,14 +1,16 @@
|
||||
config DMABUF_HEAPS_DEFERRED_FREE
|
||||
tristate
|
||||
menuconfig DMABUF_HEAPS_DEFERRED_FREE
|
||||
bool "DMA-BUF heaps deferred-free library"
|
||||
help
|
||||
Choose this option to enable the DMA-BUF heaps deferred-free library.
|
||||
|
||||
config DMABUF_HEAPS_PAGE_POOL
|
||||
tristate
|
||||
menuconfig DMABUF_HEAPS_PAGE_POOL
|
||||
bool "DMA-BUF heaps page-pool library"
|
||||
help
|
||||
Choose this option to enable the DMA-BUF heaps page-pool library.
|
||||
|
||||
config DMABUF_HEAPS_SYSTEM
|
||||
tristate "DMA-BUF System Heap"
|
||||
depends on DMABUF_HEAPS
|
||||
select DMABUF_HEAPS_PAGE_POOL
|
||||
select DMABUF_HEAPS_DEFERRED_FREE
|
||||
depends on DMABUF_HEAPS && DMABUF_HEAPS_DEFERRED_FREE && DMABUF_HEAPS_PAGE_POOL
|
||||
help
|
||||
Choose this option to enable the system dmabuf heap. The system heap
|
||||
is backed by pages from the buddy allocator. If in doubt, say Y.
|
||||
|
||||
Reference in New Issue
Block a user