diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2019-03-27 13:21:57 +0300 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2019-03-30 00:19:42 +0300 |
commit | e2cffeb398f4830b004774444809ee256b9bc653 (patch) | |
tree | aaf25aa4a21ee39905190046df828b78616987a0 | |
parent | c5c9c7cff2692d75a24761b081d717a78ad535c8 (diff) | |
download | linux-e2cffeb398f4830b004774444809ee256b9bc653.tar.xz |
arm64: dts: meson-g12a: Add CMA reserved memory
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>
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 4d04742b05c2..d6ca0bbd8f74 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -79,6 +79,14 @@ 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 { |