Message ID | 20231108-tc358767-v2-0-25c5f70a2159@ideasonboard.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:aa0b:0:b0:403:3b70:6f57 with SMTP id k11csp845820vqo; Wed, 8 Nov 2023 03:28:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IE1CmtXTLAWtvacmmIQapFQSexQPayvI1aTEfyV1sa+UlHWOjH8STmxEgYfv0ePqkq3LkSl X-Received: by 2002:a05:6a21:19f:b0:17e:4f56:ebe3 with SMTP id le31-20020a056a21019f00b0017e4f56ebe3mr7961203pzb.10.1699442889939; Wed, 08 Nov 2023 03:28:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699442889; cv=none; d=google.com; s=arc-20160816; b=M20qi6jkw3WKCjTckCs1AUH0UBH3Tvc1IgAUZLI2swWNhsSUHc8+Mid44RuHyFDRL2 tQ/XtxqWGzVLi0AhhPXWojrKXIrT3bN8FPbQ+NuYYyoeTElkUfIjVkUsOG17K6eeNZ6J EwOl3YEwr0D+OKxsDO8AhxR5e5lOVlG8KETaWYOjcoVPdfFM34DqKsGAftch/nqfOWdV 9DdaaGE3z240hJcrtWM60xkjllrfrZsl7miPUDXJ7uK0J2Dwa0LAL3rycFjRRbhubQZt IYZU2V70uG+rmvqzC1n09lxdAML/PpFmi0++rm6PvdKDKaraZac0y+3zBxF4jQBnJkMe lzzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=TR2G1DW2uaqXF2Lcc5AAXjz3BOJ1Fn+Dllp8mtE9/9A=; fh=g/0b7r8jCWOEP8jiTCKxjmVRm1mB037wJnPKyZOXFXQ=; b=GsSNKdxCUOBKsFYWbpGwWCmuLPJdfvzpksgzCDTwNdUk9asXNbkUG0n2bJt2JCbQgY fzcJVfn8CIux/smVK5Cvoiv9ncHN2jHDnE6j0sxCw6PCZI72bRGguH38JWYRiLtSr1b1 6p8PsRbXpykr/38scGtEyj9f+/CVbZ0qJ8iyIjhXjv4PJMkqDVCyJOJdnEvLfHRf+4OZ eo3kSXtBgaJBfwvsX5VQ5y8PYXcFvlDOsqpBv7nLx1eRBdNd8F0MAFtkaCxDDgnUpKvI ESpdB83stoU9fFvjrxqFQFIVbPJYn24j67BYKzaGw+Z/d9p+pWB3E+SDv090bGuO2Kl6 P7Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=GtbD2JcV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id 81-20020a630254000000b005bcfefd12b8si4322264pgc.584.2023.11.08.03.28.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Nov 2023 03:28:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=GtbD2JcV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 4D5DF828951F; Wed, 8 Nov 2023 03:28:05 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344422AbjKHL1x (ORCPT <rfc822;jaysivo@gmail.com> + 32 others); Wed, 8 Nov 2023 06:27:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229924AbjKHL1t (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 8 Nov 2023 06:27:49 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0276101 for <linux-kernel@vger.kernel.org>; Wed, 8 Nov 2023 03:27:46 -0800 (PST) Received: from [127.0.1.1] (91-158-149-209.elisa-laajakaista.fi [91.158.149.209]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id DFF9F836; Wed, 8 Nov 2023 12:27:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1699442842; bh=WLlM2Gj86xmd+GbYCmiHz2C8v5cjM4EtVETq+IRWFE4=; h=From:Subject:Date:To:Cc:From; b=GtbD2JcVPHpKp8Nqv4Q6YWAZDmbsvIKiOEOXQgncVrf8MjzwySxBtHhjTP43+Lzq0 c0SgYsYQU1l35qf0frUjjUot2angs1u6/tEoylfcBohpBIVRg8uRKQtdyqlV/2J0RG R5Njy8kHcg9hrRZ8swU8r3LivKMPMAyVHJeFRVRQ= From: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Subject: [PATCH v2 0/2] drm/bridge: tc358767: Fix DRM_BRIDGE_ATTACH_NO_CONNECTOR case Date: Wed, 08 Nov 2023 13:27:21 +0200 Message-Id: <20231108-tc358767-v2-0-25c5f70a2159@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAJlwS2UC/23MOw7CMBBF0a1EU2PkDyEOFftAKfwZkymIIzuyQ JH3jklNeZ+ezg4ZE2GGW7dDwkKZ4tJCnjpws1meyMi3BsmlElwJtjnV6+E6sF6jQuvD2AcO7b4 mDPQ+qMfUeqa8xfQ55CJ+6x+kCMaZGiXXwvgxXOydPJocFxtN8mcXXzDVWr87KBjSpwAAAA== To: Aradhya Bhatia <a-bhatia1@ti.com>, Jan Kiszka <jan.kiszka@siemens.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>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Sam Ravnborg <sam@ravnborg.org> Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1014; i=tomi.valkeinen@ideasonboard.com; h=from:subject:message-id; bh=WLlM2Gj86xmd+GbYCmiHz2C8v5cjM4EtVETq+IRWFE4=; b=owEBbQKS/ZANAwAIAfo9qoy8lh71AcsmYgBlS3Cp2Psvm6UdFUslz/VwjM/5Qnlofze9iahHy 7TC9kVOLU6JAjMEAAEIAB0WIQTEOAw+ll79gQef86f6PaqMvJYe9QUCZUtwqQAKCRD6PaqMvJYe 9Z71D/4toHZpwhIU6URTpk+gga4lT90VInuN3gvBPsILkCv8luuQXZ26db8MlBK4eG8Ri2U49Kf ktAOJI3dQbwV7crCUYxeu6IQojal5Uk060zBdKpb3en4455xIDwqzLvo+UON1y39ujtLyyADlxd hyxwy2wFfd37gNvSN8WHe8sMKif8Oxhal1ZH0CPRVzStvgjem4MOkj1vLqD3kLAyBdMaylhS9yT L5QoYofwghvD3XwRyuytKvmjjGlpiprD+RuWHdr4fugru4X8qR/zNlMRwYugnhCZqUkhRUClXHx 0y0ALiKIydEixfaqZ40ZZiWc6JDmdtb7Pbow7Q/KOSJGs/wf94s4gdbMqo+Cah3oKffgV4vbmuc SpZnAxdFpujmoZn6wHi3frbAkai5JgI3pUdKnl8K0GucYhZj4J5EyU01PsKIfF9JvzItxE1/Wgn XJ8cK13UsH6x+Hzl69AAoqpuK1R8c3nque/v0/8tingC5ENfR1tX2Od9pOkTkah6tQ1Blbdunfc RRjw7HL7MnGPQSNUS4P/33u6CDwEV6Kp4Jvwf2/cdq91S9lyXGC1pSHmZ1PODiZ2N4LAt09zISM GpfEtamA7nt3QfDByszNphKMprYfYJz8N29WYGQMc60AhtxAkz/qGs+lrAbHYES1+X7kEfhmyRG cxgU1MJFtgyRc5w== X-Developer-Key: i=tomi.valkeinen@ideasonboard.com; a=openpgp; fpr=C4380C3E965EFD81079FF3A7FA3DAA8CBC961EF5 Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 08 Nov 2023 03:28:05 -0800 (PST) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781995027868185732 X-GMAIL-MSGID: 1781995027868185732 |
Series |
drm/bridge: tc358767: Fix DRM_BRIDGE_ATTACH_NO_CONNECTOR case
|
|
Message
Tomi Valkeinen
Nov. 8, 2023, 11:27 a.m. UTC
These two patches are needed to make tc358767 work in the
DRM_BRIDGE_ATTACH_NO_CONNECTOR case, at least when using a DP connector.
I have tested this with TI AM654 EVM with a tc358767 add-on card
connected to a DP monitor.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
---
Changes in v2:
- Update the format negotiation patch as discussed in https://lore.kernel.org/all/7ddf0edb-2925-4b7c-ad07-27c030dd0232@ti.com/
- Link to v1: https://lore.kernel.org/r/20231031-tc358767-v1-0-392081ad9f4b@ideasonboard.com
---
Aradhya Bhatia (1):
drm/bridge: tc358767: Add format negotiation hooks for DPI/DSI to (e)DP
Tomi Valkeinen (1):
drm/bridge: tc358767: Fix link properties discovery
drivers/gpu/drm/bridge/tc358767.c | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
---
base-commit: 9d7c8c066916f231ca0ed4e4fce6c4b58ca3e451
change-id: 20231031-tc358767-58e3ebdf95f0
Best regards,
Comments
Hi Tomi, Am Mittwoch, 8. November 2023, 12:27:21 CET schrieb Tomi Valkeinen: > These two patches are needed to make tc358767 work in the > DRM_BRIDGE_ATTACH_NO_CONNECTOR case, at least when using a DP connector. > > I have tested this with TI AM654 EVM with a tc358767 add-on card > connected to a DP monitor. Just a question regarding the usage of this DSI-DP bridge. What is the state of the DSI lanes after the DSI host has been initialized, but before calling atomic_pre_enable? AFAIK this bridge requires LP-11 on DSI at any time for accessing the AUX channel. Best regards, Alexander > Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> > --- > Changes in v2: > - Update the format negotiation patch as discussed in > https://lore.kernel.org/all/7ddf0edb-2925-4b7c-ad07-27c030dd0232@ti.com/ - > Link to v1: > https://lore.kernel.org/r/20231031-tc358767-v1-0-392081ad9f4b@ideasonboard. > com > > --- > Aradhya Bhatia (1): > drm/bridge: tc358767: Add format negotiation hooks for DPI/DSI to > (e)DP > > Tomi Valkeinen (1): > drm/bridge: tc358767: Fix link properties discovery > > drivers/gpu/drm/bridge/tc358767.c | 32 ++++++++++++++++++++++++++++++++ > 1 file changed, 32 insertions(+) > --- > base-commit: 9d7c8c066916f231ca0ed4e4fce6c4b58ca3e451 > change-id: 20231031-tc358767-58e3ebdf95f0 > > Best regards,
On 08/11/2023 14:45, Alexander Stein wrote: > Hi Tomi, > > Am Mittwoch, 8. November 2023, 12:27:21 CET schrieb Tomi Valkeinen: >> These two patches are needed to make tc358767 work in the >> DRM_BRIDGE_ATTACH_NO_CONNECTOR case, at least when using a DP connector. >> >> I have tested this with TI AM654 EVM with a tc358767 add-on card >> connected to a DP monitor. > > Just a question regarding the usage of this DSI-DP bridge. > What is the state of the DSI lanes after the DSI host has been initialized, > but before calling atomic_pre_enable? AFAIK this bridge requires LP-11 on DSI > at any time for accessing the AUX channel. Good question. I don't know, as we use it in DPI mode (DPI-DP bridge). I guess the DSI state is undefined, as it might well be that the DSI host driver's (pre-)enable is the place where the DSI is powered up and initialized. So you think in DSI mode this might fail, as AUX (possibly) won't work when calling tc_get_edid()? We could add a check there, and skip the tc_get_display_props() if in DSI mode. But tc_get_edid() surely won't work then. It would be good if someone with a board where tc358767 is used in DSI mode could test this. But, of course, it'll only be testing that particular DSI host behavior... Tomi > > Best regards, > Alexander > >> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> >> --- >> Changes in v2: >> - Update the format negotiation patch as discussed in >> https://lore.kernel.org/all/7ddf0edb-2925-4b7c-ad07-27c030dd0232@ti.com/ - >> Link to v1: >> https://lore.kernel.org/r/20231031-tc358767-v1-0-392081ad9f4b@ideasonboard. >> com >> >> --- >> Aradhya Bhatia (1): >> drm/bridge: tc358767: Add format negotiation hooks for DPI/DSI to >> (e)DP >> >> Tomi Valkeinen (1): >> drm/bridge: tc358767: Fix link properties discovery >> >> drivers/gpu/drm/bridge/tc358767.c | 32 ++++++++++++++++++++++++++++++++ >> 1 file changed, 32 insertions(+) >> --- >> base-commit: 9d7c8c066916f231ca0ed4e4fce6c4b58ca3e451 >> change-id: 20231031-tc358767-58e3ebdf95f0 >> >> Best regards, > >
Hi, On 08/11/2023 14:45, Alexander Stein wrote: > Hi Tomi, > > Am Mittwoch, 8. November 2023, 12:27:21 CET schrieb Tomi Valkeinen: >> These two patches are needed to make tc358767 work in the >> DRM_BRIDGE_ATTACH_NO_CONNECTOR case, at least when using a DP connector. >> >> I have tested this with TI AM654 EVM with a tc358767 add-on card >> connected to a DP monitor. > > Just a question regarding the usage of this DSI-DP bridge. > What is the state of the DSI lanes after the DSI host has been initialized, > but before calling atomic_pre_enable? AFAIK this bridge requires LP-11 on DSI > at any time for accessing the AUX channel. We haven't received any test reports for the DSI-DP case... I was looking at the datasheet, and I wonder, why do you say the bridge requires DSI to be up for the AUX transactions? Tomi > Best regards, > Alexander > >> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> >> --- >> Changes in v2: >> - Update the format negotiation patch as discussed in >> https://lore.kernel.org/all/7ddf0edb-2925-4b7c-ad07-27c030dd0232@ti.com/ - >> Link to v1: >> https://lore.kernel.org/r/20231031-tc358767-v1-0-392081ad9f4b@ideasonboard. >> com >> >> --- >> Aradhya Bhatia (1): >> drm/bridge: tc358767: Add format negotiation hooks for DPI/DSI to >> (e)DP >> >> Tomi Valkeinen (1): >> drm/bridge: tc358767: Fix link properties discovery >> >> drivers/gpu/drm/bridge/tc358767.c | 32 ++++++++++++++++++++++++++++++++ >> 1 file changed, 32 insertions(+) >> --- >> base-commit: 9d7c8c066916f231ca0ed4e4fce6c4b58ca3e451 >> change-id: 20231031-tc358767-58e3ebdf95f0 >> >> Best regards, > >
On 06/12/23 17:41, Tomi Valkeinen wrote: > Hi, > > On 08/11/2023 14:45, Alexander Stein wrote: >> Hi Tomi, >> >> Am Mittwoch, 8. November 2023, 12:27:21 CET schrieb Tomi Valkeinen: >>> These two patches are needed to make tc358767 work in the >>> DRM_BRIDGE_ATTACH_NO_CONNECTOR case, at least when using a DP connector. >>> >>> I have tested this with TI AM654 EVM with a tc358767 add-on card >>> connected to a DP monitor. >> >> Just a question regarding the usage of this DSI-DP bridge. >> What is the state of the DSI lanes after the DSI host has been >> initialized, >> but before calling atomic_pre_enable? AFAIK this bridge requires LP-11 >> on DSI >> at any time for accessing the AUX channel. + Marek Marek, Alexander, A quick grep tells me that you have added devicetree for tc358767 in DSI to (e)DP mode on other platforms. Could you please test these patches and report if you find any issue? Regards Aradhya > > We haven't received any test reports for the DSI-DP case... I was > looking at the datasheet, and I wonder, why do you say the bridge > requires DSI to be up for the AUX transactions? > > Tomi > >> Best regards, >> Alexander >> >>> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> >>> --- >>> Changes in v2: >>> - Update the format negotiation patch as discussed in >>> https://lore.kernel.org/all/7ddf0edb-2925-4b7c-ad07-27c030dd0232@ti.com/ - >>> Link to v1: >>> https://lore.kernel.org/r/20231031-tc358767-v1-0-392081ad9f4b@ideasonboard. >>> com >>> >>> --- >>> Aradhya Bhatia (1): >>> drm/bridge: tc358767: Add format negotiation hooks for DPI/DSI to >>> (e)DP >>> >>> Tomi Valkeinen (1): >>> drm/bridge: tc358767: Fix link properties discovery >>> >>> drivers/gpu/drm/bridge/tc358767.c | 32 >>> ++++++++++++++++++++++++++++++++ >>> 1 file changed, 32 insertions(+) >>> --- >>> base-commit: 9d7c8c066916f231ca0ed4e4fce6c4b58ca3e451 >>> change-id: 20231031-tc358767-58e3ebdf95f0 >>> >>> Best regards, >> >> >
Hi Tomi, Am Mittwoch, 6. Dezember 2023, 13:11:59 CET schrieb Tomi Valkeinen: > Hi, > > On 08/11/2023 14:45, Alexander Stein wrote: > > Hi Tomi, > > > > Am Mittwoch, 8. November 2023, 12:27:21 CET schrieb Tomi Valkeinen: > >> These two patches are needed to make tc358767 work in the > >> DRM_BRIDGE_ATTACH_NO_CONNECTOR case, at least when using a DP connector. > >> > >> I have tested this with TI AM654 EVM with a tc358767 add-on card > >> connected to a DP monitor. > > > > Just a question regarding the usage of this DSI-DP bridge. > > What is the state of the DSI lanes after the DSI host has been > > initialized, > > but before calling atomic_pre_enable? AFAIK this bridge requires LP-11 on > > DSI at any time for accessing the AUX channel. > > We haven't received any test reports for the DSI-DP case... I was > looking at the datasheet, and I wonder, why do you say the bridge > requires DSI to be up for the AUX transactions? Looking at Figure 4.20 (Power On Sequence) in the datasheet TC9595XBG (Rev 1.1 2021-06-23) you can see that RESX can be released (only) after DSI lanes went to LP-11 state. I got information, down from the support, that LP-11 must be up in order to use AUX channel. This also matches our observations, DSI hosts often enable LP-11 only in atomic_prepare. That's too late so we used some hacks to enable LP-11 right from the beginning just to get access to AUX channel. Best regards Alexander > > Tomi > > > Best regards, > > Alexander > > > >> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> > >> --- > >> Changes in v2: > >> - Update the format negotiation patch as discussed in > >> https://lore.kernel.org/all/7ddf0edb-2925-4b7c-ad07-27c030dd0232@ti.com/ > >> - > >> Link to v1: > >> https://lore.kernel.org/r/20231031-tc358767-v1-0-392081ad9f4b@ideasonboar > >> d. > >> com > >> > >> --- > >> > >> Aradhya Bhatia (1): > >> drm/bridge: tc358767: Add format negotiation hooks for DPI/DSI to > >> > >> (e)DP > >> > >> Tomi Valkeinen (1): > >> drm/bridge: tc358767: Fix link properties discovery > >> > >> drivers/gpu/drm/bridge/tc358767.c | 32 ++++++++++++++++++++++++++++++++ > >> 1 file changed, 32 insertions(+) > >> > >> --- > >> base-commit: 9d7c8c066916f231ca0ed4e4fce6c4b58ca3e451 > >> change-id: 20231031-tc358767-58e3ebdf95f0 > >> > >> Best regards,
On 11.12.23 09:07, Aradhya Bhatia wrote: > > > On 06/12/23 17:41, Tomi Valkeinen wrote: >> Hi, >> >> On 08/11/2023 14:45, Alexander Stein wrote: >>> Hi Tomi, >>> >>> Am Mittwoch, 8. November 2023, 12:27:21 CET schrieb Tomi Valkeinen: >>>> These two patches are needed to make tc358767 work in the >>>> DRM_BRIDGE_ATTACH_NO_CONNECTOR case, at least when using a DP connector. >>>> >>>> I have tested this with TI AM654 EVM with a tc358767 add-on card >>>> connected to a DP monitor. >>> >>> Just a question regarding the usage of this DSI-DP bridge. >>> What is the state of the DSI lanes after the DSI host has been >>> initialized, >>> but before calling atomic_pre_enable? AFAIK this bridge requires LP-11 >>> on DSI >>> at any time for accessing the AUX channel. > > + Marek > > Marek, Alexander, > > A quick grep tells me that you have added devicetree for tc358767 in DSI > to (e)DP mode on other platforms. Could you please test these patches > and report if you find any issue? Is this the last blocker to move forward with these fixes? I'd really like to see them finally merged. Thanks, Jan
Hi everyone, Am Donnerstag, 15. Februar 2024, 09:53:54 CET schrieb Jan Kiszka: > On 11.12.23 09:07, Aradhya Bhatia wrote: > > On 06/12/23 17:41, Tomi Valkeinen wrote: > >> Hi, > >> > >> On 08/11/2023 14:45, Alexander Stein wrote: > >>> Hi Tomi, > >>> > >>> Am Mittwoch, 8. November 2023, 12:27:21 CET schrieb Tomi Valkeinen: > >>>> These two patches are needed to make tc358767 work in the > >>>> DRM_BRIDGE_ATTACH_NO_CONNECTOR case, at least when using a DP > >>>> connector. > >>>> > >>>> I have tested this with TI AM654 EVM with a tc358767 add-on card > >>>> connected to a DP monitor. > >>> > >>> Just a question regarding the usage of this DSI-DP bridge. > >>> What is the state of the DSI lanes after the DSI host has been > >>> initialized, > >>> but before calling atomic_pre_enable? AFAIK this bridge requires LP-11 > >>> on DSI > >>> at any time for accessing the AUX channel. > > > > + Marek > > > > Marek, Alexander, > > > > A quick grep tells me that you have added devicetree for tc358767 in DSI > > to (e)DP mode on other platforms. Could you please test these patches > > and report if you find any issue? Sorry, I can't provide any feedback here. I've yet to setup the DSI-DP correctly. Best regards, Alexander > Is this the last blocker to move forward with these fixes? I'd really > like to see them finally merged. > > Thanks, > Jan
On 15/02/2024 11:03, Alexander Stein wrote: > Hi everyone, > > Am Donnerstag, 15. Februar 2024, 09:53:54 CET schrieb Jan Kiszka: >> On 11.12.23 09:07, Aradhya Bhatia wrote: >>> On 06/12/23 17:41, Tomi Valkeinen wrote: >>>> Hi, >>>> >>>> On 08/11/2023 14:45, Alexander Stein wrote: >>>>> Hi Tomi, >>>>> >>>>> Am Mittwoch, 8. November 2023, 12:27:21 CET schrieb Tomi Valkeinen: >>>>>> These two patches are needed to make tc358767 work in the >>>>>> DRM_BRIDGE_ATTACH_NO_CONNECTOR case, at least when using a DP >>>>>> connector. >>>>>> >>>>>> I have tested this with TI AM654 EVM with a tc358767 add-on card >>>>>> connected to a DP monitor. >>>>> >>>>> Just a question regarding the usage of this DSI-DP bridge. >>>>> What is the state of the DSI lanes after the DSI host has been >>>>> initialized, >>>>> but before calling atomic_pre_enable? AFAIK this bridge requires LP-11 >>>>> on DSI >>>>> at any time for accessing the AUX channel. >>> >>> + Marek >>> >>> Marek, Alexander, >>> >>> A quick grep tells me that you have added devicetree for tc358767 in DSI >>> to (e)DP mode on other platforms. Could you please test these patches >>> and report if you find any issue? > > Sorry, I can't provide any feedback here. I've yet to setup the DSI-DP > correctly. Ok. Does anyone have a worry that these patches make the situation worse for the DSI case than it was before? Afaics, if the DSI lanes are not set up early enough by the DSI host, the driver would break with and without these patches. These do fix the driver for DRM_BRIDGE_ATTACH_NO_CONNECTOR and DPI, so I'd like to merge these unless these cause a regression with the DSI case. Tomi
On 2/16/24 10:10, Tomi Valkeinen wrote: > On 15/02/2024 11:03, Alexander Stein wrote: >> Hi everyone, >> >> Am Donnerstag, 15. Februar 2024, 09:53:54 CET schrieb Jan Kiszka: >>> On 11.12.23 09:07, Aradhya Bhatia wrote: >>>> On 06/12/23 17:41, Tomi Valkeinen wrote: >>>>> Hi, >>>>> >>>>> On 08/11/2023 14:45, Alexander Stein wrote: >>>>>> Hi Tomi, >>>>>> >>>>>> Am Mittwoch, 8. November 2023, 12:27:21 CET schrieb Tomi Valkeinen: >>>>>>> These two patches are needed to make tc358767 work in the >>>>>>> DRM_BRIDGE_ATTACH_NO_CONNECTOR case, at least when using a DP >>>>>>> connector. >>>>>>> >>>>>>> I have tested this with TI AM654 EVM with a tc358767 add-on card >>>>>>> connected to a DP monitor. >>>>>> >>>>>> Just a question regarding the usage of this DSI-DP bridge. >>>>>> What is the state of the DSI lanes after the DSI host has been >>>>>> initialized, >>>>>> but before calling atomic_pre_enable? AFAIK this bridge requires >>>>>> LP-11 >>>>>> on DSI >>>>>> at any time for accessing the AUX channel. >>>> >>>> + Marek >>>> >>>> Marek, Alexander, >>>> >>>> A quick grep tells me that you have added devicetree for tc358767 in >>>> DSI >>>> to (e)DP mode on other platforms. Could you please test these patches >>>> and report if you find any issue? >> >> Sorry, I can't provide any feedback here. I've yet to setup the DSI-DP >> correctly. > > Ok. Does anyone have a worry that these patches make the situation worse > for the DSI case than it was before? Afaics, if the DSI lanes are not > set up early enough by the DSI host, the driver would break with and > without these patches. > > These do fix the driver for DRM_BRIDGE_ATTACH_NO_CONNECTOR and DPI, so > I'd like to merge these unless these cause a regression with the DSI case. 1/2 looks good to me, go ahead and apply .