dts: logo addr overflows the max size in 1g platform.[1/1]
authorLuan Yuan <luan.yuan@amlogic.com>
Mon, 17 Jun 2019 11:13:54 +0000 (19:13 +0800)
committerNick Xie <nick@khadas.com>
Mon, 5 Aug 2019 07:04:56 +0000 (15:04 +0800)
PD#SWPL-9938

Problem:
logo addr overflows the max size in 1g platform.

Solution:
fixed it

Verify:
verify by fermi

Change-Id: Ic1edc545c702b10d88cd03ddc4b761f142457b43
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
arch/arm/boot/dts/amlogic/g12a_s905d2_u200_1g.dts
arch/arm/boot/dts/amlogic/gxm_q201_1g.dts
arch/arm64/boot/dts/amlogic/g12a_s905d2_u200_1g.dts
arch/arm64/boot/dts/amlogic/gxm_q201_1g.dts

index 20507f7..34b6cb5 100644 (file)
        status = "okay";
        display_size_default = <1920 1080 1920 2160 32>;
        mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>;
-       logo_addr = "0x7f800000";
+       logo_addr = "0x3f800000";
        mem_alloc = <0>;
        pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
 };
index a7e5e89..bc5ada6 100644 (file)
@@ -76,7 +76,7 @@
                        reusable;
                        size = <0x800000>;
                        alignment = <0x400000>;
-                       alloc-ranges = <0x7f800000 0x800000>;
+                       alloc-ranges = <0x3f800000 0x800000>;
                };
                //don't put other dts in front of logo_reserved
 
                /** 0:VPU free scale 1:OSD free scale 2:OSD super scale */
                display_size_default = <1920 1080 1920 3240 32>;
                /*1920*1080*4*3 = 0x17BB000*/
-               logo_addr = "0x7f800000";
+               logo_addr = "0x3f800000";
        };
        ge2d {
                compatible = "amlogic, ge2d-gxm";
index 4193aff..84ec890 100644 (file)
        status = "okay";
        display_size_default = <1920 1080 1920 2160 32>;
        mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>;
-       logo_addr = "0x7f800000";
+       logo_addr = "0x3f800000";
        mem_alloc = <0>;
        pxp_mode = <0>; /** 0:normal mode 1:pxp mode */
 };
index d843d3f..838e6d2 100644 (file)
@@ -76,7 +76,7 @@
                        reusable;
                        size = <0x0 0x800000>;
                        alignment = <0x0 0x400000>;
-                       alloc-ranges = <0x0 0x7f800000 0x0 0x800000>;
+                       alloc-ranges = <0x0 0x3f800000 0x0 0x800000>;
                };
                //don't put other dts in front of logo_reserved
 
                /** 0:VPU free scale 1:OSD free scale 2:OSD super scale */
                display_size_default = <1920 1080 1920 3240 32>;
                /*1920*1080*4*3 = 0x17BB000*/
-               logo_addr = "0x7f800000";
+               logo_addr = "0x3f800000";
        };
        ge2d {
                compatible = "amlogic, ge2d-gxm";