OSDN Git Service

arm64: dts: meson-g12a: Add CMA reserved memory
authorNeil Armstrong <narmstrong@baylibre.com>
Wed, 27 Mar 2019 10:21:57 +0000 (11:21 +0100)
committerKevin Hilman <khilman@baylibre.com>
Fri, 29 Mar 2019 21:19:42 +0000 (14:19 -0700)
In order to handle Video Output and later on Video decoding,
add a reserved CMA pool with a similar 256MiB size as other SoCs.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi

index 4d04742..d6ca0bb 100644 (file)
                        reg = <0x0 0x05000000 0x0 0x300000>;
                        no-map;
                };
+
+               linux,cma {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x0 0x10000000>;
+                       alignment = <0x0 0x400000>;
+                       linux,cma-default;
+               };
        };
 
        sm: secure-monitor {