From: Hoegeun Kwon Date: Wed, 9 Aug 2023 02:17:00 +0000 (+0900) Subject: RISCV: dts: starfive: Increase CMA range from 512MB to 768MB X-Git-Tag: accepted/tizen/unified/toolchain/20240311.065846~40 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6ef11479a67e5ddfeb332d413b13f9ff75296d41;p=platform%2Fkernel%2Flinux-starfive.git RISCV: dts: starfive: Increase CMA range from 512MB to 768MB 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 Signed-off-by: Seung-Woo Kim --- 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 6484b6f..24d3a8d 100644 --- a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi @@ -47,9 +47,9 @@ linux,cma { compatible = "shared-dma-pool"; reusable; - size = <0x0 0x20000000>; + size = <0x0 0x30000000>; alignment = <0x0 0x1000>; - alloc-ranges = <0x0 0x70000000 0x0 0x20000000>; + alloc-ranges = <0x0 0x70000000 0x0 0x30000000>; linux,cma-default; }; };