unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob cae02b7907f64934a50b93fb79ca2d26e5c29653 904 bytes (raw)
name: gnu/packages/patches/amlogic-0001-LOCAL-set-meson-gx-cma-pool-to-896MB.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
From bbbc1a8a588a2f899c67941f054dfeb250233a19 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/73] LOCAL: 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 023a52005494..ca0d1733d515 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
@@ -58,7 +58,7 @@
 		linux,cma {
 			compatible = "shared-dma-pool";
 			reusable;
-			size = <0x0 0x10000000>;
+			size = <0x0 0x38000000>;
 			alignment = <0x0 0x400000>;
 			linux,cma-default;
 		};
-- 
2.17.1


debug log:

solving cae02b7907 ...
found cae02b7907 in https://yhetil.org/guix-patches/C2ORkCSHJz-4jxwCauZznk4tZlP9KS4u_3Ywe4q2QrfJ7tvIswRWw4vX6OuzXDIHRriNNTQaCiYC67GgL30p8g80J9OcduCgaoZ8XNf-amE=@protonmail.com/

applying [1/1] https://yhetil.org/guix-patches/C2ORkCSHJz-4jxwCauZznk4tZlP9KS4u_3Ywe4q2QrfJ7tvIswRWw4vX6OuzXDIHRriNNTQaCiYC67GgL30p8g80J9OcduCgaoZ8XNf-amE=@protonmail.com/
diff --git a/gnu/packages/patches/amlogic-0001-LOCAL-set-meson-gx-cma-pool-to-896MB.patch b/gnu/packages/patches/amlogic-0001-LOCAL-set-meson-gx-cma-pool-to-896MB.patch
new file mode 100644
index 0000000000..cae02b7907

1:24: space before tab in indent.
 		linux,cma {
1:25: space before tab in indent.
 			compatible = "shared-dma-pool";
1:26: space before tab in indent.
 			reusable;
1:29: space before tab in indent.
 			alignment = <0x0 0x400000>;
1:30: space before tab in indent.
 			linux,cma-default;
Checking patch gnu/packages/patches/amlogic-0001-LOCAL-set-meson-gx-cma-pool-to-896MB.patch...
Applied patch gnu/packages/patches/amlogic-0001-LOCAL-set-meson-gx-cma-pool-to-896MB.patch cleanly.
warning: squelched 3 whitespace errors
warning: 8 lines add whitespace errors.

index at:
100644 cae02b7907f64934a50b93fb79ca2d26e5c29653	gnu/packages/patches/amlogic-0001-LOCAL-set-meson-gx-cma-pool-to-896MB.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).