From 1468bcd5ad2302ad38f80e98d7b5cad1c146b54b Mon Sep 17 00:00:00 2001 From: Carlos Rafael Giani Date: Thu, 14 Apr 2022 23:35:45 +0200 Subject: linux-fslc: Enable ION DMA memory allocator for imx6 and imx7 The ION allocator is capable of allocating DMA memory blocks that are accessible through DMA-BUF. No other allocator has this feature, and ION is already enabled on all imx8 variants. In kernel 5.6, the dma-heap allocator is introduced, which replaces ION. Still, since Yocto Dunfell will not get a linux-imx version >= 5.6, enable ION to get a DMABUF-capable allocator also on imx6 and imx7 machines. Signed-off-by: Carlos Rafael Giani --- recipes-kernel/linux/linux-fslc/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-kernel/linux/linux-fslc/defconfig b/recipes-kernel/linux/linux-fslc/defconfig index dbb2387c..3526cee7 100644 --- a/recipes-kernel/linux/linux-fslc/defconfig +++ b/recipes-kernel/linux/linux-fslc/defconfig @@ -467,3 +467,5 @@ CONFIG_PROVE_LOCKING=y CONFIG_NET_SCHED=y CONFIG_NET_SCH_FQ_CODEL=y CONFIG_NET_SCH_FIFO=y +CONFIG_ION=y +CONFIG_ION_CMA_HEAP=y -- cgit v1.2.3-54-g00ecf