dts: fb: fine-tune fb for 2G mem
authorQiufang Dai <qiufang.dai@amlogic.com>
Tue, 29 May 2018 08:54:38 +0000 (16:54 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Fri, 29 Jun 2018 07:12:36 +0000 (00:12 -0700)
PD#165090: fine-tune fb cma/alloc for 2G mem

Change-Id: Ibbe35435eef867b34b46f090791477663b56270d
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
arch/arm64/boot/dts/amlogic/g12b_a311d_skt.dts

index 2dae706..8ff5943 100644 (file)
@@ -72,7 +72,7 @@
                        reusable;
                        size = <0x0 0x800000>;
                        alignment = <0x0 0x400000>;
-                       alloc-ranges = <0x0 0x3f800000 0x0 0x800000>;
+                       alloc-ranges = <0x0 0x7f800000 0x0 0x800000>;
                };
                ion_cma_reserved:linux,ion-dev {
                        compatible = "shared-dma-pool";
        display_size_default = <1920 1080 1920 2160 32>;
        mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>;
        logo_addr = "0x7f800000";
-       mem_alloc = <1>;
+       mem_alloc = <0>;
        pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
 };