All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] arm64: dts: hikey: extend default cma size to 128MB
@ 2016-08-25  3:00 ` Guodong Xu
  0 siblings, 0 replies; 39+ messages in thread
From: Guodong Xu @ 2016-08-25  3:00 UTC (permalink / raw)
  To: xuwei5, robh+dt, rob.herring, mark.rutland, catalin.marinas, will.deacon
  Cc: fathi.boudra, john.stultz, xinliang.liu, devicetree,
	linux-arm-kernel, linux-kernel, jh80.chung, Guodong Xu

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>
---
 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";
-- 
1.9.1

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

end of thread, other threads:[~2016-10-28 21:13 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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 ` [PATCH v2 1/2] arm64: dts: hikey: extend default cma size to 128MB Wei Xu
2016-08-30 15:56   ` Wei Xu
2016-08-30 15:56   ` Wei Xu

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.