From patchwork Mon Aug 14 13:40:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Ceresoli X-Patchwork-Id: 135454 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b824:0:b0:3f2:4152:657d with SMTP id z4csp2766673vqi; Mon, 14 Aug 2023 07:04:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHOtPm8KU/kLVWlqYLboKi7CdF6QqJcx8dY7GHZkvw3GSVVPdLmM85GpC+ZX+As/0/9IFWb X-Received: by 2002:ac2:5936:0:b0:4f7:66bf:b263 with SMTP id v22-20020ac25936000000b004f766bfb263mr6097049lfi.24.1692021895911; Mon, 14 Aug 2023 07:04:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692021895; cv=none; d=google.com; s=arc-20160816; b=KMSo0sSsq6ngYIlcp3CXAFLoY9GBrqYypzew7F0WT5cxLep3AvkO7h13xvcttRf+EJ HaHbQ5HJC7u6WnRAr5jRQSEklYsaC5Aj6YOC/hCy8VBT39EQbSdYSON+gGzDOLnSoQEV uJMWv5qIa9WNI+vLoQWmtnBFjDyLEj5KmAHDr+cRpW4YaXijMl/JZTS8m8SkO2hvnb5A /Tax5qaoIJnJE4i93zMsm/9IbrNQ5vxwmacEnjPdk77kv9L2xL/Y49Tf+yFWXUwr7bNW gQNg0dsnKuKWv+TYaEH/s1nZ+9/lY8pY5oGPgDu14Z8qOJ6D3nHmKkCHFwbpZNH3n6e8 fAxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=iv1cYDOnIeoz6q9otJ3llit4PPG5QkApkUhlm5iTdLU=; fh=sEFYZObJtoCVXKB87jRpPmGgmr5zd1TegbgKFjWbmCg=; b=U/cO5gUOJQw7fD134V+g9mXaTfLoHH4PSYobXRR5kcifPY4oe7Rp/i1huarJUaeMDL a8y85USbzK2pI5BWC6CCGH9teG4WPL29ks4nGEx3Hnt0U1rcHssOM0TN3vVdTK9rR/0J 1ZnxDaAN7NSOtgAxXVCdnoQke3BiflaXD71aEKgezm98jle5W5YhN7qLcKdaQcYUDeD0 VgbcMXH0dHuuMJTX0YODrC6BGC+oYXi1ItaRvB3IF6OgXlNy9PqVQKeZzu/ThKehLfVW q1vo1dSKHsqjdkMzwyS5eI796XSugTrybm4LCeU2eN9feu0im1xDDDyY9qjI0GZF4SPb tgqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Yfd2WnGT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m3-20020aa7d343000000b00525644f1343si1979005edr.408.2023.08.14.07.04.28; Mon, 14 Aug 2023 07:04:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Yfd2WnGT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230155AbjHNNlK (ORCPT + 99 others); Mon, 14 Aug 2023 09:41:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231572AbjHNNkq (ORCPT ); Mon, 14 Aug 2023 09:40:46 -0400 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69D6AE54 for ; Mon, 14 Aug 2023 06:40:45 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPA id A427DE0004; Mon, 14 Aug 2023 13:40:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1692020443; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=iv1cYDOnIeoz6q9otJ3llit4PPG5QkApkUhlm5iTdLU=; b=Yfd2WnGT7XC+FqcmMhS6v6/TfT8NX4n1+qLXsfId1dABFmMSRmyp86j4Lj1itHHXLVmbGP nsttf1o+GSqs/YzLjLDqXZri534GHfZCxWRdRdxA9F4Ns1243k24CjhVSyrRxOTccl9Wz7 48XVdLo23AIwJg05jD1bvv0Y5P574UadmzqaCqQTJ9EqwIczLeb2loPsZ3FpCNUuzY2KSj JJr/hYC3LJVMqgg2/jScUUTwMraYqzaVHfZE4zQvlnfbwz0RG7dWm9Biet5ryf0GfuBa75 icH0XL9Kgth2LSer7f489VS2P9U0ADPWf8SdkD+20fGyvmcmcj8rG0kke46frQ== From: Luca Ceresoli To: dri-devel@lists.freedesktop.org Cc: Luca Ceresoli , Neil Armstrong , Sam Ravnborg , David Airlie , Daniel Vetter , Marek Vasut , linux-kernel@vger.kernel.org, Thomas Petazzoni , Paul Kocialkowski Subject: [PATCH v2] drm/panel: simple: Fix Innolux G156HCE-L01 LVDS clock Date: Mon, 14 Aug 2023 15:40:24 +0200 Message-Id: <20230814134024.397739-1-luca.ceresoli@bootlin.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-GND-Sasl: luca.ceresoli@bootlin.com X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1774213551434457968 X-GMAIL-MSGID: 1774213551434457968 This panel has been implemented in commit 225213f24c79 ("drm/panel-simple: Add Innolux G156HCE-L01 panel entry") with a higher clock than the typical one mentioned on the documentation to avoid flickering on the unit tested. Testing on a different unit shows that the panel actually works with the intended 70.93 MHz clock and even lower frequencies so the flickering is likely caused either by a defective unit or by other different components such as the bridge. Fixes: eae7488814b5 ("drm/panel-simple: Add Innolux G156HCE-L01 panel entry") Signed-off-by: Luca Ceresoli Tested-by: Marek Vasut # MX8MM with LT9211 Reviewed-by: Marek Vasut --- Changed in v2: - fix commit hash in "Fixes:" line - add tested/reviewed by Marek --- drivers/gpu/drm/panel/panel-simple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 701013b3ad13..a1bbc7f11e83 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -2379,7 +2379,7 @@ static const struct panel_desc innolux_g121x1_l03 = { }; static const struct display_timing innolux_g156hce_l01_timings = { - .pixelclock = { 120000000, 144000000, 150000000 }, + .pixelclock = { 120000000, 141860000, 150000000 }, .hactive = { 1920, 1920, 1920 }, .hfront_porch = { 80, 90, 100 }, .hback_porch = { 80, 90, 100 },