From patchwork Wed May 29 14:42:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerald Loacker X-Patchwork-Id: 13679009 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 3E809C25B75 for ; Wed, 29 May 2024 14:43:07 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F3A9810E484; Wed, 29 May 2024 14:43:05 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=wolfvision.net header.i=@wolfvision.net header.b="EjSjJYCu"; dkim-atps=neutral Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2110.outbound.protection.outlook.com [40.107.6.110]) by gabe.freedesktop.org (Postfix) with ESMTPS id 17C0910E256 for ; Wed, 29 May 2024 14:43:03 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Bjk8lKKpYYSqxW5xJYdddCN6SrFr8PFecgLDho3xEs3rW/+uFdQSdv7nJ4gDxSQvgNeWGKg0ZGQrQVKYbYwcj7J7f/ZbDKfjFUhU9y0Pmv3Ogjtk24kVJrw5PW8RG6e7+xVFHMujqbCr7x4BLNRZud6a6Nra9Hz9h6vChmD2yXPzba4isAIQiPaypBrYBNHRl37Ovk15SCvEYmVdj4biXSNOhxIlf9/i4sAF9bLGD0LnhtZK7w/WJWDds2sMHBxbfs3snG7vIGxa0abptyDLd2PdjXFK8r4gUz7EvIub7tqKb74SgJ+ST9Pbn3RZN3xdVOF4ngs6gMmW+eMzOl2BWQ== 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=zYRpFQOn/htXhY8dY3RSsWGVQU9zMYIUhKEOtFkj8us=; b=SjBWrlFlSBMV7DPg/HRn9ODeROUY5kLr4IKghKFvxhwc0YmOSjvzAVuWycQSAMipVW6xNiom85QwmAe3oJlYZuVKu3ehE3pU5DkbpBnRj4dykQm+Hv7fBStH7kFCairKeC3VYA+IYjxh2tHlR52XUbufCvilG5gz1yK20Gc5P1S3kyUQLkY8e2Jk/qilVijlD9fxzoag5PBGLAUn5kW8XvH7tu1HEowwJdmd0iYqyBbEXbI+IxJ7bpvzrokOIMwUAEqFZn2LEbqqKWSeXrl+ulX0fXs9wTg3ez78e8fvVZ5yIslI0wnn8zx/CIICyiTE/UdfHsoc5Dp8p0gQU6UQgA== 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=zYRpFQOn/htXhY8dY3RSsWGVQU9zMYIUhKEOtFkj8us=; b=EjSjJYCulE9ciqXKsyelLlg0k/QB8ovvY3MG1RhgfTwvS91A0xhWgILYM8HGYBKFkLWd/Z+BHdRUaqo7XMICTL5P/sirmzXNp7hAqTwfMunlN2hOe2ZcJArt1PNZwd6XjHD6q4u0/g3+qIxV1+FK3dGbz/GhlSsHcRi2QCPre9Q= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from DBBPR08MB4539.eurprd08.prod.outlook.com (2603:10a6:10:cf::22) by PAWPR08MB9032.eurprd08.prod.outlook.com (2603:10a6:102:335::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.36; Wed, 29 May 2024 14:43:01 +0000 Received: from DBBPR08MB4539.eurprd08.prod.outlook.com ([fe80::87a9:a8d0:96fa:19e1]) by DBBPR08MB4539.eurprd08.prod.outlook.com ([fe80::87a9:a8d0:96fa:19e1%6]) with mapi id 15.20.7611.030; Wed, 29 May 2024 14:43:01 +0000 From: Gerald Loacker Date: Wed, 29 May 2024 16:42:47 +0200 Subject: [PATCH v2 3/3] drm/panel: sitronix-st7789v: fix display size for jt240mhqs_hwt_ek_e3 panel Message-Id: <20240409-bugfix-jt240mhqs_hwt_ek_e3-timing-v2-3-e4821802443d@wolfvision.net> References: <20240409-bugfix-jt240mhqs_hwt_ek_e3-timing-v2-0-e4821802443d@wolfvision.net> In-Reply-To: <20240409-bugfix-jt240mhqs_hwt_ek_e3-timing-v2-0-e4821802443d@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=1716993775; l=936; i=gerald.loacker@wolfvision.net; s=20230502; h=from:subject:message-id; bh=+vp7jYPOn419f5sX4IyKhrUsXHxL0vAwwU3qvL3RJTI=; b=oG2HVBAvIUfU+jdpqN0tQhRQx9/J9A+OHD4bj9NYJ396Kw3tMAG+wBJtfYloGcvRL2BVYm0xf GnTpp7nWyhdCACoDFl45DqH/fTEkknfzIC4WOEzhuDa+2mHxj28SX6S X-Developer-Key: i=gerald.loacker@wolfvision.net; a=ed25519; pk=UXhp+obGMUOjknszonesnb29P6a2Kk/K5eBuz62ggVE= X-ClientProxiedBy: VI1P190CA0041.EURP190.PROD.OUTLOOK.COM (2603:10a6:800:1bb::8) To DBBPR08MB4539.eurprd08.prod.outlook.com (2603:10a6:10:cf::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DBBPR08MB4539:EE_|PAWPR08MB9032:EE_ X-MS-Office365-Filtering-Correlation-Id: 7fe7d029-0b81-4b4b-a9c7-08dc7feda207 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230031|366007|1800799015|52116005|376005|7416005|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?qF7JAUY1wuuP95l0vEr9qsKxIZdx3kI?= =?utf-8?q?Gw1pmrXsXbfFBXgCrocRWj7z7qrHI5IoIsnVzsqmDeEv5mANYJTI8EFtv8FPqLS7+?= =?utf-8?q?jhMvYMaP7sb5lrHGX61UDPLJ9mNPI/yiOC/n1DntJGUJQvsVOtTPXH9ULGCC+YXrA?= =?utf-8?q?F2ydI1Yin6mtFhiiTps6qZrydROYi8Xd/kWEYGBmhZVU17a5mz1DjrkDGtttP/1wg?= =?utf-8?q?Aw6czqnFb7XozLu5Rx/A1EJF2Q4dXD/ujw2z18C4dbO70Q0hdd8hY4fUw/gQje0l5?= =?utf-8?q?DeUnhV5EAAocp8QcSC9CdEAdUwuVDXPoyPjLdnNxBevee+7N2Z/fqehEGPn4wIbXf?= =?utf-8?q?bjB5wuOKZPNgDe7dbrmr/6FTgb1d12qWxesAa3AAtUzzonSyVasq62PDdm6X02xJO?= =?utf-8?q?s55Rsu+O8OUym73ls3tINJGSj0cYAW9vQ+gY7f0FfpraxbltBg3klPFeOEjIvirYg?= =?utf-8?q?M60UwX29z4fBnBmZwDswjjc74x4Qfp5gBdw9fUP1kgWEnpHQ01019HGorHgtuiKdQ?= =?utf-8?q?RH5+XClnZF/duXvjDatRUkCZiLUUKBgWpHnq7ljbzDO5N2TzXslaLbxakUP9X1/9g?= =?utf-8?q?I3GWhrOU2s2UAU7WULz4I+MwZQQ8jZ4n3gfXBgXYgPw+oBolgWN3ruVU7j1pJO54o?= =?utf-8?q?kVLizUM4dfYBh4o0+ZpYXTwkv0YhQ1+n4vy2hb8Wb0gEcu08vhjJUU3CnRlrIpJx6?= =?utf-8?q?akElhC96aIJdbs4cHfBvVgQe9feWAAab0FeS33BZYneL4tktQD/b44b0coN4eNUs2?= =?utf-8?q?vC5lmor42CAdBmLOiXiDB5sK5H8kpqPSqizoEoDXeGNBX+YNBrVbAu1uFw7ZYKOk8?= =?utf-8?q?yg0S7mCCD1HD2yTO55PbbOGzGQwGWd2ni9vjlbdBKsn7I/8I8C05fGCOKFSWlfwSW?= =?utf-8?q?rbG0GQTgFDqLAzedC9fqc9S9JOD6uIaIjn6cA/u1ybosmKhUvZYRe0Kslw+QajEy0?= =?utf-8?q?6lk/iYCFN9dE150olvERI1mJTvcCVu/WU+mII+RAfo3RnHh7JOJL5Ie9/BWHHjgL9?= =?utf-8?q?hCjuEr/YAn/iSRHJuGpLYLXhtitws/WTDCPYEPdzhFnrxmqN1nmkZ0yDEiJqTfJgM?= =?utf-8?q?hUljKCJjSHlk1FuVPVT6MhpAI4GDVsCL1ott1VVk3hA8QktXZCW2DE2yvH0Bz63d2?= =?utf-8?q?9U7KEukGqtASoVSd+arPlyKbn0OjpHp2Qq7X3+ndKaJ8bBzf8jqjbyJb4hNl9FcGB?= =?utf-8?q?t/aCDzcVUashk8tULXDoU4jJatyVMgY8z95o018s2ePhF9f1sxjYjYv2o7tg8R67Z?= =?utf-8?q?YwaRKMUNQZGZXKXYm/kTIkFhs8/ibyvjKzQ=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBBPR08MB4539.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366007)(1800799015)(52116005)(376005)(7416005)(38350700005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount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=?utf-8?q?T4vofYdFYyHgz+QxufhN2iAvHHegY0ylIOLQ1bZuhYXsM+bEF1i1Vqkl+zTEBkRFK?= =?utf-8?q?fJ+8McP1mjJCfKuP0XoVGVYY6vwmjP1PhM6HRxuCz5VJivrhFjZtEnExuDBRN52ME?= =?utf-8?q?xwblEpXVQOvkM0svrtChSJAp4ZbGiBwggvwzxO/tnKLpYhxLcu3uLl+DbXEfktzWC?= =?utf-8?q?wA1PuKh2tuJCcMsoimL7wHQRyZAWOHcFk6gS34vZwjYyXu/F7fOubB58fkZLXmxBL?= =?utf-8?q?AfIGTk+UM1upxH5kAblF+05LnWHgv11OSjQ3vld9qIdmvkhTdnHcUIXhlYL1b/B9L?= =?utf-8?q?mCBACUUq1Uu6uZOug+crcL0eIQoI2BZChdFbl/w/xZk13Edw9BUQuIEdyoBnz8BLq?= =?utf-8?q?mtu8WKKQmF3mSsBnex2ACK3/+fi8TqoDx6JvCah7wOvUFV22FlsUu2LAi77mVgMTA?= =?utf-8?q?S/gy54NNI3uIuD54RJFQRWBZzxuU4wARt4YkRMx2+sq8xQeSmHfxuhqTZu7NFQEZr?= =?utf-8?q?jvuySpLuP4ujZsqO9Hl/RR5DA4n14iQLCMhN68yZnpNYXazX/3syKH78a8V0tbW+V?= =?utf-8?q?X5UDpnjCQRxrvH5Ug/6qurMPyQX6uyzmf2likVfRgALHb3rwDHtf7rCkN4wdN/Dx1?= =?utf-8?q?oSJagGmBUbT+utXqOFlT486zoHZKVCDs6nMaCFEGDhaldYj6KLtIeeKNffpEH6S3e?= =?utf-8?q?ihu5t+OqG63/6jhOZ+zIHlE8rxGe01C6Eg=3D=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 7fe7d029-0b81-4b4b-a9c7-08dc7feda207 X-MS-Exchange-CrossTenant-AuthSource: DBBPR08MB4539.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 May 2024 14:42:58.2999 (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: VrcSL8xS1nLPBBdR1DPj2jZgPJKaG+l90p2CrWJ1xOtxXaVhR2yne1yWbYi9y+gKW27i4UZQz/rtkPgNvyn3JeFCUV1e/dmYk5hRJApW91s= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAWPR08MB9032 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. Fixes: 0fbbe96bfa08 ("drm/panel: sitronix-st7789v: add jasonic jt240mhqs-hwt-ek-e3 support") Signed-off-by: Gerald Loacker Acked-by: Jessica Zhang --- 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, };