From patchwork Tue May 28 08:32:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerald Loacker X-Patchwork-Id: 13676305 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 30BEAC25B78 for ; Tue, 28 May 2024 08:33:55 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2175810E9A1; Tue, 28 May 2024 08:33:54 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=wolfvision.net header.i=@wolfvision.net header.b="SEXon7Bo"; dkim-atps=neutral Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2090.outbound.protection.outlook.com [40.107.21.90]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0663110E2D6 for ; Tue, 28 May 2024 08:33:44 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nszr/HByaee+mOWP+w78gJlcVwFuXIxtlELU1Ts2mjbJxCgsQgFtd0aAuhLngkBk9LXxv4/LFPjJSoxKvkg8p8nPYph9dqWuy1uPxM0nfK/aWk8OZ1nykk+0dzc74bck0Kex4wmq5hRfQlSXSpLS9sVddoEp/XP0l+lf0uUHI0rt9StAmyUXvfEn/kt5hskw26roPAvKvVAcU9sp0URZ2aOLFh1s+GswdALDYgyawMQASAjtVBLuIzN86++2oGa1DRSBmBKms3hBWEMc+uI68rwHnAjYVMBNt7PtzNPj7qN42OmIH4GkaZYz2yDSXo5yjApVZEBltObPsOoJAgnYqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zxAKihY49H3Kks6+DXRKr+2SGOCPjqQwuEUbKZZuLAw=; b=XEsDmUfkYP16t96XCuhQadwudZRKDDInetYTsHvMXSjXs6RS6xKxB9nGk8+ay/wNdip1WCLKIpYzQ7zim+IFQpTHyla+NIaTtHRsFLD/bUWNpXO7/N6Kgz6zlDHNrEHt6pTASH/bDMDsm3Zp5Mpw/EAv6IJl8ijhRKj5hElGInuIirZoeiiS+sQsUHK80ZsQbtBLOyV8E4fzNZEnqg9+d6sbj4OvCysD+LnFsGnwLsVOcG2E41WCZsYVF4BdRKVTENvGp9jd2wwXME3R9rwbFThW914q4hu7SDVIIbiA3xyP3Znrv6zWeUX+FjEO5yLGs55GqW9JD8wiB/fJdHGeRA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zxAKihY49H3Kks6+DXRKr+2SGOCPjqQwuEUbKZZuLAw=; b=SEXon7Bo5Fesc4JBua8WHBWZlhoyLNg5IRYLoOxHZaRdc9NDt8xP8wMOcN098JLryI514DXCtf8WWAG5bPuR6ZfEqe8igeCvOeK2HY+Qx7bS5velx6mjw5nk2/aZE/0pC/sFECOCYABzQfCuo4h7t+x79tWxx6x/gUT80xD17PI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from VI1PR08MB4544.eurprd08.prod.outlook.com (2603:10a6:803:100::13) by PAVPR08MB9745.eurprd08.prod.outlook.com (2603:10a6:102:31c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.29; Tue, 28 May 2024 08:33:39 +0000 Received: from VI1PR08MB4544.eurprd08.prod.outlook.com ([fe80::1f7f:ed46:6440:8b38]) by VI1PR08MB4544.eurprd08.prod.outlook.com ([fe80::1f7f:ed46:6440:8b38%4]) with mapi id 15.20.7611.025; Tue, 28 May 2024 08:33:39 +0000 From: Gerald Loacker Date: Tue, 28 May 2024 10:32:56 +0200 Subject: [PATCH RESEND 3/3] drm/panel: sitronix-st7789v: fix display size for jt240mhqs_hwt_ek_e3 panel Message-Id: <20240409-bugfix-jt240mhqs_hwt_ek_e3-timing-v1-3-f8351d4a8d4b@wolfvision.net> References: <20240409-bugfix-jt240mhqs_hwt_ek_e3-timing-v1-0-f8351d4a8d4b@wolfvision.net> In-Reply-To: <20240409-bugfix-jt240mhqs_hwt_ek_e3-timing-v1-0-f8351d4a8d4b@wolfvision.net> To: Neil Armstrong , Jessica Zhang , Sam Ravnborg , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Gerald Loacker X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1716885217; l=842; i=gerald.loacker@wolfvision.net; s=20230502; h=from:subject:message-id; bh=bdIWmQucm8z4VwgndE/yc9OVYLz1IUf332wwrfsmXR0=; b=sz3cX9xv/S6qM4sx0LQ2VbLRRVE4CSlNW5IRaufJdMdKS6gKrCncn3uzxTuZvLpeS/0xM2zvw ZLl+pKCV2u4DKJpZX+bTQDq5ktz3m+gFyRA1wSMIgR2vHVavnJP/0tW X-Developer-Key: i=gerald.loacker@wolfvision.net; a=ed25519; pk=UXhp+obGMUOjknszonesnb29P6a2Kk/K5eBuz62ggVE= X-ClientProxiedBy: VI1PR08CA0251.eurprd08.prod.outlook.com (2603:10a6:803:dc::24) To VI1PR08MB4544.eurprd08.prod.outlook.com (2603:10a6:803:100::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR08MB4544:EE_|PAVPR08MB9745:EE_ X-MS-Office365-Filtering-Correlation-Id: e4a42871-4c6a-4e94-6397-08dc7ef0dfb2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230031|7416005|376005|366007|1800799015|52116005|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?7x88g22lT3dRwbpq1VeYD4OiOKNsq5+?= =?utf-8?q?mbVgmNkElRlJ4lpyMaIXA/2GfDe1bIqxct908TloDSKG6PelCTJqwLwgkxAGQgDzR?= =?utf-8?q?FDPsVUKgK2+HZtFojXBa5FOtwztRMDbwxmIcfeE2J17pHICc+CJOLwbrGdzXf9BD6?= =?utf-8?q?pR2sr6HzeIn/mN7MWwY1sy19sMAoD9O/l+goDDu4OLwx6wLsGpu1agwjqpGlvsaRf?= =?utf-8?q?ASDJGJLcoM+NJN16ctqO+6dW1zqfdo7FU43aJvrTnR0n7L4CmPT5nrszZOgxOYAqK?= =?utf-8?q?4WqlLu44uObGn92bDuG8PkgaDZEJ81AJc6sPZPvOPCUsz9UBOsS9Fg4B9ZXvWxgpS?= =?utf-8?q?QLefAgUQXi2JRFcFM8LOtT6GPlDCAYAAWRAnIr8W+0aloI9IhyWFkUImj8RvxacIS?= =?utf-8?q?FGBclFbZO7D7kIQFMRBgChhfnCudgMunXqF5lKiHGV/xq45maQTLE9inZU+T0OYUR?= =?utf-8?q?k9S23hCGmSk8ouBJpMUxcR+AdZDiy2nBOD9xJWkudDcZ0d5/V0c46m2jj0hE7qONa?= =?utf-8?q?gLM4DhSootc6tX9s09CunUC5XKaI/riWBT6y6N5OD364qRjITwjWpk2BSZUenl0G8?= =?utf-8?q?qgeYakwDMQVhBmqRLMlU+hKcud3WOhF68NJTfhMDyfcAm/jvp0fSGA8mFi+HBTPb3?= =?utf-8?q?n41GXkWlAEPJQXtPaf3bRbX4RahZhIDzXCdDOkkJbgB8IkDRcMwXmVHVaUzs9mZ20?= =?utf-8?q?xPQqNAWf1DXbFvn3dy7aSb5zOEsbTClOBxAK/TvLCpdm6xwrpaH4wlAcoSeCN3UcT?= =?utf-8?q?ffUwGBUOmvrpl8liVkFstjMvixQchWLIHa4MBzj9O9nMkL+JHxLyiEzyyZrTOLzVw?= =?utf-8?q?PnMiKo5GSIWCVEhiEZ/EtO9ne7O0mp0Lhlahd+HLHmvQ67TZp/Pk7E2opjDyBaAYA?= =?utf-8?q?E7iU5z1y8nh9VRaRzTqBw2nBZVDsuuC0uBM+3VEo9Y/FSAvAAqd4ThZOhn7h4kinV?= =?utf-8?q?mmK1EDmOb3EzhawvoS1EscXnjtc2iJWPX7RINNP1VDJ7JyGzCHPxWpmFF9oFZJ4W0?= =?utf-8?q?edbZIX+Sp+KUEU5+Ei6cToCtXjcqSLuyhhJRBq5xDXh89+UrR24EDOtL1GN4ojW3j?= =?utf-8?q?k5KvTpn/IQUblBGgrO+SzDdtcS6+V4wSt+ysnAB4Kgao6MvCmFApxS+yxeD8xrCFx?= =?utf-8?q?EXYY/OnGluCo3WMKHqWcJdRR5fsLl+aEm+GUTb8O6ZiAEd9NVoskZqBt617/E3kWm?= =?utf-8?q?P7/r9sQNN9IuVsejRqsjlKntpYIkofZY21QwlzGFz0BGN17oJU389YcsoWrvrJCj6?= =?utf-8?q?eVOdIFEo/HIQZNzlIJIciy44eReIv5C7J1A=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR08MB4544.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(7416005)(376005)(366007)(1800799015)(52116005)(38350700005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange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Dapbmt2jIK4SgpfCPkwzux85FmzQx2lptvWcaIdntM/cm/9?= =?utf-8?q?n7hdcK3W6GBDZbTD6XSE5Ouq1HXIreIaYJrFW7NPehjNv73vapRQokFotJxvmb/Jm?= =?utf-8?q?gnMNuOUy9BXJVaFk4nM6aQu2ljB+7ZH9EeVSU2jd22k7DnAFV6VJ3ehlnGw6/fUql?= =?utf-8?q?nN68IvH5mrPSiMLTfnjaVAtFRZSwUSMiUAV1htmSYrflFJvSGVqiwzNbRzcW0p2ox?= =?utf-8?q?fxPoeSGsYlN5HUz8IE2DxgmXv/eoDgAzvi8Fn/d1Jd5111mnFs4FZulV+0v3ETysj?= =?utf-8?q?fVJ896hM83nN/UODOaVjuxK0a8z/cXkaPr890N6vJcTY25kcUhcxtJJz8k3SGYjfU?= =?utf-8?q?OJD8gz5LZ04oSeJlZjhkXQZpADBLKcbXnDWtlAlsqVUK0VK+4UkUgK/+0xKnsqptj?= =?utf-8?q?tCAQKpmkB6Td/qu+tEMVq/xosqudt9eRA9mLzQ6GbMABxt9CAUSgbDSCRw3BFhMsL?= =?utf-8?q?nZ9nF8Vt/322QjsHwWjeXYEaID6r+pEN+uvhyn5DMVDuyfcREzD8wjIYoB4ToqmaQ?= =?utf-8?q?PeBuGz0xqmVhr9LvyxhFrjbqhcqOj/iLvL/mqM6FDto94o6TPTbDm6C5rEv4ewx9j?= =?utf-8?q?fszhFLCq3MWboGvJqwT2zeLlimln6UEDn5jUwAXDpTTbjY/DzGcyRNlJuDIMk4wZS?= =?utf-8?q?/wvPRNtb/IR4LkNqv5j4a9cmgCldyny7nQ=3D=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: e4a42871-4c6a-4e94-6397-08dc7ef0dfb2 X-MS-Exchange-CrossTenant-AuthSource: VI1PR08MB4544.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 May 2024 08:33:39.0820 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: f6H02aoGaT71k66QyYqOe9GBlEG1Dr3/LozMeS6AABpJc/fhQg4XAvqxNQIBNyB3qzUcfzasPzF5q+414TgjoaCbcloeJJw4bJrD84uw+s0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAVPR08MB9745 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This is a portrait mode display. Change the dimensions accordingly. Signed-off-by: Gerald Loacker --- drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c index c7e3f1280404..e8f385b9c618 100644 --- a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c +++ b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c @@ -289,8 +289,8 @@ static const struct drm_display_mode jt240mhqs_hwt_ek_e3_mode = { .vsync_start = 280 + 48, .vsync_end = 280 + 48 + 4, .vtotal = 280 + 48 + 4 + 4, - .width_mm = 43, - .height_mm = 37, + .width_mm = 37, + .height_mm = 43, .flags = DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC, };