Message ID | 20230330093131.424828-1-francesco@dolcini.it |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp997019vqo; Thu, 30 Mar 2023 02:35:44 -0700 (PDT) X-Google-Smtp-Source: AKy350aTMTgPaGvv2jUmfSKVSbVhx0sBlLTUAeYuPE1+t6/zdRWMe3ZEOxiaQ+AWr3N4f96L66PB X-Received: by 2002:aa7:d14e:0:b0:500:58cb:3b05 with SMTP id r14-20020aa7d14e000000b0050058cb3b05mr20904166edo.27.1680168944274; Thu, 30 Mar 2023 02:35:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680168944; cv=none; d=google.com; s=arc-20160816; b=edxMzsaCDEbpVLLvyIJwboakbtFqk7aHLw5/3iTiTIWtpEE+VSQjIsu5EBjd0EfMWX rwpY5Bk9Ua6IBjwdC8V8mb+B1aShFFbV+XpRnHNQL7zqBedOaqIotbk357fVtaXwld3t 9ajKJref5aDzO52KoNCW5ww5DHpDUVyQKsGtcShAr//EDBLInxHHuTyEF7FI9sBivPJX aj6W94rNKICj/8tsR2JiVN5LhgKgkk6ntAMtDyc/WhFV4rpT+0ieohFwqSrNEICXZuFZ fpcy30O7sL/rhfEHGX/1IY/8DKPoJDsq/TalE/iQFhWWORx6sftQ+Obg7/qOrVNJYmV5 ZD5g== 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; bh=WujRXKrH8F9L5Jm+99ymQeL3VKMuqDhPtfm9BM6VFpc=; b=OjLUbAbpI3k5K8diRyjJwjvSmxwfrGvdulSttj50Dh6Yl1Ym7Q+jHB/fm2jAcZVRzF 9m7JSLijmf6+eVIrt/2Vmjh60mPhhD08NCWCeK1lMtj+GdkdyEMlcbx2+RJQRPDFMoS+ 2ttj4PfuTidWcCOM03+i4f+I7WihSyK58IQJx7dr/aOGwGKE0wxim9JuBl50pOIMlq3T XfSGfiDPM622EmJeBX905GoZjwLHe15XTcX416CUbwyM3CS+vAOnxPk1YJfj//vMoB89 gBGT3jjqxoWfAysrf3QX94PUgb2j/7yCZfxJ9Iw4NEpk+kdjWeBauTo4vmcErr0q+SLj R6Dg== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f4-20020a056402150400b005024c86c50bsi7972319edw.392.2023.03.30.02.35.20; Thu, 30 Mar 2023 02:35:44 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230016AbjC3Jbm (ORCPT <rfc822;rua109.linux@gmail.com> + 99 others); Thu, 30 Mar 2023 05:31:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229640AbjC3Jbl (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 30 Mar 2023 05:31:41 -0400 Received: from mail11.truemail.it (mail11.truemail.it [IPv6:2001:4b7e:0:8::81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 845BC6E93; Thu, 30 Mar 2023 02:31:38 -0700 (PDT) Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 64FF220755; Thu, 30 Mar 2023 11:31:35 +0200 (CEST) From: Francesco Dolcini <francesco@dolcini.it> To: Adrien Grassein <adrien.grassein@gmail.com>, Andrzej Hajda <andrzej.hajda@intel.com>, Neil Armstrong <neil.armstrong@linaro.org>, Robert Foss <rfoss@kernel.org>, Laurent Pinchart <Laurent.pinchart@ideasonboard.com>, Jonas Karlman <jonas@kwiboo.se>, Jernej Skrabec <jernej.skrabec@gmail.com>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, dri-devel@lists.freedesktop.org Cc: Francesco Dolcini <francesco.dolcini@toradex.com>, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH v1] drm/bridge: lt8912b: Fix DSI Video Mode Date: Thu, 30 Mar 2023 11:31:31 +0200 Message-Id: <20230330093131.424828-1-francesco@dolcini.it> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS autolearn=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761784831281489170?= X-GMAIL-MSGID: =?utf-8?q?1761784831281489170?= |
Series |
[v1] drm/bridge: lt8912b: Fix DSI Video Mode
|
|
Commit Message
Francesco Dolcini
March 30, 2023, 9:31 a.m. UTC
From: Francesco Dolcini <francesco.dolcini@toradex.com> LT8912 DSI port supports only Non-Burst mode video operation with Sync Events and continuous clock on clock lane, correct dsi mode flags according to that removing MIPI_DSI_MODE_VIDEO_BURST flag. Cc: <stable@vger.kernel.org> Fixes: 30e2ae943c26 ("drm/bridge: Introduce LT8912B DSI to HDMI bridge") Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> --- drivers/gpu/drm/bridge/lontium-lt8912b.c | 1 - 1 file changed, 1 deletion(-)
Comments
On Thu, Mar 30, 2023 at 11:31 AM Francesco Dolcini <francesco@dolcini.it> wrote: > > From: Francesco Dolcini <francesco.dolcini@toradex.com> > > LT8912 DSI port supports only Non-Burst mode video operation with Sync > Events and continuous clock on clock lane, correct dsi mode flags > according to that removing MIPI_DSI_MODE_VIDEO_BURST flag. > > Cc: <stable@vger.kernel.org> > Fixes: 30e2ae943c26 ("drm/bridge: Introduce LT8912B DSI to HDMI bridge") > Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> > --- > drivers/gpu/drm/bridge/lontium-lt8912b.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/gpu/drm/bridge/lontium-lt8912b.c b/drivers/gpu/drm/bridge/lontium-lt8912b.c > index b40baced1331..13c131ade268 100644 > --- a/drivers/gpu/drm/bridge/lontium-lt8912b.c > +++ b/drivers/gpu/drm/bridge/lontium-lt8912b.c > @@ -504,7 +504,6 @@ static int lt8912_attach_dsi(struct lt8912 *lt) > dsi->format = MIPI_DSI_FMT_RGB888; > > dsi->mode_flags = MIPI_DSI_MODE_VIDEO | > - MIPI_DSI_MODE_VIDEO_BURST | > MIPI_DSI_MODE_LPM | > MIPI_DSI_MODE_NO_EOT_PACKET; > > -- > 2.25.1 > Letting this sleep for a few days before applying. Reviewed-by: Robert Foss <rfoss@kernel.org>
From: Robert Foss <rfoss@kernel.org> On Thu, 30 Mar 2023 11:31:31 +0200, Francesco Dolcini wrote: > From: Francesco Dolcini <francesco.dolcini@toradex.com> > > LT8912 DSI port supports only Non-Burst mode video operation with Sync > Events and continuous clock on clock lane, correct dsi mode flags > according to that removing MIPI_DSI_MODE_VIDEO_BURST flag. > > > [...] Applied, thanks! Repo: https://cgit.freedesktop.org/drm/drm-misc/ [1/1] drm/bridge: lt8912b: Fix DSI Video Mode commit: f435b7ef3b360d689df2ffa8326352cd07940d92 Rob
diff --git a/drivers/gpu/drm/bridge/lontium-lt8912b.c b/drivers/gpu/drm/bridge/lontium-lt8912b.c index b40baced1331..13c131ade268 100644 --- a/drivers/gpu/drm/bridge/lontium-lt8912b.c +++ b/drivers/gpu/drm/bridge/lontium-lt8912b.c @@ -504,7 +504,6 @@ static int lt8912_attach_dsi(struct lt8912 *lt) dsi->format = MIPI_DSI_FMT_RGB888; dsi->mode_flags = MIPI_DSI_MODE_VIDEO | - MIPI_DSI_MODE_VIDEO_BURST | MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_NO_EOT_PACKET;