Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c98573e authored by Shiraz Hashim's avatar Shiraz Hashim
Browse files

ARM: dts: msm: configure default CMA region for sdm630



Configure the size of the default CMA region to 32 MB in
DT for sdm630.

Configuring the default CMA region in the DT is cleaner
than using CONFIG_CMA_SIZE_MBYTES since it is easier to
configure per target and the alloc ranges can be specified
in DT.

Change-Id: I329ae0aa9cffeed7c30e44749c15fbb83c58b599
Signed-off-by: default avatarShiraz Hashim <shashim@codeaurora.org>
parent 01e31721
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -320,6 +320,17 @@
			alignment = <0x0 0x400000>;
			size = <0x0 0x5c00000>;
		};

		/* global autoconfigured region for contiguous allocations */
		linux,cma {
			compatible = "shared-dma-pool";
			alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
			reusable;
			alignment = <0x0 0x400000>;
			size = <0x0 0x2000000>;
			linux,cma-default;
		};

	};
};