From patchwork Wed May 29 14:42:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerald Loacker X-Patchwork-Id: 13679010 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 6B7D1C27C43 for ; Wed, 29 May 2024 14:43:13 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A1FAF10E256; Wed, 29 May 2024 14:43:11 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=wolfvision.net header.i=@wolfvision.net header.b="PzWMMjZ5"; 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 541DC10E256 for ; Wed, 29 May 2024 14:43:05 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f5vzIfepgKrDnrpFIwiauRPG5WVChVV3TNrflffyR9/QeHzAauD6EalQzF0meb61Hw4A2EIGY3XB7kzoaMW5kFMLAxyj7YSntkGYJ8qvZMmjvPCLwuHvSU/Id+x3t0FJAMYvOM3t4fhH+i2IG/mKnL4SnDSxvv7PZm1eQFaNjqpFKNB1/0fh6uMXEINPdyedNQ79Uvrp8B0fHd3LZ90N6R2jTVFBbvA2bNJ3vkxyMF2dIZz2wySrAsMEtdMOuZbRCyYg8PfitOV44mLcXvKf7YWCjVuttcojjXJU/KzNIEE3yFvxW8gunBNfXVs+2xYwYirtL3ms7VbgkygT+WUouA== 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=RFLN16rbMei/ARYjppmD19RVvwLkLMBzA2SSGpUdiyM=; b=glG+32I205Sv3s2TOB/C4I8HW3h4G+f1EPeRMawTNbGPsp2mbFPfLIfEvUAO1dlHtSdNrQpoRm4N0izbo26tVvNv5xitmP/icTdUSN1BVX556XF7bDxZdjqtjokOwZk7i1kXU7cdy/gsVPYDh5v3a3Z9PKDKIKOHFriFpIPWqA5WiMdh6jwIZ7UTU8QQv+1cWA04bmyXRYhIdJosxfRGiFA8skeOViz3U2btaXwYcUwNiPN2/fnzfwQx93+cK90QSx092dJ2I2WByOZ9PkZTHwzmwOPrkRk7Q9RY2AeAGd+FzFejAnpVik3ShbjzpvO4SK8nC/+jmBXjOF67bJcaGg== 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=RFLN16rbMei/ARYjppmD19RVvwLkLMBzA2SSGpUdiyM=; b=PzWMMjZ50HJveeKZsG9jOUE4g4VekIY9bkmoChcqMvGq/qNuoehlJhktLA8SgXHo+bnq81t9wk2RKUp4zj+WCyWL/bgg0LD2Plui52iV9+kv/OvBw0Mg6XTqGzJ7WoWzmV2NZsdKkarYodedBy50uP+DxQ+eh8cplS1nKyypVUw= 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:45 +0200 Subject: [PATCH v2 1/3] drm/panel: sitronix-st7789v: fix timing for jt240mhqs_hwt_ek_e3 panel Message-Id: <20240409-bugfix-jt240mhqs_hwt_ek_e3-timing-v2-1-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=1203; i=gerald.loacker@wolfvision.net; s=20230502; h=from:subject:message-id; bh=Ni3NZZMXDiMmmTwQrRp2umE4cg4nnvgn57o04ZIw/hI=; b=tNT2p8Hl5PVQPrAcudC+38KcTnepDMQ82UWbPB/1QK1FnZnsTvb9r5EZ3Xq9xiuFcOUvw5STi LItTYgNnQDkBktjdFWS1SJbxjsloVAgiRoDasonrjxkD5dJLYix88fI 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: f57a71c1-6784-4620-2d3e-08dc7feda126 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?SqO4gS0OIjG8HE8T9nsVFykOk+o7Ym9?= =?utf-8?q?0IIE2zBP6WT2W/NDS5EhIEYWBy5GXOLlxwQ41/PrT6M2XhNeset48sGg4BpMpmF9D?= =?utf-8?q?uSh/2b5ppOwFAElFM/BU+2mcc0PYZljGZ+GYL5UAa6l8QoNrTkMWJ8rB3RBl4NNuk?= =?utf-8?q?d6aR4XddujOH7C5lFiEvJdzchB51xTT73CZs730iEVIQGSVPp8jWQWj8bwo8skWSH?= =?utf-8?q?3ZKROfYkp1vFWk8CcV76GMVMb0+DAmGibHH6jofXipeapLIIbW0Ox7mnM9Rf5bQlQ?= =?utf-8?q?FqUXPY0EHlEG0F8KsFLNhySyCHLdX4Zjk3LrFg/HtpmXoVCxXQAkSJw5GjpedTjqP?= =?utf-8?q?3jus4c8fTKjgqROfjUbEt3V6Ld07hrCvWqWLSygrvJlUn/PainqYLwHNk8ipY4vi+?= =?utf-8?q?5sNKsNbbiH6+4F6Uqfhl4XvB+PgpF/ZxhpW/4cZavERqZ82adot5uTD8R3pJ4LSVT?= =?utf-8?q?PAf7xA0VdJT2HSrGeDyJpAX68CxAb5MCq0eFD9qYWZbUTxnf8r/7gd2AJJKv947a8?= =?utf-8?q?/f1lDHEJAmSv2eBNRdyFLO935JUsIzGXir6wiPwJwIc4MM922/hNGsalFB3v18kiz?= =?utf-8?q?7vMwvzRmRi3N+P3Qhutx6/8HGI7k9sw7FmJiraaRG1twXxssL9+J2COXQd6erNBT6?= =?utf-8?q?bZgk8KKNW+4ptPi9sqf6vXZB3Snyyq+Ayk8eu0y6XAoYLQr1TDXWGKy8HJ7x5RHB3?= =?utf-8?q?ppV6l2nP+togzCKQfifU87y+hsAa7mBT/CeaEloSYRB3Ou7x63MYHdLHseSEOsPKZ?= =?utf-8?q?uBLizu7AnxQ9jc9PDQAqQd0tUxcZSsvAyxVHX1JRpd6XgaCvNh0ve4o/5gys+6PG8?= =?utf-8?q?B6T1YoauACnG7kOkIhC8IhfatYJ08sr3LnMSvUJ57u1CogC7L+1WguzNFBv69OvLP?= =?utf-8?q?GMJW4kjoAHzk9o0mE+cp+AkIddINCdpBnOfbj7rBYoO5VW/eVtmkrmMoRY8wyIOuF?= =?utf-8?q?OyUExPJuZV7ub1kD9LlOYakJSBuVoJ4DeWBQMtW+Jrzzq5KVkCpJ+NjOcJ9LT9DxT?= =?utf-8?q?y4roFlZXj6yczCJihMeW80bijshsKcS9TFGEbcztBs5R9MOMrP/E7dz/9stbzevjJ?= =?utf-8?q?Wkuo+gZbOHpunB7KcL6LMEVjvQd/jsxsKPFQ8oCJF228mqUY9nDkMETI2sJacVufB?= =?utf-8?q?pXBgK8yeA39SNIFcS9/SlXPPDs89CU4BzglHy54brAJ8OdxixOJ5sT08GQ1GMXLgz?= =?utf-8?q?MWU6PSIyhpJZ+bfRnp3jsm0/YJRFJtpgbB9kgMZQhhSN5F81jMMAqW8sPMW4Nslcq?= =?utf-8?q?j1HbHBnXTOYS/jdZwWG023ZMdzn92Ve9YVw=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: 1 X-MS-Exchange-AntiSpam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sjwOHc/KMsmZFY1iEoqy0R4FG6zl8APh2Z9Ugoi?= =?utf-8?q?annZPGkS0PS0DmQHc6cuMf/OyhEKaYyZrR8V4557IRVGZX4iHrcWf/hZJgjgHY04g?= =?utf-8?q?iuUN12rmTOsEkD9980O495SKz+Ci9d8Si1MjG4IXiukzSiwkl2RaFnukUxRb9rmoZ?= =?utf-8?q?ZPrMK12SiU06csIJKwngo3tLdi1WqmcF1D0TnqkQac2456L6GaVXUa0uV6qVZ7WH7?= =?utf-8?q?jOLlgtJ7dXz+uPiUFqfWE5mHNL3XtR8HYKbPlF1Qu1PQ16OM5ccEFqTm2gI1bEtp7?= =?utf-8?q?qnf2NWA0zo9knij1zd0TRaiXf+/LMbrWfyl5wrLN8LN36ReUVS+lHNXt15HesvLCa?= =?utf-8?q?wFEyVaHGtLvjuzhG9YzEk2l87QoZQF0ANpsgZEXqD6gtYzNWlP3CUnRj1oKhmhxMj?= =?utf-8?q?joG8wPk7mqi0pw9vBPZASpdBiHAz36bfuCYdTnTiwdP29NOKUuN8E170DTGdDWPir?= =?utf-8?q?rA/lWJBoX9CQE1xRo/9OH18qtdAOQTMcz5X+/0i485dk65RH8KbDYNs63qBRC0PlF?= =?utf-8?q?TB8Ewlm/jCz5GICrxFbM5sjpvP3vPuou3phwLNKOOYhMRGrJf9lex3/GeLYfIYPXI?= =?utf-8?q?deCgR8b3Re2/walNGCgY7++MR6B6vfvJdI5udwtpJW0dYDJUI+TodaOKpzEN/fpjR?= =?utf-8?q?grM5dt64QrL0phZ2mORjIssefjYGO21Rgw=3D=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: f57a71c1-6784-4620-2d3e-08dc7feda126 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:56.8135 (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: q4Yx/ReX7Ur1vKGPNUJSgb1GYaK/2TqprVU13NfQimCaDm1+sYXmNQuaSAJM5MWh5HeFvirWlkpzrCa9U4oVptzu+ucgZfDQjGOOhSKHuDQ= 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" Flickering was observed when using partial mode. Moving the vsync to the same position as used by the default sitronix-st7789v timing resolves this issue. Fixes: 0fbbe96bfa08 ("drm/panel: sitronix-st7789v: add jasonic jt240mhqs-hwt-ek-e3 support") Acked-by: Jessica Zhang Signed-off-by: Gerald Loacker --- drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c index 88e80fe98112..32e5c0348038 100644 --- a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c +++ b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c @@ -286,9 +286,9 @@ static const struct drm_display_mode jt240mhqs_hwt_ek_e3_mode = { .hsync_end = 240 + 28 + 10, .htotal = 240 + 28 + 10 + 10, .vdisplay = 280, - .vsync_start = 280 + 8, - .vsync_end = 280 + 8 + 4, - .vtotal = 280 + 8 + 4 + 4, + .vsync_start = 280 + 48, + .vsync_end = 280 + 48 + 4, + .vtotal = 280 + 48 + 4 + 4, .width_mm = 43, .height_mm = 37, .flags = DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC, From patchwork Wed May 29 14:42:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerald Loacker X-Patchwork-Id: 13679011 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 93D76C25B75 for ; Wed, 29 May 2024 14:43:15 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DF3C110E6D6; Wed, 29 May 2024 14:43:12 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=wolfvision.net header.i=@wolfvision.net header.b="D2Tq/dpj"; 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 2A62310E6D6 for ; Wed, 29 May 2024 14:43:06 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Pq7zdX+twPPtFTIhIQHdJNEskGFK5MYWSs4bahRWRUiGvbz/0aepZbBiujFVCESgfQG7D9/7ls63PWEDVm3/iIs4tfE+PyofPlTnl0s8VMg+e4V09wsJ//yG6E7eKr+GuP2MPmbX3GTl/2vankbcf7QuqJTljbHgylqXv61eZPCR2U70Cg/e6/gezVAW9/4X7xA7Fyipo5nsRqKRyyX39NoDurrDOedcZJ7VOLReJPLR1/jNieGWvhS7QrsTBpfN/TDSpIuqYYHIk1CmctWXSdT9n4s0v9jGhV3/sylyPsTCmVFpo1HuSQ4u15WjhZR5DcgbBI34FsRvPpKryvOCfA== 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=rz96EoX3AtRpsKGrGsztEfVQHGHCJDm1xT1qRaefvVU=; b=D94bJiqPkqzBzutsNIOzMDmecf6IBPLy1DfeIYNjgjHvMGnkYOBVQFY4cbqklWNiLt2m0TIIlLSnl8zXVW/YVabZXwJcEJPo8MN4k3v6XEONknYUyHH4rk9EhCx3RO1kKMNLW/zgaS57m9hbFO8GDmibYyATF4OQP/zo4nfO1hL3sUHFzmPZbOxOWCrRLtR7V6lCu1bSXOXktIS+F1ZjqOFrAjhq4mUIovYB0QsEynCJ9eWmZUXHT/9yWRYf7RR8XqSkU3DRDaMk5w/yHd7rPgOWOJl89P5twmKHrtvJbXXVV2TrZikCDoHSQhHo6H73BubKRAwAdijF303Wrvp+Fw== 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=rz96EoX3AtRpsKGrGsztEfVQHGHCJDm1xT1qRaefvVU=; b=D2Tq/dpj1kDfh5oZSM4pSpxZXEvU9xnkwlls5q+OHFX4YBMuZGuOULFd7v8I5PzUz1FZ85edeVHZY4uQrnGqCIDyDJ8RjKOxMrqulha+IYGHNn8IO9Tvse8DfeCxBXIMhYCsAM/frLH6uT9hjnatumdT1lX7SblRwL6DyKWPErY= 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:46 +0200 Subject: [PATCH v2 2/3] drm/panel: sitronix-st7789v: tweak timing for jt240mhqs_hwt_ek_e3 panel Message-Id: <20240409-bugfix-jt240mhqs_hwt_ek_e3-timing-v2-2-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=1092; i=gerald.loacker@wolfvision.net; s=20230502; h=from:subject:message-id; bh=SgQKKk8DdC1+p6jCLboYf/sQyhl/ChKYXh4hBSZ9y1o=; b=/8bLHVR8252DmgbPFg+iU43MDibu9RDFfzZ04uGHySktBuXsKvMjt8SqlSttpZHiciJKkuJdl +LUIJDt7jCnAsNb4gXmPeVXtLClofgzMN+xOaAROPiQghls494/oFXP 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: feb0da7e-66d7-4625-54b2-08dc7feda196 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?NC8KxH3SA8zZsGMQlSLS1Av3aX7fHLK?= =?utf-8?q?0iFjEhRgCRTfYVmd4V42+GrzLxXTEjNyd2cuQhXe22fEHjnlmcLSSG1dmWJ2nTeUl?= =?utf-8?q?/XasOg0g587ByLLiPTXfbkBHF8IsqpsmY7NkZxHIxfxuh1ls448fufEeSR5Wn1OzB?= =?utf-8?q?3GyNbgxC3t1Dn314VDT1uq0zoYtY3H0gag2YhzyjYo4U8fqzlGnNkqNQ5t6KXk3Ub?= =?utf-8?q?T5n+vB++Zm8UJ6GKAR3FBo9NUPtEAp5tj3BxCXWQW7Ae002br2Jv1+1+M1c9CCSb0?= =?utf-8?q?9nI4wo7sREjNPGcqWehXPsRORzf3EMqlVcjUriEIz9HcDBW99I0mMbZOq1h5QEhs0?= =?utf-8?q?mcR2smzFThT1NWP8ROWhsoMbTNMB6pShdkkNXOTgF8XObNyhAPm4WsWV/GBOfwES/?= =?utf-8?q?qz+x8QWxS+ZXXOXFqSC30h5lhaiTvfHnh9cR7qTtut11aANAFvaIWK85B+1dDIMSf?= =?utf-8?q?t3DHcWjRA/13nYJDgYzqsUBGj2ojMturk59ZwFhioYMjrAKUFrnVAmqy+63qQUObq?= =?utf-8?q?JCNULwp1alqUamDLQTeAfuijluxs23/0XwUyNa+9BRQbAk+GTrNEEc4DtrZRtXYHw?= =?utf-8?q?b+TGEHRFCrZdf518rpoqmR9BW0zpiI9Xn/N7Lgtn+r97YpHNtO7SEDQPmTFkJX3dZ?= =?utf-8?q?ZR7MHNt6gmh2mGzX/D6L8r+YUgwrO+Q1sysLzexs1vFYwIygCPgst3IqGZSAieFqR?= =?utf-8?q?hnaZls57bQp76CM2AfKm4sTl48tvKeNE61co0pwlRq2FBdM0Tts5fc0RKhV2yWthb?= =?utf-8?q?XvHRdOOGcRu934/ExFA3CNy4SVfbdBc80O52v5vG01eWkNSa37puLXMFvBrKY5boW?= =?utf-8?q?Xd0lSPmIgZy5+B5ljPchd+s1LZ6rCd/6zXkjh8bSToR8ZJBlCgUDW39rkGr7X1/+D?= =?utf-8?q?tIKBnYid5ixTYBLT0o12J4LvGEfBupB7JvBvLUwI74lPmjuyg6jWLrzmaLrlmR07T?= =?utf-8?q?IBxNJ+e5rm/zWHk1lh2apPnag5GjqQTCb0b2jZpuPqtfmBMiAaNBw/GEJK08BM6Qc?= =?utf-8?q?gZ7xdiR0fu3AyySSQC3aZHQ3YBVPOGnGTP7tNbhv5R+AIYnFaRU5NvUe6V9CKlMxY?= =?utf-8?q?hk7d5Ds+WV6V/7wdOlRi39c3PDjDOVkKNi2o3+MiSQfW5DxF+eM/ZxKgGOvYQXb4V?= =?utf-8?q?i8RHdM8FVxxvhQ9lzxJ0qkpyfRjTQLESB+jBMeR868AAx0xyJey1a5z0ZYurqNqRg?= =?utf-8?q?gq0/VSqeyjb7lV2TY/FvsjyTJNDVybtdX4mZV6q83Lc6rrtrDC82GmfooGnE/UVr6?= =?utf-8?q?HILljLk9BS61T7nsLNxHRrIS/KCtq41rwlg=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: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?ut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5SO6JmBCYC2U4yBZ3HIXDWmKefV1bG1cDUPwYPXslb?= =?utf-8?q?3deH2Jadm4AOhzwco6DhuS2I1rj+2m0U2752nNbsvBemX4w1GtRkAUqRzpuqwGo7D?= =?utf-8?q?/OAmrSBYMCDq7ndYBFukcNy2UV9XAEqBd+/SkarzsrF7N0DZj1c9ZvOOXUoT7au8i?= =?utf-8?q?XNJBDLfqQGaDaGBrWCO5wIRSWE4rI5V3viEfiOn46PLY+Er4nnproe0uiX0CKRHC/?= =?utf-8?q?8NVvz8Z5+cone8+N3BpT4WlL37IBe1pqh+8qVEVswoM68qtUoELrD/zv2bKzEXiPm?= =?utf-8?q?KGijwb/SVKlR8/S9MSQUxjofgRYw3Vc0byLBOyuT5zRpbrgQm0mtJuimNw8U1EmNo?= =?utf-8?q?6nIdezWaKqtpa6dJXnC7A09sj4HGK+z1g3Of3munZFmeQmmya9C0YIt/9qaquQOWU?= =?utf-8?q?VAtLuw0Y+egO1Bl9g9FPbAcCohV5ooj/qq1Ll0Sgl7NJyC1rS6ePqbnXLHtg3iLMO?= =?utf-8?q?ezdhcqfbSArk42YCr+4AfW+mzLw8odU5YECKzxrYlfPt8WMC2uNQwL/lpXPloml4R?= =?utf-8?q?etlJPGX/KNXDx73vtQMcKDd6OST+aeijQXhTxhobQa9m5JQ0AjcbZlRm5i68inwQ9?= =?utf-8?q?LH4rSK7CwSvfDt9eKKIZMV7oYN7sHOYE5qdfDXZrosw9/Sfcj90TphKX+HshKtLSk?= =?utf-8?q?W0Tw+iMy9gAogHeFRdv0FXYsWUhInuZVBQ=3D=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: feb0da7e-66d7-4625-54b2-08dc7feda196 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:57.5566 (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: 8qeLc3tqj/63rLraYtDFlf1fjhhahTX+VLh3lZFcNCaGyDjm8JFI8rl1SjUi/EQhlohuGf6CE1DzFcNW5+7i5MT9y1kCM/CTJA/B1wHt4Cc= 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" Use the default timing parameters to get a refresh rate of about 60 Hz for a clock of 6 MHz. 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c index 32e5c0348038..c7e3f1280404 100644 --- a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c +++ b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c @@ -282,9 +282,9 @@ static const struct drm_display_mode et028013dma_mode = { static const struct drm_display_mode jt240mhqs_hwt_ek_e3_mode = { .clock = 6000, .hdisplay = 240, - .hsync_start = 240 + 28, - .hsync_end = 240 + 28 + 10, - .htotal = 240 + 28 + 10 + 10, + .hsync_start = 240 + 38, + .hsync_end = 240 + 38 + 10, + .htotal = 240 + 38 + 10 + 10, .vdisplay = 280, .vsync_start = 280 + 48, .vsync_end = 280 + 48 + 4, 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: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?DG9c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Q1bZuhYXsM+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, };