RISCV: dts: starfive: Increase CMA range from 512MB to 768MB
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Wed, 9 Aug 2023 02:17:00 +0000 (11:17 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 19 Feb 2024 00:13:59 +0000 (09:13 +0900)
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>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi

index 6484b6f..24d3a8d 100644 (file)
@@ -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;
                };
        };