From patchwork Tue May 28 08:32:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerald Loacker X-Patchwork-Id: 13676306 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 C8639C25B7E for ; Tue, 28 May 2024 08:33:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5AC1B10E9C1; 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="p/ebaB0O"; 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 7A9F210E2D6 for ; Tue, 28 May 2024 08:33:43 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E7oTbd8vRm/2Lp1+VXUV3vmYHMRsw4S4KgV+Q29eOagQPbqf36hGfXNwd00maM6iO8+dyoNqt33ohDWDbK+Gv8/19j/QfEeJSXxwOGpkZanEzFdvhAQzi3G3hI/H3BnSpQI0O6Z2lENUIQou1y5COkut2afIeBLEXixAaOy7AJI6BV5nNaXbCuLnwIn1e6ACjHgcForGYwEol0JGWWp0LNB5jjygAcrmAuoSAaIJ1+mqp+KOHOCoyFUoGhpUjSLoD+/0FbiHgEfmUIjtUXGN8JAVk9zyLJvz6xJwOV+6feyQw/5gmdd8TunQlNt0gn7tes1eMkF3zXoR9Xv+lxVLHQ== 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=EM9BM7NROHLDTPLPC3FQFnhfeVsAi/mFrMO7Uo9OCns=; b=BE0I5wk0WaUO5+ayvy0CEFibL+5oXyiIAA+vMSyU0BR1DjnVlqdGvBD9GsMMc9f6jU1b6ZOsvZEa0pz1tBQ+/Kctopn/kdGM9FciO0c+E0Y0hKFzvRpknvfStRYxykbBvoheq+6hqmLRmDjsWnvzuExIcrvvCgJDWa2h7EjioOMWfcaDWhiRx7HbWgGbvHjeert2q04E4Ei8FFjBo3KIXhtSapqpM2V0vMG0U9cKVqvZCH1RkrrBb2WRZ/USbp91c6oC4uuYGtlZMVd37FT4kqPff0uTsqgCy3gUrCdpVzHL0IMcfqriOC+d0FCyrF/d5kuzytXqVVt2+CuDwGdjqg== 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=EM9BM7NROHLDTPLPC3FQFnhfeVsAi/mFrMO7Uo9OCns=; b=p/ebaB0O9QFOiNpWef91mUgENanmPqzFikHAA0ge3bAf76u048pgvTMiDOmuPtbp3YKosU2iC+w7JD/dPgQUnMY4eZz0DbYLIrZ1Xe2JXKPJEn+ahmD6hiV0pj9WoD/tLcAjnlmXOY05U6iKLTepsliuM8A9GxqiB5z7Ltxy9Kk= 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:38 +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:38 +0000 From: Gerald Loacker Date: Tue, 28 May 2024 10:32:54 +0200 Subject: [PATCH RESEND 1/3] drm/panel: sitronix-st7789v: fix timing for jt240mhqs_hwt_ek_e3 panel Message-Id: <20240409-bugfix-jt240mhqs_hwt_ek_e3-timing-v1-1-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=1056; i=gerald.loacker@wolfvision.net; s=20230502; h=from:subject:message-id; bh=7iARjiADrdPjTmt5PCj4o6fziLM4cv3Jg7R3sLbVu1Q=; b=gguBnEo7zsQnMt/y4zCmkYV1p4hwvAy+6Yyepu+RJNpZLbMpGxtHXwx1xDrVSk54WpRDY96zZ FoaByc25mquCSXiliTt+nMTRxzfR0qz8Rl+7Mvn2gg2M5cQDi9Ona89 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: 3a5c2713-c902-4e7e-a767-08dc7ef0df4f 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?gIxQ3CVpXyYccmxXuwgSiJgFW630/LJ?= =?utf-8?q?G1LmunJtVeK5aRoifj2Q8kXPoZoj+l9yes37j3+L5QxB9nnmaAZemzJdmLODyENaY?= =?utf-8?q?MQJ7Zkhkwyc7NDS0nDCDwT7xLNV9UQqednNOWi0Qy/WjCUm+m5lOcEVOBZWdMeC1F?= =?utf-8?q?NSJ5cV5c/OmvzmrxdIYWWupBprCWKi1h9azHNm6MbwB94VQlubwkNAS9O3mTVY/WZ?= =?utf-8?q?xwe+XusAJBkOeLJCBTxHlYodNIu08bA/SvwcyH842Imzdr2OQchMHuB0t2WZuklPW?= =?utf-8?q?ugTfBiuaz9ZlZVeLUzW0J9pcISmlGLDODpVqgWK7iJ1EOCT7Hh3B3s/ZGTnxCUZde?= =?utf-8?q?6gVHsMsnC17QkIvCkqEnCM2ffp2ucwnrBXKL/OfqCibniW3CF+u4B0NUXQsSnPw9A?= =?utf-8?q?6H0pJ4g0ZhTM6oUAR3z2YWR2emHC6QPgd9QZhfll79d8dF6wWYgQhHlENq9hhQLBu?= =?utf-8?q?giJ9LDK/tRPXe8YFVKaK5Nuxl+1EzaVuAYuo01yCX1IIG8IkNnhj8b89s8BZoJ11M?= =?utf-8?q?TaLkwPL9sKXz51ul2hB4N79Ke50isR3KGj3DygIAKcA7Ae/4Hin7nFodXvGD5dMae?= =?utf-8?q?0WpawkIdrfwv2c7GM8kDWouLnv4E9lISIQO7L+2m99P95ogz+ns+hv7JqoXhkAhsj?= =?utf-8?q?H1FnczAg5U/sXkuMEvFzduC/9ITWz2TzhDgtVqUxfbo/sQS1YxeYqTYS4UlCAKNA+?= =?utf-8?q?d+SVTEyt8pAWOX5jFSa33dsAVVvwiy8ZdCxS5PPzk2EjAhup+8UR06YKW+sF592+N?= =?utf-8?q?TTMyZjq1Z83sHPt2A+kt9JOlDQBSkdbjVLL77N5M6FpG87oG4/I/i1MDQyaxw0IT1?= =?utf-8?q?2R0eg4yr7w1pV7tJVZYw1ah1uOuWCcc5fa4B+7n6pZXBjm/scteNgwkK78PTzegXY?= =?utf-8?q?qUUMVLVTNfTe8besBzUzTzRYG1sEXEqLk0iMH/TJfGpxUq07nHDmUK9Op09PQDNPC?= =?utf-8?q?pusDfgU6oiIPDfxYelpTnvTMx4dIufWKDuzMBJv3lZQWYsE8rglxtvI7zJXqM5u/L?= =?utf-8?q?2uhHWiicV+heW1mwuYHizp/d049K1qqA/VXzGDO3KyRSxgPxZSg1GcuJu7l2XMUne?= =?utf-8?q?cJVdJiG/9I4f12Wb1dw3ECtwouj4j2ZTj1+BjTxZB3Gk7fC3NO8TJfpfGjSoZ2eS+?= =?utf-8?q?sUXNPia6nOoR4z1MYKCIm0hiLDARCBr6woC6L6wNKpm9wKuCRKD51lgGIEuVT4Z5a?= =?utf-8?q?708pVjOtKVledNskAIkFDrpEMAVmsM6fIKCsqlyPsITs1pkOlm5IQumVUSA4NodxZ?= =?utf-8?q?TRnT/DzS534qQQJoWXGzxYeSSBcrDayB3BQ=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-Mess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aKMF4gQfy1pUuXdcUf8fQEZg/A3hunrzHJ5zDq+S+goxCrL77BvGjqn/ZoC9yk2TD?= =?utf-8?q?HYUfTGtu9iCZQS+NyCz4Ou6ZuKFKgYqAkoOJTeZkn2zuHwDtR0wqkpKQV4/LmqAvf?= =?utf-8?q?bvYEg8fT8gbEtKxAMyXLor+7B1GmVX8AZmWDUOV0ZuvNeyWoABvLDVfnyYeW3+5Mz?= =?utf-8?q?RKpohrkOWk79sTHGhq5LgWU04OdVhk7JGW/0xWyokFUXQGjfVYvK70uhN2NNwH0Cu?= =?utf-8?q?eF4oMsCXIBeuC6iuoOl7NICBaIT3Zw23QuY20LoU5wb5/L6tcCEplVV7xy31YGmba?= =?utf-8?q?YK9oBDkp6Tv5mP4yeljNHofJnxbH1YJOHGM5L0r/hH5HlVoGubd2C99MMtZW9NzyU?= =?utf-8?q?Ax6Wu6B/nY4hdz8FU+pVt3I9eRxM8DyVmv3x0NhyTmBKN0yhdAysH3XnXaq8y/PGO?= =?utf-8?q?L3ifYX4jU/k9aEfVrquF1qBHCjhFUSeh1W7Os4/OOG/gB3DtSfrhdGna5aisMXy8f?= =?utf-8?q?uxa9PEZrpqaAzBrhh+5nUHKbdz4UB9yD6IAsbFn/BwgeR8VjYK18Oyp/EMR2vQ+eo?= =?utf-8?q?1chtrF4nQ4n2OJubSthBBbJO9Sm9jgnVLdTCEcOQx2ELLq8DQJ615dOp2aCscx15Z?= =?utf-8?q?c4knHNB1nuLPSh1RvKH+QpRlq3iTiUAYC/XtvcFGXs5xgQAgTyOxYiW2la25yW8f/?= =?utf-8?q?1PLIRSMulH5mA8nLap3vJQZga5EXJTS2OQ=3D=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 3a5c2713-c902-4e7e-a767-08dc7ef0df4f 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:38.4333 (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: 4qv2RQ4NpB6JiljnYV2YkiX6qzC/zA+pb5a+qvmyY2jrFEtr2A6q+ZcxuhNwXhVHFXx7V3At5QBCAZOOT+OKT010hudH6tJMRtWvh4KsdM4= 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" 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. 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 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 Tue May 28 08:32:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerald Loacker X-Patchwork-Id: 13676304 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 BF573C25B78 for ; Tue, 28 May 2024 08:33:48 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 41E0A10E5B6; Tue, 28 May 2024 08:33:45 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=wolfvision.net header.i=@wolfvision.net header.b="kNREzoFi"; 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 0006E10E5B6 for ; Tue, 28 May 2024 08:33:42 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jrFrMT6Ggx7XK63TDsGrCUuR7Vrmlkey4CsDyxJBS2RoVy4Cs07T3k5CKKNNCujs2uFxf7ojv5r39xW8GIjxAm/45MLjtv3yPgFUOYK4dFiG7o5MqFWk9NrU7XP+Ajrdb+x+XmFlvZkTnTOw3LSsCbOJQQtZoQIFysQrGRxa/WfQnGdL/qwjk49Vq1Cjvc7zEvYMxyhij5Qsp94vSKrv61pFzXkQO2xSCx3Dvy0bmnAtiNYmWoSgj+CcQGFf1emqKd4U2NIGC5pfHK29A7ZacENfIxaPuskHgHpbRqw5Pz64UAM4yHGqIKw/gA8DMY8+6zUCzX2FEq3g3YjODx/uOw== 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=9opRFzleX7w0RsgDIjAUz6Mwuc/zJwkYCLstivxccEc=; b=e8rm0SSKN4DAyq3ODI320DK2QSrVfd+n57m1+iBZTijsBcV/17Ps9XtxLbSmNd9pK4iwqFLCjt3SIMaQqT9RquIXQ2Slewdv3cCtVHmN8M3kCbCApKkcbUqHS1aliJn+R+0sg51bkpqlTbX1ojnHo7ZH+No8T2kWdoIpSQyXzPzqL3pMa5ITZ0QIUCH+0Y7OwpPyWVQ1nLHaHdvGqt4GkRuSVxfLGMC+KohKELlV1GeMYTqCaENR/xmSnW0aAQ9jJWjUT+OlMXaUlGbIJ3x67fLgtPeC0zZ4rcrL6tCQtbJ3ozTY9PXXIopG5mjpTyg9WPAjlAk7nmsS50Vc+GzfAQ== 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=9opRFzleX7w0RsgDIjAUz6Mwuc/zJwkYCLstivxccEc=; b=kNREzoFi22xIJjJqtIu46Iluv0I8+xwRZNboVgb3CutTyjt1kf4zxYfiBu3mxqjzbNOxCuGusi1UXdcNBW3E4c66oulcGkrtSjadDPdyaY7FOGeJP6Z8fOPugFYKPI2MmIx88Ok/HbVN6IbJWBw7Urj9xijyVHZjJdYc7RhLgzo= 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:55 +0200 Subject: [PATCH RESEND 2/3] drm/panel: sitronix-st7789v: tweak timing for jt240mhqs_hwt_ek_e3 panel Message-Id: <20240409-bugfix-jt240mhqs_hwt_ek_e3-timing-v1-2-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=998; i=gerald.loacker@wolfvision.net; s=20230502; h=from:subject:message-id; bh=L75Ahzdg028IAtu+zqtyqJPYqEpvooArWModEJr1xcs=; b=BSgOJyDgREps6kb/Pqy/+VdWQBrz1dtFJZHYE88aZIg0WohfR3iyGO5KR7UUM3E7O0gYbVdI4 fLK8OBW/2WRBlzG2ThFcP3pnSK0oc+OCuMi7AIudHNVxPuewEoxJf9A 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: 428d94f1-8b05-481e-7963-08dc7ef0df7d 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?TgzkcOYfKd7pC9qlIvfmrm2BXRQfH/5?= =?utf-8?q?Iv6mS2ZUMOQ74xXziPb4UfFt2Z1f2OJddPPP4rPToR/nvx6bjnI4zZEJr+HOer0zO?= =?utf-8?q?mRkICZCrTMjq5OHMwADSXputre0aaf7zPg9N8pDmsDxGe3GIlp3Pdcx65KPGb7e69?= =?utf-8?q?u3sgB62YWqDs7MnVb4CzGY85F8K1yOlOtnxAiBKqfH96Bd65vGyY1LqlQjnUdlEVY?= =?utf-8?q?aPYfOuoAHA8lfvT4f7oUQtZbctHnBdp+e5OPCYlt/kpWmvsFegruVw3k/Vxe90AK7?= =?utf-8?q?VYerSRJa1b7ZweGquTLkE9th5knzdI/JCWiD9qfSYuhZx9AYXWEF0vgMHJRzA/qiz?= =?utf-8?q?C0m/XGZb+BG1RQHJ7gvvKGRofPpium7uaUWStxhbPocvwkiVexnIsxIOrfDoKBFKX?= =?utf-8?q?w0E4JW19Cbr7JoqVE6XKI0VDbZ/iUdf2USICUJF3t6XXKKiPcIEQKuizXy5O/Uon/?= =?utf-8?q?sYW95JYaYoHx7/yATsJG1QnlnC0CnvENYQZ7cBG/jby12xep+KH7Q6vT6CsQUrtZx?= =?utf-8?q?RfSXQ8oDJ4CO3xZ7C9wudIpbnV5AJyvICjlMdNs2R+3r4WPOZ+XxPtltvoFbgZ7jO?= =?utf-8?q?xRFjsLQEE2yudvg2xrnh8nwNjRyQycsZEgz4MWANbHvYB9XbITy42I+tq5bmSZCBO?= =?utf-8?q?oauf7ELiGkeSAQ9b1amaSNG8OJ7Z2hgCN9uFFCS9517NXHEHwNqJfr4YZQjte+V+J?= =?utf-8?q?Vk+5X91EjGv6HEDgFjcXNfyR4nEBb74C/n5jB2DojiJwFrvMg/e7L7+cdU3aYA87I?= =?utf-8?q?x0wNPNUAOPbI6jwLWPv4e8NksVu6G0QsvW/qBKleBX/V5EndWt5POTAf/buElZmkn?= =?utf-8?q?3EyljbnzlAMhGjJWreSwulW84Gohcieci/D2EIjNNzQPYgwWPWL3XBfxiA+slzWv+?= =?utf-8?q?Uz/kyRTeomFOsKU3hCt7QpR5/Kl3QVqDTHMTthkjT3RrFPzj47JkyJedoxtYnyvRl?= =?utf-8?q?GGqrraQTOUgFJ4T0Cfqr0/vu4DUwf4+ErSIOwlili51iANerz3Od0lwTROtWGlwAE?= =?utf-8?q?fso9fCUxsU0q+rBfODedFg+bRnITRx3Ryyg/XCWcFKwub/qSlVSHBKGcgzeMK9cpg?= =?utf-8?q?4xIeuprZQ9epcI1U4Sm4feENuFgXjtoDgYjQjXBLY/k98bNQhJTRTkd2ELw071Zi4?= =?utf-8?q?a2P3CIeZa6n7TqmdtGtEilPVx4EPgNLr7KN+JnLeEBogMo15x+r1qecMZx/k2cB6w?= =?utf-8?q?77Rjp9gqlkvSJRhFl/TqcuZuF6cP9LAbdc9o1X84AZ4YBNButtX8g2Z4lXelpbZIr?= =?utf-8?q?QzErcag/0Mw1MdbkC5QKfaAAFzZ5wA+DVVg=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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59N9iTo2hceoA6G6dndzGiE13cUVXYqS8TqqotCa1?= =?utf-8?q?m98HghviyELHn+MGac85ShIcQHURCqxD95291Kxwmk0Y2ERD9r0RgQO4B7qcDP03B?= =?utf-8?q?0z6DDWXIYAJ8OKO8/1w7k+49GDplJUdJV2HCzlS1yw8/cx0OLx7rTDBTMvWNI8tBr?= =?utf-8?q?hJF9e8RPasO7eup2YXZS8G7taypANpfl3RwPu+xoKjE0s83DE/E2zArWK9r4ipe/+?= =?utf-8?q?nQkmyDPBLs4ahZ2RULLaX9Hpe31wxfVBKq6+nirgE/55TrE8m1PqlXYQyS8DWNyyE?= =?utf-8?q?W2UzL5VBzCOtjQUNbchpzPoVUG4FM3ErXb2ldDD0b6lsYhGdGKtA/AbOiL9u9Z4ZT?= =?utf-8?q?yXPpd72fG5AoVlgW00Zb14wRz5SrJJnHg2m+0rSGUmZR2eIoBARH123vGvyafZcnN?= =?utf-8?q?PmjPyC9cJEVlXXm34twDjALhZKpv9cnGfFf1U5IzI1nd4m+9cxdnc0MQhMTqc8RMT?= =?utf-8?q?QHiYg4siGCfwUqpgTlHMwqRR2UwgX0NUSjJdXxiIjYAq2oJc6pPrlHOI97RK0xiB2?= =?utf-8?q?EqzDDRoOYF/ioOYWhEi37lrFmP639LWhaAGMM4KMKMFghTzJ0nFaqz02y6mI8hszn?= =?utf-8?q?somSfjy5l5coDL1i5A60QW960yMxGeXj1jcrEUxgJSPMm0Nx1cbi8rxC+15NKu5bY?= =?utf-8?q?LrWyW9wn+9rrN403cBjYgLNz+mX084sP3Q=3D=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 428d94f1-8b05-481e-7963-08dc7ef0df7d 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:38.7266 (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: /eJdrEueBXlTTAfLz92FwVE6xCN2ZUWjyLwVXwpWqcYl9tS9eW22ES0hKfAZ7YRVAvFOp3YaAtXTxMlEF0Z+xdEY4ppz0GOQh6nrBPWNoB8= 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" Use the default timing parameters to get a refresh rate of about 60 Hz for a clock of 6 MHz. 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 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 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-AntiSpam-MessageData-0: =?utf-8?q?PRqCx/NtL5PmZODKVYQQlyIGnOye?= =?utf-8?q?1kBBoz1npQGBNAfo4n8QqAq8CzZz69h+mb1ChlYL3j9FOVe8YMvu123lev8d/zRvI?=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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, };