Re: [PATCH v10 1/5] dma-buf: Add dma-buf heaps framework

From: Randy Dunlap
Date: Mon Oct 07 2019 - 17:21:42 EST


On 10/7/19 2:18 PM, John Stultz wrote:
> diff --git a/drivers/dma-buf/Kconfig b/drivers/dma-buf/Kconfig
> index a23b6752d11a..6e9c7c4d7447 100644
> --- a/drivers/dma-buf/Kconfig
> +++ b/drivers/dma-buf/Kconfig
> @@ -44,4 +44,13 @@ config DMABUF_SELFTESTS
> default n
> depends on DMA_SHARED_BUFFER
>
> +menuconfig DMABUF_HEAPS
> + bool "DMA-BUF Userland Memory Heaps"
> + select DMA_SHARED_BUFFER
> + help
> + Choose this option to enable the DMA-BUF userland memory heaps,

heaps.

> + this options creates per heap chardevs in /dev/dma_heap/ which

This

> + allows userspace to use to allocate dma-bufs that can be shared

?? to allocate & use

> + between drivers.
> +
> endmenu


--
~Randy