diff mbox series

ARM: dts: exynos/i9100: Fix LCD screen's physical size

Message ID 20230714153720.336990-1-paul@crapouillou.net
State Accepted
Commit b3f3fc32e5ff1e848555af8616318cc667457f90
Headers show
Series ARM: dts: exynos/i9100: Fix LCD screen's physical size | expand

Commit Message

Paul Cercueil July 14, 2023, 3:37 p.m. UTC
The previous values were completely bogus, and resulted in the computed
DPI ratio being much lower than reality, causing applications and UIs to
misbehave.

The new values were measured by myself with a ruler.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Fixes: 8620cc2f99b7 ("ARM: dts: exynos: Add devicetree file for the Galaxy S2")
Cc: <stable@vger.kernel.org> # v5.8+
---
 arch/arm/boot/dts/samsung/exynos4210-i9100.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Paul Cercueil July 14, 2023, 3:39 p.m. UTC | #1
Ooops, should have been V3.

V1/V2 was part of my "Galaxy S2 (i9100) panel updates" series. This one
patch did not change since V1 - except the ACK from Sam.

-Paul

Le vendredi 14 juillet 2023 à 17:37 +0200, Paul Cercueil a écrit :
> The previous values were completely bogus, and resulted in the
> computed
> DPI ratio being much lower than reality, causing applications and UIs
> to
> misbehave.
> 
> The new values were measured by myself with a ruler.
> 
> Signed-off-by: Paul Cercueil <paul@crapouillou.net>
> Acked-by: Sam Ravnborg <sam@ravnborg.org>
> Fixes: 8620cc2f99b7 ("ARM: dts: exynos: Add devicetree file for the
> Galaxy S2")
> Cc: <stable@vger.kernel.org> # v5.8+
> ---
>  arch/arm/boot/dts/samsung/exynos4210-i9100.dts | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/samsung/exynos4210-i9100.dts
> b/arch/arm/boot/dts/samsung/exynos4210-i9100.dts
> index 37cd4dde53e4..a9ec1f6c1dea 100644
> --- a/arch/arm/boot/dts/samsung/exynos4210-i9100.dts
> +++ b/arch/arm/boot/dts/samsung/exynos4210-i9100.dts
> @@ -207,8 +207,8 @@ lcd@0 {
>                         power-on-delay = <10>;
>                         reset-delay = <10>;
>  
> -                       panel-width-mm = <90>;
> -                       panel-height-mm = <154>;
> +                       panel-width-mm = <56>;
> +                       panel-height-mm = <93>;
>  
>                         display-timings {
>                                 timing {
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/samsung/exynos4210-i9100.dts b/arch/arm/boot/dts/samsung/exynos4210-i9100.dts
index 37cd4dde53e4..a9ec1f6c1dea 100644
--- a/arch/arm/boot/dts/samsung/exynos4210-i9100.dts
+++ b/arch/arm/boot/dts/samsung/exynos4210-i9100.dts
@@ -207,8 +207,8 @@  lcd@0 {
 			power-on-delay = <10>;
 			reset-delay = <10>;
 
-			panel-width-mm = <90>;
-			panel-height-mm = <154>;
+			panel-width-mm = <56>;
+			panel-height-mm = <93>;
 
 			display-timings {
 				timing {