From: "Michael Walle" <mwalle@kernel.org>
To: "Marek Vasut" <marex@denx.de>,
"Alexander Stein" <alexander.stein@ew.tq-group.com>,
<dri-devel@lists.freedesktop.org>
Cc: "Adam Ford" <aford173@gmail.com>,
"Andrzej Hajda" <andrzej.hajda@intel.com>,
"Daniel Vetter" <daniel@ffwll.ch>,
"David Airlie" <airlied@gmail.com>,
"Frieder Schrempf" <frieder.schrempf@kontron.de>,
"Inki Dae" <inki.dae@samsung.com>,
"Jagan Teki" <jagan@amarulasolutions.com>,
"Jernej Skrabec" <jernej.skrabec@gmail.com>,
"Jonas Karlman" <jonas@kwiboo.se>,
"Laurent Pinchart" <Laurent.pinchart@ideasonboard.com>,
"Lucas Stach" <l.stach@pengutronix.de>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Marek Szyprowski" <m.szyprowski@samsung.com>,
"Maxime Ripard" <mripard@kernel.org>,
"Neil Armstrong" <neil.armstrong@linaro.org>,
"Robert Foss" <rfoss@kernel.org>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
<kernel@dh-electronics.com>
Subject: Re: [PATCH v2 1/2] drm: bridge: samsung-dsim: Initialize bridge on attach
Date: Tue, 16 Jul 2024 21:50:58 +0200 [thread overview]
Message-ID: <D2R83VFPUWE3.3MBX3LQOCDFWA@kernel.org> (raw)
In-Reply-To: <bb151c91-128a-4734-b1a5-a91a1dea5e30@denx.de>
> >>>> Thank you for testing and keeping up with this. I will wait for more
> >>>> feedback if there is any (Frieder? Lucas? Michael?). If there are no
> >>>> objections, then I can merge it in a week or two ?
> >>>
> >>> I'll try to use your approach on the tc358775. Hopefully, I'll find
> >>> some time this week.
> >>
> >> So ... I wonder ... shall I apply these patches or not ?
> >
> > As mentioned on IRC, I tried it to port it for the mediatek DSI
> > host, but I gave up and got doubts that this is the way to go. I
> > think this is too invasive (in a sense that it changes behavior)
>
> I would argue it makes the behavior well defined. If that breaks some
> drivers that depended on the undefined behavior before, those should be
> fixed too.
Then this behavior should be documented (and accepted) in the
corresponding section:
https://docs.kernel.org/gpu/drm-kms-helpers.html#mipi-dsi-bridge-operation
This will help DSI host driver developers and we can point all the
host DSI driver maintainers to that document along with the proper
implementation :)
> > and not that easy to implement on other drivers.
>
> How so ? At least the DSIM and STM32 DW DSI host can switch lanes to
> LP11 state. Is the mediatek host not capable of that ?
The controller is certainly capable to do that. But the changes
seems pretty invasive to me and I fear some fallout. Although it's
basically just one line for the DSIM, you seem to be moving the init
of the DSIM to an earlier point(?). I'm no expert with all the DRM
stuff, so I might be wrong here.
> > Given that this requirement is far more common across DSI bridges,
> > I'd favor a more general solution which isn't a workaround.
>
> I think we only had a look at the TI DSI83 / ICN6211 / Toshiba TC358767
> bridges, but we did not look at many panels, did we ? Do panels require
> lanes in non-LP11 state on start up ?
I'm not talking about panels, just bridges. It's not just one bridge
with a weird behavior but most bridges.
> Was there any progress on the generic LP11 solution, I think you did
> mention something was in progress ? How would that even look like ?
I had a new callback implemented:
https://lore.kernel.org/r/20240506-tc358775-fix-powerup-v1-1-545dcf00b8dd@kernel.org/
Not sure if that's any better though.
-michael
next prev parent reply other threads:[~2024-07-16 19:51 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-25 12:26 [PATCH v2 1/2] drm: bridge: samsung-dsim: Initialize bridge on attach Marek Vasut
2024-06-25 12:26 ` [PATCH v2 2/2] drm/bridge: tc358767: Reset chip again " Marek Vasut
2024-06-25 14:37 ` [PATCH v2 1/2] drm: bridge: samsung-dsim: Initialize bridge " Alexander Stein
2024-06-26 3:21 ` Marek Vasut
2024-06-26 8:02 ` Michael Walle
2024-07-11 15:38 ` Marek Vasut
2024-07-11 15:57 ` Marek Szyprowski
2024-07-16 18:43 ` Marek Vasut
2024-07-12 7:16 ` Michael Walle
2024-07-16 18:47 ` Marek Vasut
2024-07-16 19:50 ` Michael Walle [this message]
2024-07-17 1:00 ` Marek Vasut
2024-08-01 8:32 ` Alexander Stein
2024-08-05 13:53 ` Michael Walle
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=D2R83VFPUWE3.3MBX3LQOCDFWA@kernel.org \
--to=mwalle@kernel.org \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=aford173@gmail.com \
--cc=airlied@gmail.com \
--cc=alexander.stein@ew.tq-group.com \
--cc=andrzej.hajda@intel.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=frieder.schrempf@kontron.de \
--cc=inki.dae@samsung.com \
--cc=jagan@amarulasolutions.com \
--cc=jernej.skrabec@gmail.com \
--cc=jonas@kwiboo.se \
--cc=kernel@dh-electronics.com \
--cc=l.stach@pengutronix.de \
--cc=m.szyprowski@samsung.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=marex@denx.de \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=rfoss@kernel.org \
--cc=tzimmermann@suse.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.