Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3630521pxv; Mon, 26 Jul 2021 08:19:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylbzhuxK4/UYm4BznZwgk+bFN4vbK5AoKhV59BUqSVntQDWft/s97MSzI3SkgyR571RR8Z X-Received: by 2002:a05:6602:59d:: with SMTP id v29mr15268417iox.132.1627312774626; Mon, 26 Jul 2021 08:19:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627312774; cv=none; d=google.com; s=arc-20160816; b=FVMlRZc1m3GI3IwcQvl1TYEk2i1sjJi6fKVllOH+MKNvNQwJtkOXxB71FvTOXeXByb 9bu3XWvm2XOtOUL0Vo4jeKmpfNnC8gLelm6TxHP6l10vjYAH6C6s8okZ4ucVJA3npH3o 13Yp5oTkvGbGG35JV6MFBE+l9cDXtpIVUeegxumCncNzp8a3qiJ4rHWvISB6Cy5ORI2/ OIbkY3tDwBOl48NcY0VT2peOzcpZNovMbU4CO29XDLSH5qhWG3PeEr7xCM4iOoqI8oFH cowvsk6XendlfOkODdRY8uqoJL/NWfUKVkI93+Pt+GhdEMyDOM+Hznl7w7Y7Kg9TmDxc 6qHg== 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:to:from:date:dkim-signature :dkim-signature; bh=5FIKR14gh2moE93DzqPQOXq535sUfFWvi22VAwD+SLs=; b=qxmlBKtq3vtOLPd/r1/4UO8ue9sIhKrtsyStQr1XxVcnhCy1Z0LB4Vu6XtCZZvD/m8 YAVp8FHznYRcbip6Q2WF85+4ZitZHVoW+EmFhchQU1vvW+tXrgwaqjft7iepCrRc6yC+ a9OOYT5+6RlZ6dMIH/lac4eBxsYEio9FTtBTW+k82aOW8dN2LsG+MLHkvSe/RR1VB/R4 cA6UslCx86SAZU2NkWUaxz87rFoiNvq/e18BAHGom1zDN+sqlkN3x2Jy/pimS1acLT+x KuUrKgOWe9/cS6UaikGUAZYTvAJ1FWr7hRFtNg/TXnzNJK2aLj+imjJtTo5slkuuXzLY jJ4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=sv8qazxx; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=bb11n19q; 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 v19si169188jat.76.2021.07.26.08.19.23; Mon, 26 Jul 2021 08:19:34 -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=sv8qazxx; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=bb11n19q; 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 S234928AbhGZOge (ORCPT + 99 others); Mon, 26 Jul 2021 10:36:34 -0400 Received: from new4-smtp.messagingengine.com ([66.111.4.230]:44045 "EHLO new4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234941AbhGZOgd (ORCPT ); Mon, 26 Jul 2021 10:36:33 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id B268B58036C; Mon, 26 Jul 2021 11:17:01 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 26 Jul 2021 11:17:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=5FIKR14gh2moE93DzqPQOXq535s UfFWvi22VAwD+SLs=; b=sv8qazxxaLdKWfKAGemRIHvpFOtGbjgO2MGap1uolRa prn5pRe4dIS7A8ui1QHi4b7wr8YdlLrivD2HJhHs2SokOfFGQ4iYsXxuqkymi0Vs PIbxrowIAa2vOR/oNlLqaKrr98pZ9QIgv7jHPK1YbIoKao8qD1Ve+bUR/ciR6YkL ut4KSmIEh8v/kX6zkH6/9M38k9CmjWbYD8+GLKxK9SjlQBpXrvKcshjHV2Ku1XyT e5dCnqRUu43Oo67Bw4nciP2/gEAypy030WwL/P3TldPl58bYytrel+GQ4yoK9WIW hCutQXnAX4Wxtwrf3Mv5/ZZz3FHsw/Xasxd82lgptUQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=5FIKR1 4gh2moE93DzqPQOXq535sUfFWvi22VAwD+SLs=; b=bb11n19qzrXboWF6QOiJDF +IA3+jn2mbohYKtk4nZ/CvrgC5VivFgVgtMG2TC7PE1H/MV0Zl5vLW/aszjlibCv FJIHg0L1Pw9YcmxliclMOIxjifiJYS5dQNmgkjoIgxEpvmoIJ3VvZ6kORERafTaI ioPiCGBpY2Q/kMRDhHTJshf8/YEsUyPsg6DCFESvj/k/r8W/WHuR6QfJ+Zuhrt1P +mVzVBTh7r2yfCtsn1jIVLC7YL7Ug84rxV1sGffEMknZcGG7p8/ouN/o1AIu3t6I OZ+vR9vi5ceNDwtZinAfHnOqXsUaWy7EGE/YRT0/JHCONE9EwtRqogubpeOu1GGA == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrgeehgdekiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeelkeeghefhuddtleejgfeljeffheffgfeijefhgfeufefhtdevteegheeiheeg udenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrg igihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 26 Jul 2021 11:16:59 -0400 (EDT) Date: Mon, 26 Jul 2021 17:16:57 +0200 From: Maxime Ripard To: Robert Foss , Andrzej Hajda , Daniel Vetter , David Airlie , Sam Ravnborg , Maarten Lankhorst , Thomas Zimmermann , Neil Armstrong , Jonas Karlman , Jernej Skrabec , Thierry Reding , Laurent Pinchart , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH 04/10] drm/bridge: Document the probe issue with MIPI-DSI bridges Message-ID: <20210726151657.c46qmkdvqfhlg6ox@gilmour> References: <20210720134525.563936-1-maxime@cerno.tech> <20210720134525.563936-5-maxime@cerno.tech> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hsam23b3ijjhsxdu" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --hsam23b3ijjhsxdu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Daniel, On Wed, Jul 21, 2021 at 02:05:01PM +0200, Daniel Vetter wrote: > On Tue, Jul 20, 2021 at 03:45:19PM +0200, Maxime Ripard wrote: > > Interactions between bridges, panels, MIPI-DSI host and the component > > framework are not trivial and can lead to probing issues when > > implementing a display driver. Let's document the various cases we need > > too consider, and the solution to support all the cases. > >=20 > > Signed-off-by: Maxime Ripard >=20 > I still have this dream that eventually we resurrect a patch to add > device_link to bridges/panels (ideally automatically), to help with some > of the suspend/resume issues around here. >=20 > Will this make things worse? >=20 > I think it'd be really good to figure that out with some coding, since if > we have incompatible solution to handle probe issues vs suspend/resume > issues, we're screwed. >=20 > Atm the duct-tape is to carefully move things around between suspend and > suspend_early hooks (and resume and resume_late) and hope it all works ... My initial idea to fix this was indeed to use device links. I gave up after a while since it doesn't look like there's a way to add a device link before either the bridge or encoder probes. Indeed the OF-Graph representation is device-specific, so it can't be generic, and if you need to probe to add that link, well, it's already too late for the probe ordering :) Maxime --hsam23b3ijjhsxdu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCYP7R6QAKCRDj7w1vZxhR xXldAQDXpWLYSTZeJVLCRJiFMIqVRrVtIsCXrhCNBxTWPQk6cAD+Ib0TiICvj6u2 gPWRpxDk3mTXiwDtQAWsfCfelfv/vgQ= =tO9D -----END PGP SIGNATURE----- --hsam23b3ijjhsxdu--