diff options
| author | Tim Harvey | 2026-02-09 18:36:30 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2026-03-09 00:42:02 +0000 |
| commit | 01aff6f3c24f0fbef56bd32287090063ea6368aa (patch) | |
| tree | 58b28453a37e2a55e063ffc96d9c9dd0fbc4d34e | |
| parent | 1b4efac83665a2a75ce036f2a3dfdd43513cf89a (diff) | |
imx: cortexa53: enable DMA contiguous memory allocator
Enable and configure DMA contiguous memory allocator. Without this
CMA itself will be disabled.
Fixes: ae8bf1a26e15 ("imx: add imx8m support")
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
(cherry picked from commit eef354ff348ab2c1ec9db753ba192682d61ad313)
Link: https://github.com/openwrt/openwrt/pull/22203
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| -rw-r--r-- | target/linux/imx/cortexa53/config-default | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/imx/cortexa53/config-default b/target/linux/imx/cortexa53/config-default index ac8e646da4..ff1e3891a6 100644 --- a/target/linux/imx/cortexa53/config-default +++ b/target/linux/imx/cortexa53/config-default @@ -65,7 +65,13 @@ CONFIG_CRYPTO_SHA512_ARM64_CE=y # CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND is not set CONFIG_DEVFREQ_GOV_USERSPACE=y # CONFIG_DEVFREQ_THERMAL is not set -# CONFIG_DMA_CMA is not set +CONFIG_DMA_CMA=y +CONFIG_CMA_SIZE_MBYTES=32 +CONFIG_CMA_SIZE_SEL_MBYTES=y +# CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set +# CONFIG_CMA_SIZE_SEL_MIN is not set +# CONFIG_CMA_SIZE_SEL_MAX is not set +CONFIG_CMA_ALIGNMENT=8 CONFIG_DMA_DIRECT_REMAP=y # CONFIG_DRM_IMX_DCSS is not set CONFIG_DUMMY_CONSOLE=y |