From: Maxime Ripard <maxime@cerno.tech>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Jonathan Liu <net147@gmail.com>,
Jagan Teki <jagan@amarulasolutions.com>,
Andrzej Hajda <a.hajda@samsung.com>,
Neil Armstrong <narmstrong@baylibre.com>,
Sandy Huang <hjc@rock-chips.com>, Heiko Stubner <heiko@sntech.de>,
Yannick Fertre <yannick.fertre@st.com>,
Philippe Cornu <philippe.cornu@st.com>,
Benjamin Gaignard <benjamin.gaignard@linaro.org>,
Vincent Abriou <vincent.abriou@st.com>,
Jernej Skrabec <jernej.skrabec@siol.net>,
Jonas Karlman <jonas@kwiboo.se>, Sam Ravnborg <sam@ravnborg.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
dri-devel <dri-devel@lists.freedesktop.org>,
linux-amarula <linux-amarula@amarulasolutions.com>
Subject: Re: [PATCH] drm/bridge: dw-mipi-dsi: Move drm_bridge_add into probe
Date: Mon, 28 Jun 2021 12:12:05 +0200 [thread overview]
Message-ID: <20210628101205.bul2iwwljxtd24tb@gilmour> (raw)
In-Reply-To: <YNR/uQrS75s5BILs@pendragon.ideasonboard.com>
[-- Attachment #1: Type: text/plain, Size: 1456 bytes --]
Hi,
On Thu, Jun 24, 2021 at 03:51:05PM +0300, Laurent Pinchart wrote:
> 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.
It looks more like a driver that doesn't free its resources properly on EPROBE_DEFER?
Maxime
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
prev parent reply other threads:[~2021-06-28 10:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-03 9:13 Jagan Teki
2021-02-03 12:05 ` Heiko Stübner
2021-02-15 11:32 ` Laurent Pinchart
2021-02-15 8:09 ` yannick Fertre
2021-02-24 17:01 ` Jagan Teki
2021-06-18 13:10 ` Jonathan Liu
2021-06-24 12:34 ` Jagan Teki
2021-06-24 12:39 ` Jonathan Liu
2021-06-24 12:51 ` Laurent Pinchart
2021-06-28 10:12 ` Maxime Ripard [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210628101205.bul2iwwljxtd24tb@gilmour \
--to=maxime@cerno.tech \
--cc=a.hajda@samsung.com \
--cc=benjamin.gaignard@linaro.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=heiko@sntech.de \
--cc=hjc@rock-chips.com \
--cc=jagan@amarulasolutions.com \
--cc=jernej.skrabec@siol.net \
--cc=jonas@kwiboo.se \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-amarula@amarulasolutions.com \
--cc=linux-kernel@vger.kernel.org \
--cc=narmstrong@baylibre.com \
--cc=net147@gmail.com \
--cc=philippe.cornu@st.com \
--cc=sam@ravnborg.org \
--cc=vincent.abriou@st.com \
--cc=yannick.fertre@st.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®