All of lore.kernel.org
 help / color / mirror / Atom feed
From: xuwei5@hisilicon.com (Wei Xu)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/2] arm64: dts: hikey: extend default cma size to 128MB
Date: Tue, 30 Aug 2016 16:56:48 +0100	[thread overview]
Message-ID: <57C5ACC0.90902@hisilicon.com> (raw)
In-Reply-To: <1472094041-5357-1-git-send-email-guodong.xu@linaro.org>

Hi Guodong,

On 25/08/2016 04:00, Guodong Xu wrote:
> To support display in Debian on HiKey, cma heap is used to allocate
> graphic buffers. The default size of CMA is 16 MB which is not enough.
> 
> Increase the default CMA size to 128 MB.
> 
> cc: Fathi Boudra <fathi.boudra@linaro.org>
> cc: John Stultz <john.stultz@linaro.org>
> cc: Xinliang Liu <xinliang.liu@linaro.org>
> Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
> Acked-by: Rob Herring <robh@kernel.org>
> ---

Series applied to the hisilicon dt branch.
Thanks!

Best Regards,
Wei

>  arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
> index 9e4e06a..dba3c13 100644
> --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
> +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
> @@ -57,8 +57,15 @@
>  			console-size	= <0x00020000>;
>  			ftrace-size	= <0x00020000>;
>  		};
> -	};
>  
> +		/* global autoconfigured region for contiguous allocations */
> +		linux,cma {
> +			compatible = "shared-dma-pool";
> +			reusable;
> +			size = <0x00000000 0x08000000>;
> +			linux,cma-default;
> +		};
> +	};
>  
>  	reboot-mode-syscon at 5f01000 {
>  		compatible = "syscon", "simple-mfd";
> 

WARNING: multiple messages have this Message-ID (diff)
From: Wei Xu <xuwei5-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>
To: Guodong Xu <guodong.xu-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	rob.herring-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
	mark.rutland-5wv7dgnIgG8@public.gmane.org,
	catalin.marinas-5wv7dgnIgG8@public.gmane.org,
	will.deacon-5wv7dgnIgG8@public.gmane.org
Cc: fathi.boudra-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
	john.stultz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
	xinliang.liu-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	jh80.chung-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org
Subject: Re: [PATCH v2 1/2] arm64: dts: hikey: extend default cma size to 128MB
Date: Tue, 30 Aug 2016 16:56:48 +0100	[thread overview]
Message-ID: <57C5ACC0.90902@hisilicon.com> (raw)
In-Reply-To: <1472094041-5357-1-git-send-email-guodong.xu-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>

Hi Guodong,

On 25/08/2016 04:00, Guodong Xu wrote:
> To support display in Debian on HiKey, cma heap is used to allocate
> graphic buffers. The default size of CMA is 16 MB which is not enough.
> 
> Increase the default CMA size to 128 MB.
> 
> cc: Fathi Boudra <fathi.boudra-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> cc: John Stultz <john.stultz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> cc: Xinliang Liu <xinliang.liu-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> Signed-off-by: Guodong Xu <guodong.xu-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
> ---

Series applied to the hisilicon dt branch.
Thanks!

Best Regards,
Wei

>  arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
> index 9e4e06a..dba3c13 100644
> --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
> +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
> @@ -57,8 +57,15 @@
>  			console-size	= <0x00020000>;
>  			ftrace-size	= <0x00020000>;
>  		};
> -	};
>  
> +		/* global autoconfigured region for contiguous allocations */
> +		linux,cma {
> +			compatible = "shared-dma-pool";
> +			reusable;
> +			size = <0x00000000 0x08000000>;
> +			linux,cma-default;
> +		};
> +	};
>  
>  	reboot-mode-syscon@5f01000 {
>  		compatible = "syscon", "simple-mfd";
> 

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Wei Xu <xuwei5@hisilicon.com>
To: Guodong Xu <guodong.xu@linaro.org>, <robh+dt@kernel.org>,
	<rob.herring@linaro.org>, <mark.rutland@arm.com>,
	<catalin.marinas@arm.com>, <will.deacon@arm.com>
Cc: <fathi.boudra@linaro.org>, <john.stultz@linaro.org>,
	<xinliang.liu@linaro.org>, <devicetree@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>, <jh80.chung@samsung.com>
Subject: Re: [PATCH v2 1/2] arm64: dts: hikey: extend default cma size to 128MB
Date: Tue, 30 Aug 2016 16:56:48 +0100	[thread overview]
Message-ID: <57C5ACC0.90902@hisilicon.com> (raw)
In-Reply-To: <1472094041-5357-1-git-send-email-guodong.xu@linaro.org>

Hi Guodong,

On 25/08/2016 04:00, Guodong Xu wrote:
> To support display in Debian on HiKey, cma heap is used to allocate
> graphic buffers. The default size of CMA is 16 MB which is not enough.
> 
> Increase the default CMA size to 128 MB.
> 
> cc: Fathi Boudra <fathi.boudra@linaro.org>
> cc: John Stultz <john.stultz@linaro.org>
> cc: Xinliang Liu <xinliang.liu@linaro.org>
> Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
> Acked-by: Rob Herring <robh@kernel.org>
> ---

Series applied to the hisilicon dt branch.
Thanks!

Best Regards,
Wei

>  arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
> index 9e4e06a..dba3c13 100644
> --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
> +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
> @@ -57,8 +57,15 @@
>  			console-size	= <0x00020000>;
>  			ftrace-size	= <0x00020000>;
>  		};
> -	};
>  
> +		/* global autoconfigured region for contiguous allocations */
> +		linux,cma {
> +			compatible = "shared-dma-pool";
> +			reusable;
> +			size = <0x00000000 0x08000000>;
> +			linux,cma-default;
> +		};
> +	};
>  
>  	reboot-mode-syscon@5f01000 {
>  		compatible = "syscon", "simple-mfd";
> 

  parent reply	other threads:[~2016-08-30 15:56 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-25  3:00 [PATCH v2 1/2] arm64: dts: hikey: extend default cma size to 128MB Guodong Xu
2016-08-25  3:00 ` Guodong Xu
2016-08-25  3:00 ` Guodong Xu
2016-08-25  3:00 ` [PATCH v2 2/2] arm64: dts: hi6220: add resets property into dwmmc nodes Guodong Xu
2016-08-25  3:00   ` Guodong Xu
2016-08-25  3:00   ` Guodong Xu
2016-10-27 13:56   ` Vincent Guittot
2016-10-27 13:56     ` Vincent Guittot
2016-10-27 13:56     ` Vincent Guittot
2016-10-27 20:23     ` John Stultz
2016-10-27 20:23       ` John Stultz
2016-10-27 20:23       ` John Stultz
     [not found]       ` <CALAqxLXfb48h8hMQmAaJ+YjA5=pekkQ8Dg8ReL6VTTfmuFRPDw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-10-28  6:43         ` Vincent Guittot
2016-10-28  6:43           ` Vincent Guittot
2016-10-28  7:26           ` Leo Yan
2016-10-28  7:26             ` Leo Yan
2016-10-28  7:33             ` Jaehoon Chung
2016-10-28  7:33               ` Jaehoon Chung
2016-10-28  7:33               ` Jaehoon Chung
2016-10-28  7:38               ` Leo Yan
2016-10-28  7:38                 ` Leo Yan
2016-10-28  9:43                 ` Jaehoon Chung
2016-10-28  9:43                   ` Jaehoon Chung
2016-10-28  9:54                   ` Jaehoon Chung
2016-10-28  9:54                     ` Jaehoon Chung
2016-10-28  9:54                     ` Jaehoon Chung
2016-10-28 10:19                     ` Leo Yan
2016-10-28 10:19                       ` Leo Yan
2016-10-28 10:19                       ` Leo Yan
2016-10-28 11:52                       ` Jaehoon Chung
2016-10-28 11:52                         ` Jaehoon Chung
2016-10-28 12:34                         ` Leo Yan
2016-10-28 12:34                           ` Leo Yan
2016-10-28 21:12                           ` John Stultz
2016-10-28 21:12                             ` John Stultz
2016-10-28 21:12                             ` John Stultz
2016-08-30 15:56 ` Wei Xu [this message]
2016-08-30 15:56   ` [PATCH v2 1/2] arm64: dts: hikey: extend default cma size to 128MB Wei Xu
2016-08-30 15:56   ` Wei Xu

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=57C5ACC0.90902@hisilicon.com \
    --to=xuwei5@hisilicon.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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 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.