Linux Samsung SOC development
 help / color / mirror / Atom feed
From: Tushar Behera <tushar.behera@linaro.org>
To: linux-samsung-soc@vger.kernel.org
Cc: kgene.kim@samsung.com, linaro-dev@lists.linaro.org,
	patches@linaro.org, Jon Medhurst <tixy@yxit.co.uk>
Subject: Re: [PATCH] ARM: EXYNOS4: Setup consistent dma size at boot time
Date: Thu, 13 Oct 2011 10:34:15 +0530	[thread overview]
Message-ID: <4E96714F.3030207@linaro.org> (raw)
In-Reply-To: <1315806945-3102-1-git-send-email-tushar.behera@linaro.org>

Hi Kukjin,

On Monday 12 September 2011 11:25 AM, Tushar Behera wrote:
> Some of the boards under mach-exynos4 initialize frame-buffers
> for which the memory requirement is more than 2MB (Nuri board requires
> around 4MB, Origen requires around 2.6MB), hence the default dma pool
> allocation size of 2MB is not sufficient. The consistent dma size is
> hence increased to successfully allocate memory for those boards.
>
> Depends on "ARM: Add init_consistent_dma_size()"
> by Jon Medhurst (99d1717dd7fecf2b10195b0d864323b952b4eba0).
>
> CC: Jon Medhurst<tixy@yxit.co.uk>
> Signed-off-by: Tushar Behera<tushar.behera@linaro.org>
> ---
>   arch/arm/mach-exynos4/cpu.c |    2 ++
>   1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-exynos4/cpu.c b/arch/arm/mach-exynos4/cpu.c
> index 2d8a40c..45d8bfa 100644
> --- a/arch/arm/mach-exynos4/cpu.c
> +++ b/arch/arm/mach-exynos4/cpu.c
> @@ -10,6 +10,7 @@
>
>   #include<linux/sched.h>
>   #include<linux/sysdev.h>
> +#include<linux/dma-mapping.h>
>
>   #include<asm/mach/map.h>
>   #include<asm/mach/irq.h>
> @@ -136,6 +137,7 @@ static void exynos4_idle(void)
>   void __init exynos4_map_io(void)
>   {
>   	iotable_init(exynos4_iodesc, ARRAY_SIZE(exynos4_iodesc));
> +	init_consistent_dma_size(SZ_8M);
>
>   	/* initialize device information early */
>   	exynos4_default_sdhci0();

Would you please consider this patch for 3.2?

-- 
Tushar Behera

      parent reply	other threads:[~2011-10-13  5:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-12  5:55 [PATCH] ARM: EXYNOS4: Setup consistent dma size at boot time Tushar Behera
2011-09-12 15:02 ` Subash Patel
2011-09-13  3:30   ` Tushar Behera
2011-09-13  4:42     ` Subash Patel
2011-10-13  5:04 ` Tushar Behera [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E96714F.3030207@linaro.org \
    --to=tushar.behera@linaro.org \
    --cc=kgene.kim@samsung.com \
    --cc=linaro-dev@lists.linaro.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=patches@linaro.org \
    --cc=tixy@yxit.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox