]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ARM: dts: imx6qdl-mba6: Add reserved memory area for CMA memory
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Tue, 27 Aug 2024 14:24:58 +0000 (16:24 +0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 8 Oct 2024 08:33:35 +0000 (16:33 +0800)
Default CMA size is too small for HDMI output and VPU usage. Increase the
default size by providing a CMA memory area.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/imx/imx6qdl-mba6.dtsi

index 60aa1e947f62f8623af823850446437b8a2e08bf..8cefda70db638479c2b4d57dc20e23a8a48f9093 100644 (file)
                vin-supply = <&reg_mba6_3p3v>;
        };
 
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               linux,cma {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x14000000>;
+                       alloc-ranges = <0x10000000 0x20000000>;
+                       linux,cma-default;
+               };
+       };
+
        sound {
                compatible = "fsl,imx-audio-tlv320aic32x4";
                pinctrl-names = "default";