build/patch/kernel/meson64-dev/0059-HACK-set-meson-gx-cma-pool-to-896MB.patch
Igor Pečovnik 03f380178d
Moving Meson64 to k5.6.y and u-boot 2020.04 (#1890)
* Move Meson64 to 5.6.y
* Move Meson64 U-boot to 2020.04

Tested on Odroid C2
* Merge, replace and update patches from Khadas branch
2020-04-17 09:07:43 +02:00

28 lines
898 B
Diff

From 11323b220e5ac629618f1d5d156a1e10d709ff0a Mon Sep 17 00:00:00 2001
From: chewitt <github@chrishewitt.net>
Date: Sat, 13 Apr 2019 05:41:51 +0000
Subject: [PATCH 059/101] HACK: set meson-gx cma pool to 896MB
This change sets the CMA pool to a larger 896MB! value for (WIP) vdec use
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
---
arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
index 3f55ef2ae021..807db6e73a49 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
@@ -50,7 +50,7 @@
linux,cma {
compatible = "shared-dma-pool";
reusable;
- size = <0x0 0x10000000>;
+ size = <0x0 0x38000000>;
alignment = <0x0 0x400000>;
linux,cma-default;
};
--
2.17.1