diff mbox

ARM: tegra: Allocate 64 MiB for CMA by default

Message ID 1393860668-31996-1-git-send-email-thierry.reding@gmail.com
State Accepted, archived
Headers show

Commit Message

Thierry Reding March 3, 2014, 3:31 p.m. UTC
From: Thierry Reding <treding@nvidia.com>

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.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 arch/arm/configs/tegra_defconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Stephen Warren March 3, 2014, 5:43 p.m. UTC | #1
On 03/03/2014 08:31 AM, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/configs/tegra_defconfig b/arch/arm/configs/tegra_defconfig
index 81a325eda7b7..5bc752c6d732 100644
--- a/arch/arm/configs/tegra_defconfig
+++ b/arch/arm/configs/tegra_defconfig
@@ -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