diff options
author | Carlos Rafael Giani <crg7475@mailbox.org> | 2021-10-28 22:51:29 +0200 |
---|---|---|
committer | Carlos Rafael Giani <crg7475@mailbox.org> | 2022-04-14 23:33:07 +0200 |
commit | 779e73370e172667b35f34c01632b9484930d0e7 (patch) | |
tree | 2cbd22d2626a68e30eff8c8957609691a8356250 /recipes-kernel/linux/linux-imx/imx | |
parent | 2be425b809090cfe055a081db038912aa10b8205 (diff) | |
download | meta-freescale-779e73370e172667b35f34c01632b9484930d0e7.tar.gz |
linux-imx: 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>
Diffstat (limited to 'recipes-kernel/linux/linux-imx/imx')
-rw-r--r-- | recipes-kernel/linux/linux-imx/imx/defconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-imx/imx/defconfig b/recipes-kernel/linux/linux-imx/imx/defconfig index 30792d23..7ac298a7 100644 --- a/recipes-kernel/linux/linux-imx/imx/defconfig +++ b/recipes-kernel/linux/linux-imx/imx/defconfig | |||
@@ -577,3 +577,5 @@ CONFIG_MAGIC_SYSRQ=y | |||
577 | # CONFIG_DEBUG_PREEMPT is not set | 577 | # CONFIG_DEBUG_PREEMPT is not set |
578 | # CONFIG_DEBUG_BUGVERBOSE is not set | 578 | # CONFIG_DEBUG_BUGVERBOSE is not set |
579 | # CONFIG_FTRACE is not set | 579 | # CONFIG_FTRACE is not set |
580 | CONFIG_ION=y | ||
581 | CONFIG_ION_CMA_HEAP=y | ||