MLK-22974-1 ARM: dts: imx6ul-evk: reserve CMA memory for GPU/MM/Display
authorDong Aisheng <aisheng.dong@nxp.com>
Thu, 14 Nov 2019 09:20:39 +0000 (17:20 +0800)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:21:01 +0000 (11:21 +0800)
Reserve CMA memory for GPU/MM/Display

[ Aisheng: Ported from 4.19 GA ]
Tested-by: Robby Cai <robby.cai@nxp.com>
Acked-by: Jason Liu <jason.hui.liu@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
arch/arm/boot/dts/imx6ul-14x14-evk.dtsi

index 06fe2c7..df297a4 100644 (file)
                reg = <0x80000000 0x20000000>;
        };
 
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               linux,cma {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x14000000>;
+                       linux,cma-default;
+               };
+       };
+
        backlight_display: backlight-display {
                compatible = "pwm-backlight";
                pwms = <&pwm1 0 5000000>;