All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: tegra: Allocate 64 MiB for CMA by default
@ 2014-03-03 15:31 Thierry Reding
       [not found] ` <1393860668-31996-1-git-send-email-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Thierry Reding @ 2014-03-03 15:31 UTC (permalink / raw
  To: Stephen Warren; +Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA

From: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

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-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
 arch/arm/configs/tegra_defconfig | 1 +
 1 file changed, 1 insertion(+)

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
-- 
1.8.4.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: tegra: Allocate 64 MiB for CMA by default
       [not found] ` <1393860668-31996-1-git-send-email-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2014-03-03 17:43   ` Stephen Warren
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Warren @ 2014-03-03 17:43 UTC (permalink / raw
  To: Thierry Reding; +Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA

On 03/03/2014 08:31 AM, Thierry Reding wrote:
> From: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> 
> 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-03 17:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-03 15:31 [PATCH] ARM: tegra: Allocate 64 MiB for CMA by default Thierry Reding
     [not found] ` <1393860668-31996-1-git-send-email-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-03-03 17:43   ` Stephen Warren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.