ARM: tegra: Allocate 64 MiB for CMA by default
Subsystems (2)
PATCH 1/1 ARM: tegra: Allocate 64 MiB for CMA by default
From: Thierry Reding <[email protected]>
The default size of 16 MiB reserved for CMA is not enough for the majority of use-cases, so set it to something more sensible.
Note that users can still override this via the cma kernel command-line argument, which takes precendence over the default specified in the kernel configuration file.
--- arch/arm/configs/tegra_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/configs/tegra_defconfig +1 -0
@@ -88,6 +88,7 @@ CONFIG_DEVTMPFS_MOUNT=y CONFIG_EXTRA_FIRMWARE="nouveau/nvea_fuc409c nouveau/nvea_fuc409d nouveau/nvea_fuc41ac nouveau/nvea_fuc41ad vic03_ucode.bin gk20a.bin" CONFIG_DMA_BUF_TEST=y CONFIG_DMA_CMA=y +CONFIG_CMA_SIZE_MBYTES=64 CONFIG_MTD=y CONFIG_MTD_M25P80=y CONFIG_PROC_DEVICETREE=y
Signature · 1 line
1.8.4.2
A message that is not in the archive (sent off-list or not yet received): 1393860668-31996-1-git-send-email-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Quoted 8 lines · Thierry Reding
From: Thierry Reding <[email protected]>
The default size of 16 MiB reserved for CMA is not enough for the majority of use-cases, so set it to something more sensible.
Note that users can still override this via the cma kernel command-line argument, which takes precendence over the default specified in the kernel configuration file.
I've squashed this into Tegra's for-3.15/defconfig branch.
BTW, Tegra patches should probably be CC'd to the ARM kernel list as well, just so people are aware.