From 43859118a4d406ef168997812d87215e38407d33 Mon Sep 17 00:00:00 2001 From: Cao Jian Date: Mon, 25 Nov 2019 13:04:13 +0800 Subject: [PATCH] dts: modify display_size_default for recovery buffer [4/4] PD#SWPL-16902 Problem: garbage screen for portrait panel in recovery mode Solution: modify display_size_default for recovery layout Verify: g12b-w400 Change-Id: Id42c8ed3ec824fdf00a598b25bde9c1f8383e532 Signed-off-by: Cao Jian (cherry picked from commit dffd6b54270d26bd1d8902ddf256a036bc779bd1) --- arch/arm/boot/dts/amlogic/g12b_a311d_w400.dts | 2 +- arch/arm/boot/dts/amlogic/g12b_a311d_w400_a.dts | 2 +- arch/arm64/boot/dts/amlogic/g12b_a311d_w400.dts | 2 +- arch/arm64/boot/dts/amlogic/g12b_a311d_w400_a.dts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/amlogic/g12b_a311d_w400.dts b/arch/arm/boot/dts/amlogic/g12b_a311d_w400.dts index 862ca7949e85..223d47bb1f74 100755 --- a/arch/arm/boot/dts/amlogic/g12b_a311d_w400.dts +++ b/arch/arm/boot/dts/amlogic/g12b_a311d_w400.dts @@ -854,7 +854,7 @@ &meson_fb { status = "okay"; - display_size_default = <1920 1080 1920 2160 32>; + display_size_default = <1080 1920 1080 3840 32>; /* portrait panel */ mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>; logo_addr = "0x7f800000"; mem_alloc = <0>; diff --git a/arch/arm/boot/dts/amlogic/g12b_a311d_w400_a.dts b/arch/arm/boot/dts/amlogic/g12b_a311d_w400_a.dts index fd0c0e5ad13b..2d1099a5b652 100644 --- a/arch/arm/boot/dts/amlogic/g12b_a311d_w400_a.dts +++ b/arch/arm/boot/dts/amlogic/g12b_a311d_w400_a.dts @@ -828,7 +828,7 @@ &meson_fb { status = "okay"; - display_size_default = <1920 1080 1920 2160 32>; + display_size_default = <1080 1920 1080 3840 32>; /* portrait panel */ mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>; logo_addr = "0x7f800000"; mem_alloc = <0>; diff --git a/arch/arm64/boot/dts/amlogic/g12b_a311d_w400.dts b/arch/arm64/boot/dts/amlogic/g12b_a311d_w400.dts index 71b5865316fb..b4a65ff41cc0 100755 --- a/arch/arm64/boot/dts/amlogic/g12b_a311d_w400.dts +++ b/arch/arm64/boot/dts/amlogic/g12b_a311d_w400.dts @@ -855,7 +855,7 @@ &meson_fb { status = "okay"; - display_size_default = <1920 1080 1920 2160 32>; + display_size_default = <1080 1920 1080 3840 32>; /* portrait panel */ mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>; logo_addr = "0x7f800000"; mem_alloc = <0>; diff --git a/arch/arm64/boot/dts/amlogic/g12b_a311d_w400_a.dts b/arch/arm64/boot/dts/amlogic/g12b_a311d_w400_a.dts index fa3d13ad44ca..a7b3ca2b11e7 100644 --- a/arch/arm64/boot/dts/amlogic/g12b_a311d_w400_a.dts +++ b/arch/arm64/boot/dts/amlogic/g12b_a311d_w400_a.dts @@ -829,7 +829,7 @@ &meson_fb { status = "okay"; - display_size_default = <1920 1080 1920 2160 32>; + display_size_default = <1080 1920 1080 3840 32>; /* portrait panel */ mem_size = <0x00800000 0x1980000 0x100000 0x100000 0x800000>; logo_addr = "0x7f800000"; mem_alloc = <0>; -- 2.20.1