diff options
Diffstat (limited to 'general-increase-cma-pool-896MB.patch')
-rw-r--r-- | general-increase-cma-pool-896MB.patch | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/general-increase-cma-pool-896MB.patch b/general-increase-cma-pool-896MB.patch new file mode 100644 index 000000000000..fd0911c4ff6b --- /dev/null +++ b/general-increase-cma-pool-896MB.patch @@ -0,0 +1,56 @@ +From 4b6096bb3fd5bdc139a45e022e4a2380ea919dea Mon Sep 17 00:00:00 2001 +From: Christian Hewitt <christianshewitt@gmail.com> +Date: Sat, 13 Apr 2019 05:41:51 +0000 +Subject: [PATCH 01/90] HACK: set meson-gx cma pool to 896MB + +This change sets the CMA pool to a larger 896MB! value for 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 aa14ea017a61..99b8916e0c5d 100644 +--- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi ++++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi +@@ -58,7 +58,7 @@ secmon_reserved_bl32: secmon@5300000 { + linux,cma { + compatible = "shared-dma-pool"; + reusable; +- size = <0x0 0x10000000>; ++ size = <0x0 0x38000000>; + alignment = <0x0 0x400000>; + linux,cma-default; + }; +-- +2.35.1 + +From 18586e3d94827f63903c4cd596a0a06134261c00 Mon Sep 17 00:00:00 2001 +From: Christian Hewitt <christianshewitt@gmail.com> +Date: Wed, 14 Aug 2019 19:58:14 +0000 +Subject: [PATCH 02/90] HACK: set meson-g12 cma pool to 896MB + +This change sets the CMA pool to a larger 896MB! value for vdec use + +Signed-off-by: Christian Hewitt <christianshewitt@gmail.com> +--- + arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi +index f84d4b489e0b..04da23119ff1 100644 +--- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi ++++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi +@@ -116,7 +116,7 @@ secmon_reserved_bl32: secmon@5300000 { + linux,cma { + compatible = "shared-dma-pool"; + reusable; +- size = <0x0 0x10000000>; ++ size = <0x0 0x38000000>; + alignment = <0x0 0x400000>; + linux,cma-default; + }; +-- +2.35.1 + |