summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoegeun Kwon <hoegeun.kwon@samsung.com>2023-08-09 11:17:00 +0900
committerHoegeun Kwon <hoegeun.kwon@samsung.com>2023-08-09 11:40:03 +0900
commit93bbef15eb5096b416b130444f6383e353dbd00f (patch)
treeaa2e6bcc9d9ac8efb36f3c359b43ecb97a290095
parente750d985a70a0ceab8166131c39a73b962f91fd6 (diff)
downloadlinux-starfive-93bbef15eb5096b416b130444f6383e353dbd00f.tar.gz
linux-starfive-93bbef15eb5096b416b130444f6383e353dbd00f.tar.bz2
linux-starfive-93bbef15eb5096b416b130444f6383e353dbd00f.zip
RISCV: dts: starfive: Increase CMA range from 512MB to 768MBaccepted/tizen/unified/riscv/20230809.081413
In UHD resolution, there are many cases where alloc fail due to lack of CMA capacity. Increase CMA range to prevent cma_alloc failed. Change-Id: I6b0c355b773b08d09381e738329b986113982768 Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
-rw-r--r--arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi
index 1a8db6038346..3968ed756b88 100644
--- a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi
+++ b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi
@@ -71,9 +71,9 @@
linux,cma {
compatible = "shared-dma-pool";
reusable;
- size = <0x0 0x20000000>;
+ size = <0x0 0x30000000>;
alignment = <0x0 0x1000>;
- alloc-ranges = <0x0 0x80000000 0x0 0x20000000>;
+ alloc-ranges = <0x0 0x80000000 0x0 0x30000000>;
linux,cma-default;
};
};