dts: Optimization t962e2_skt、t962x3_skt logo CMA memory layout [1/1]
authorqingwei.xu <qingwei.xu@amlogic.com>
Mon, 8 Apr 2019 05:40:58 +0000 (13:40 +0800)
committerJianxiong Pan <jianxiong.pan@amlogic.com>
Thu, 11 Apr 2019 06:49:37 +0000 (14:49 +0800)
PD#SWPL-6373

Problem:
Optimization logo CMA memory layout

Solution:
Optimization logo CMA memory layout

Verify:
t962e2_skt

Change-Id: I03906452d35881ccd4e463715e5be7580740816d
Signed-off-by: qingwei.xu <qingwei.xu@amlogic.com>
arch/arm/boot/dts/amlogic/tm2_t962e2_ab319.dts
arch/arm/boot/dts/amlogic/tm2_t962x3_ab309.dts
arch/arm64/boot/dts/amlogic/tm2_t962e2_ab319.dts
arch/arm64/boot/dts/amlogic/tm2_t962x3_ab309.dts

index dc8754d..789126c 100644 (file)
                        alloc-ranges = <0x05000000 0x400000>;
                };
 
+               logo_reserved:linux,meson-fb {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x800000>;
+                       alignment = <0x400000>;
+                       alloc-ranges = <0x7f800000 0x800000>;
+               };
+
+               lcd_tcon_reserved:linux,lcd_tcon {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0xc00000>;
+                       alignment = <0x400000>;
+                       alloc-ranges = <0x7ec00000 0xc00000>;
+               };
+
                codec_mm_cma:linux,codec_mm_cma {
                        compatible = "shared-dma-pool";
                        reusable;
@@ -75,7 +91,6 @@
                        size = <0x13400000>;
                        alignment = <0x400000>;
                        linux,contiguous-region;
-                       alloc-ranges = <0x30000000 0x50000000>;
                };
 
                /* codec shared reserved */
                        //no-map;
                };
 
-               logo_reserved:linux,meson-fb {
-                       compatible = "shared-dma-pool";
-                       reusable;
-                       size = <0x800000>;
-                       alignment = <0x400000>;
-                       alloc-ranges = <0x7f800000 0x800000>;
-               };
-
                ion_cma_reserved:linux,ion-dev {
                        compatible = "shared-dma-pool";
                        reusable;
index 0c2cad0..2a9a989 100644 (file)
                        alloc-ranges = <0x05000000 0x400000>;
                };
 
+               logo_reserved:linux,meson-fb {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x800000>;
+                       alignment = <0x400000>;
+                       alloc-ranges = <0x7f800000 0x800000>;
+               };
+
+               lcd_tcon_reserved:linux,lcd_tcon {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0xc00000>;
+                       alignment = <0x400000>;
+                       alloc-ranges = <0x7ec00000 0xc00000>;
+               };
+
                codec_mm_cma:linux,codec_mm_cma {
                        compatible = "shared-dma-pool";
                        reusable;
@@ -76,7 +92,6 @@
                        size = <0x13400000>;
                        alignment = <0x400000>;
                        linux,contiguous-region;
-                       alloc-ranges = <0x30000000 0x50000000>;
                };
 
                /* codec shared reserved */
                        //no-map;
                };
 
-               logo_reserved:linux,meson-fb {
-                       compatible = "shared-dma-pool";
-                       reusable;
-                       size = <0x800000>;
-                       alignment = <0x400000>;
-                       alloc-ranges = <0x7f800000 0x800000>;
-               };
-
                ion_cma_reserved:linux,ion-dev {
                        compatible = "shared-dma-pool";
                        reusable;
index 4090e2f..5890e4d 100644 (file)
                        alloc-ranges = <0x0 0x05000000 0x0 0x400000>;
                };
 
+               logo_reserved:linux,meson-fb {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x0 0x800000>;
+                       alignment = <0x0 0x400000>;
+                       alloc-ranges = <0x0 0x7f800000 0x0 0x800000>;
+               };
+
+               lcd_tcon_reserved:linux,lcd_tcon {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x0 0xc00000>;
+                       alignment = <0x0 0x400000>;
+                       alloc-ranges = <0x0 0x7ec00000 0x0 0xc00000>;
+               };
+
                codec_mm_cma:linux,codec_mm_cma {
                        compatible = "shared-dma-pool";
                        reusable;
@@ -75,7 +91,6 @@
                        size = <0x0 0x13400000>;
                        alignment = <0x0 0x400000>;
                        linux,contiguous-region;
-                       alloc-ranges = <0x0 0x30000000 0x0 0x50000000>;
                };
 
                /* codec shared reserved */
                        //no-map;
                };
 
-               logo_reserved:linux,meson-fb {
-                       compatible = "shared-dma-pool";
-                       reusable;
-                       size = <0x0 0x800000>;
-                       alignment = <0x0  0x400000>;
-                       alloc-ranges = <0x0  0x7f800000 0x0  0x800000>;
-               };
-
                ion_cma_reserved:linux,ion-dev {
                        compatible = "shared-dma-pool";
                        reusable;
index b2efddc..8fc28f5 100644 (file)
                        alloc-ranges = <0x0 0x05000000 0x0 0x400000>;
                };
 
+               logo_reserved:linux,meson-fb {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x0 0x800000>;
+                       alignment = <0x0 0x400000>;
+                       alloc-ranges = <0x0 0x7f800000 0x0 0x800000>;
+               };
+
+               lcd_tcon_reserved:linux,lcd_tcon {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x0 0xc00000>;
+                       alignment = <0x0 0x400000>;
+                       alloc-ranges = <0x0 0x7ec00000 0x0 0xc00000>;
+               };
+
                codec_mm_cma:linux,codec_mm_cma {
                        compatible = "shared-dma-pool";
                        reusable;
@@ -76,7 +92,6 @@
                        size = <0x0 0x13400000>;
                        alignment = <0x0 0x400000>;
                        linux,contiguous-region;
-                       alloc-ranges = <0x0 0x30000000 0x0 0x50000000>;
                };
 
                /* codec shared reserved */
                        //no-map;
                };
 
-               logo_reserved:linux,meson-fb {
-                       compatible = "shared-dma-pool";
-                       reusable;
-                       size = <0x0 0x800000>;
-                       alignment = <0x0  0x400000>;
-                       alloc-ranges = <0x0  0x7f800000 0x0  0x800000>;
-               };
-
                ion_cma_reserved:linux,ion-dev {
                        compatible = "shared-dma-pool";
                        reusable;