]> git.itanic.dy.fi Git - linux-stable/commitdiff
ARM: dts: samsung: exynos4210-i9100: Fix LCD screen's physical size
authorPaul Cercueil <paul@crapouillou.net>
Fri, 14 Jul 2023 15:37:20 +0000 (17:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Sep 2023 10:23:03 +0000 (12:23 +0200)
[ Upstream commit b3f3fc32e5ff1e848555af8616318cc667457f90 ]

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+
Link: https://lore.kernel.org/r/20230714153720.336990-1-paul@crapouillou.net
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/exynos4210-i9100.dts

index 5f5d9b1357365aa07644bf94c21a7331eec5b83d..93880bdbcad98b5cf9cf57a1c5d8ecffbf5a3fb2 100644 (file)
@@ -200,8 +200,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 {