summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Rafael Giani <crg7475@mailbox.org>2022-04-14 23:35:45 +0200
committerCarlos Rafael Giani <crg7475@mailbox.org>2022-04-14 23:36:19 +0200
commit1468bcd5ad2302ad38f80e98d7b5cad1c146b54b (patch)
tree23289124526f6adbb2282487c469d9226d57fa12
parent779e73370e172667b35f34c01632b9484930d0e7 (diff)
downloadmeta-freescale-1468bcd5ad2302ad38f80e98d7b5cad1c146b54b.tar.gz
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 <crg7475@mailbox.org>
-rw-r--r--recipes-kernel/linux/linux-fslc/defconfig2
1 files changed, 2 insertions, 0 deletions
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
467CONFIG_NET_SCHED=y 467CONFIG_NET_SCHED=y
468CONFIG_NET_SCH_FQ_CODEL=y 468CONFIG_NET_SCH_FQ_CODEL=y
469CONFIG_NET_SCH_FIFO=y 469CONFIG_NET_SCH_FIFO=y
470CONFIG_ION=y
471CONFIG_ION_CMA_HEAP=y