Skip to content

Commit abc8424

Browse files
Philippe SchenkerShawn Guo
authored andcommitted
arm64: dts: colibri-imx8x: Add cma memory
Add CMA in device tree and set its size to 416MiB for all Colibri iMX8X. The size is tuned to be enough to play full HD video using gst-play and to fit in the SKU with the lowest amount of RAM (1GB). Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent d4dc56d commit abc8424

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,19 @@
8686
regulator-name = "usbh_vbus";
8787
};
8888

89+
reserved-memory {
90+
#address-cells = <2>;
91+
#size-cells = <2>;
92+
ranges;
93+
94+
linux,cma {
95+
compatible = "shared-dma-pool";
96+
linux,cma-default;
97+
reusable;
98+
size = <0 0x1a000000>;
99+
};
100+
};
101+
89102
sound-card {
90103
compatible = "simple-audio-card";
91104
simple-audio-card,bitclock-master = <&dailink_master>;

0 commit comments

Comments
 (0)