MLK-22974-2 ARM: dts: imx6sl/sll-evk: reserve CMA memory for Display
authorDong Aisheng <aisheng.dong@nxp.com>
Thu, 14 Nov 2019 09:27:55 +0000 (17:27 +0800)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:21:01 +0000 (11:21 +0800)
Reserve CMA memory for 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/imx6sl-evk.dts
arch/arm/boot/dts/imx6sll-evk.dts

index a004daf..0de66c2 100644 (file)
                reg = <0x80000000 0x40000000>;
        };
 
+       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>;
index 0f0fd48..60a1d6f 100644 (file)
                reg = <0x80000000 0x80000000>;
        };
 
+       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>;