Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3907666pxj; Mon, 21 Jun 2021 09:08:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPBnotVtCxJxL4JjXyPwN7t0Xk3Pog+Sb7iKVWKOfr40gnRWAlxv5LcjqnLyJmOcw+SZYa X-Received: by 2002:a05:6402:312d:: with SMTP id dd13mr3294185edb.140.1624291694730; Mon, 21 Jun 2021 09:08:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624291694; cv=none; d=google.com; s=arc-20160816; b=ri+KTGqVIkfFaHaIekwgFA/wUYXgtD2ETQifnAurGq1OVghjlH7TQVLNhIQyoRA1y3 ICiAQDoRGyfu//QZmVuqQNe0rOA+9hhUQmrPVDyIDz3OIIQcQ9q/O9Ycv02deRe5bcd8 xGoPwW4vU+sQ1N1QUjmLEBTQcw5t5qpjXtNT9dg4zzyfsLIvtlB/HLrcDDioGsQjAlnO BMLxEj6G/EfS239nmqo4oCjRRYI4hX7JPKPNSPn+DJHXaVF16plPsl6r6ZmKhaWCtFnh YgsFFfvEyE60qp3xX62vYuj+/dcj4wJg+bkQWXs64gF72jCBgEAFOOe+MsbONQLemNEc ECKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=mk/4kwLPhTfsKcH2zkenuopbQbhop/13kYsslt3x4vY=; b=buyCtrm2d8HkpopXPWec6GAaKcs9iXnv0t3D/rTnleXyzr9XQ+pbNylOSGiNPoK6Bs po6Rd3bryqto94/SpW8NwE5jQ17h7HXv+T1w4Yx+4HmgkyEbaqQXVcvosFyMSwObl9PY Xplk2rv3855tbZ8/WxhtuxseNYh2S/4rMnnud+WvCk/Pay8nD0jax4KK3QZBHAD5jT7S K6CN3+xeEr9v7me6O8RojmeH39n0KOTC8sgSFA+gZ0uy6nhDOZrSWEoDfO+Kyl0bs0K6 CcMVWZdKQ0VpXmDPTaViPSuYADeRohF+oPZ6u+JYin8h04r32b3DFgnGN9Zbpe8RiQ7M pbrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=AYfr9ZOf; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=b3oRSHWt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ia4si11266122ejc.84.2021.06.21.09.07.40; Mon, 21 Jun 2021 09:08:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=AYfr9ZOf; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=b3oRSHWt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230180AbhFUQHi (ORCPT + 99 others); Mon, 21 Jun 2021 12:07:38 -0400 Received: from wnew2-smtp.messagingengine.com ([64.147.123.27]:36891 "EHLO wnew2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230056AbhFUQHi (ORCPT ); Mon, 21 Jun 2021 12:07:38 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.west.internal (Postfix) with ESMTP id 544A3F56; Mon, 21 Jun 2021 12:05:22 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 21 Jun 2021 12:05:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=mk/4kwLPhTfsKcH2zkenuopbQbh op/13kYsslt3x4vY=; b=AYfr9ZOffNiNISOObHr0YS5YkkIoCZLQXa0/oHvnm3t GdAk10jZV2zCySg6d5zCXK7sW5i74C4XIPbRGFrXOu1i67Bm/qSRh+QZ1VYDW0in a28Lzgao/Tl/ESqZMOU+rUezuyK76qgqJwUywrWkAaacacNpXlgYO5wlS0c1EBfp WO/wh1lH19miMZOSpMAcPwh53fIajVSL9X+8IPXa1gICitinXNSNIfMDA+KAbaev 4iQp6B+5PGG9ud2cg9szLxSu2S3NuuvLZQdAAj+fuNaCOLZQIyj62biLZf7HrPRK +oFTFuCd/94YqnYCncoZrT8fsRbCzbdlSCH7x5IK2Rw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=mk/4kw LPhTfsKcH2zkenuopbQbhop/13kYsslt3x4vY=; b=b3oRSHWtUMSypuCY9rAQFU 2G5xiwO+oOIod5C4P8s0MSHefZGm0z/zcAeCW//xxGrHyWb311hr14laj7uVAVuR gcmoXCNQuxSvUsEMLdMR1X/QaUjYingdPANd3LWxetROyOpq8Yhougya2md8TjGT gLQ2sLzQFPPTX6XGhTWTIdgagh8TxE6/VIhSV3ouXeGBmAy/ourFjgIC+E8oQRyb QEk3ON1+4GzAAirqEktUnKOwMHP6f4klWuJZ22T2C29FCekfcsTrxbQLGuUTPTHp TY/1lrZ29RSoxHx1P3RIj3a05mMaxLc7h6m9RqDs+Qce0Exe+KByEeMTnhEORjhw == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeefledgleekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepveevfeffudeviedtgeethffhteeuffetfeffvdehvedvheetteehvdelfffg jedvnecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 21 Jun 2021 12:05:19 -0400 (EDT) Date: Mon, 21 Jun 2021 18:05:17 +0200 From: Maxime Ripard To: Laurent Pinchart Cc: Dave Stevenson , Marek Vasut , Nicolas Saenz Julienne , Eric Anholt , Tim Gover , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Andrzej Hajda , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, Phil Elwell , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] drm/vc4: dsi: Only register our component once a DSI device is attached Message-ID: <20210621160517.5fptdj4tkbzgqn76@gilmour> References: <20200707101912.571531-1-maxime@cerno.tech> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3ksxvmnjsmsf76mt" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --3ksxvmnjsmsf76mt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Laurent, On Sun, Jun 20, 2021 at 04:44:33AM +0300, Laurent Pinchart wrote: > Hi Maxime, >=20 > I'm testing this, and I'm afraid it causes an issue with all the > I2C-controlled bridges. I'm focussing on the newly merged ti-sn65dsi83 > driver at the moment, but other are affected the same way. >=20 > With this patch, the DSI component is only added when the DSI device is > attached to the host with mipi_dsi_attach(). In the ti-sn65dsi83 driver, > this happens in the bridge attach callback, which is called when the > bridge is attached by a call to drm_bridge_attach() in vc4_dsi_bind(). > This creates a circular dependency, and the DRM/KMS device is never > created. We discussed it on IRC, but it makes more sense here. The thing is, that patch is fixing a circular dependency we discussed with Andrzej a year ago: https://lore.kernel.org/dri-devel/20200630132711.ezywhvoiuv3swo57@gilmour.l= an/ It seems like we have to choose between having the panels or bridges working :/ Maxime --3ksxvmnjsmsf76mt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCYNC4vQAKCRDj7w1vZxhR xSLcAQDaSnT7X8iy3Cv8nH20JGeb14FgJH4/UPGtXb8fCwZc6AEAr6FM5zAXAEqf xgklsDB05uespz3Ze/lYNgKOG6bY3Q4= =1NSQ -----END PGP SIGNATURE----- --3ksxvmnjsmsf76mt--