Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp185974pxv; Thu, 24 Jun 2021 05:52:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSJBgT0uhb/i9bbYbgvsKeeQvQKiUK9GgaKI83MrMlUWq6aWU0J35rTjjthC2WIzWJsP5l X-Received: by 2002:aa7:da96:: with SMTP id q22mr7076928eds.307.1624539175789; Thu, 24 Jun 2021 05:52:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624539175; cv=none; d=google.com; s=arc-20160816; b=Lksuc53Cugbhgrxr+fn60+pKLR2WTX3KD0h24iYhDb0rUX90kbnaN+3C/CPj2BydHp 6g3h/p2xu5SjGdeShlvshqyfHggWhtPBUVOHLGmvi8yIg88VYjFxkc87i8lU77HO4389 q40HzpXeYplsLmLv1tpscYN/cWV69pZg8P6iDC69FQ8VZ9lAFZXh/qKkOerniwTDB908 zPJyJj22+W1fnSJwAqrpJZNVXt+eJt+NkT+N3Vy1msqrAxGQV/8BvSHIwmNA5ELDDsVw yYj2xFQ7gL+mwJLCl/oiLiJvlzvAaKKWLMVnpUvIcUL6YDBxtHxVrZivyf71QRelOxGr jNYw== 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; bh=rbU2Rl95RD0yvSDY+UD6A3fHLJHb+SPeq7cwJs3WjOQ=; b=tAYYEDRGS2BO7Zb6vtmbedqtxAyyR97DA0oeCmwQbTmVaYXY2S7btkSv6VTKvcldpR jjG3CCAm3AN4vjnbatwlIwEXoSJYv7J+ZYQBxdEoLMDHB2+7pcS3SmqL1ICLNW7nVUVs +ydnXP6vikURSJpOTxkoaoTyxIj/6C5UEuGu4neTO6/igHbVNGbydSEU34/9NZ8jRzsR cBwpHNqb7cqA3l7XmOKXWm6iQYucxgQ3Kd4GSuNsZnv4KF/lyfSe//fTEMnUSaTR0HOC iPj3ymsVY1/dLbbUBpaj5I1J/8FCFdDnCYnk5SjKzUrxPTXTUKHPk3bTXtA498f8YpXH kNZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Ku9nJvuU; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n4si2718343edv.536.2021.06.24.05.52.32; Thu, 24 Jun 2021 05:52:55 -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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=Ku9nJvuU; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231735AbhFXMx4 (ORCPT + 99 others); Thu, 24 Jun 2021 08:53:56 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:41890 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230028AbhFXMxz (ORCPT ); Thu, 24 Jun 2021 08:53:55 -0400 Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 7EA40501; Thu, 24 Jun 2021 14:51:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1624539095; bh=FyM+hUpA+ywRvZffMmTR6lQUvy56qO0lVXxmkkg6Xew=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ku9nJvuUoGHtfvBSCPhZUnzsdZa9u8aUgOKXavhhvXazoNEHeJUmF+XnBUufyEyDw 1VHzjJ+WKBohebiGedt87kbvxgGtmC9Ks0TSZ0H3ZF7iuIwMiv1vnU+XO21x8VHK+M SbVH2U84hYAwshMTNJ4e+pgpSJ5ks/Bcldv3ZRVk= Date: Thu, 24 Jun 2021 15:51:05 +0300 From: Laurent Pinchart To: Jonathan Liu Cc: Jagan Teki , Andrzej Hajda , Neil Armstrong , Sandy Huang , Heiko Stubner , Yannick Fertre , Philippe Cornu , Benjamin Gaignard , Vincent Abriou , Jernej Skrabec , Jonas Karlman , Sam Ravnborg , linux-kernel , dri-devel , linux-amarula , Maxime Ripard Subject: Re: [PATCH] drm/bridge: dw-mipi-dsi: Move drm_bridge_add into probe Message-ID: References: <20210203091306.140518-1-jagan@amarulasolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CC'ing Maxime Ripard. Maxime, is this similar to the issue we've recently discussed with the VC4 DSI encoder ? On Thu, Jun 24, 2021 at 10:39:48PM +1000, Jonathan Liu wrote: > On Thu, 24 Jun 2021 at 22:34, Jagan Teki wrote: > > On Fri, Jun 18, 2021 at 6:40 PM Jonathan Liu wrote: > > > On Wed, 3 Feb 2021 at 09:13, Jagan Teki wrote: > > > > @@ -1167,6 +1151,20 @@ __dw_mipi_dsi_probe(struct platform_device *pdev, > > > > dw_mipi_dsi_debugfs_init(dsi); > > > > pm_runtime_enable(dev); > > > > > > > > + ret = drm_of_find_panel_or_bridge(dev->of_node, 1, 0, > > > > + &panel, &bridge); > > > > + if (ret) > > > > + return ERR_PTR(ret); > > > > > > On RK3399 if the error is EPROBE_DEFER, __dw_mipi_dsi_probe can be > > > called again and result in the following errors: > > > [ 0.717589] debugfs: Directory 'ff960000.mipi' with parent '/' already present! > > > [ 0.717601] dw-mipi-dsi-rockchip ff960000.mipi: failed to create debugfs root > > > [ 0.717606] dw-mipi-dsi-rockchip ff960000.mipi: Unbalanced pm_runtime_enable! > > > > Is this when you test bridge on rk3399 or panel? > > MIPI-DSI to LVDS bridge. -- Regards, Laurent Pinchart