From: "Zini, Alessandro" <alessandro.zini@siemens.com>
To: "dmitry.baryshkov@linaro.org" <dmitry.baryshkov@linaro.org>
Cc: "Laurent.pinchart@ideasonboard.com"
<Laurent.pinchart@ideasonboard.com>,
"andrzej.hajda@intel.com" <andrzej.hajda@intel.com>,
"neil.armstrong@linaro.org" <neil.armstrong@linaro.org>,
"simona@ffwll.ch" <simona@ffwll.ch>,
"andrej.picej@norik.com" <andrej.picej@norik.com>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"robh@kernel.org" <robh@kernel.org>,
"rfoss@kernel.org" <rfoss@kernel.org>,
"airlied@gmail.com" <airlied@gmail.com>,
"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
"jonas@kwiboo.se" <jonas@kwiboo.se>,
"jernej.skrabec@gmail.com" <jernej.skrabec@gmail.com>,
"conor+dt@kernel.org" <conor+dt@kernel.org>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>,
"marex@denx.de" <marex@denx.de>
Subject: Re: [PATCH 2/2] drm/bridge: ti-sn65dsi83: add h/vsync-disable support
Date: Tue, 11 Mar 2025 15:27:14 +0000 [thread overview]
Message-ID: <b0f19f77d2db121f7dbc8a3b6091bf114427e839.camel@siemens.com> (raw)
In-Reply-To: <tzrdtqpim2srjl3dihjdyejrwunirq7mbwngyqi3avdtympkjx@2kqsg562fcke>
On Fri, 2025-03-07 at 08:05 +0200, Dmitry Baryshkov wrote:
> On Thu, Mar 06, 2025 at 10:11:33AM +0100, A. Zini wrote:
> > From: Alessandro Zini <alessandro.zini@siemens.com>
> >
> > The h/vsync-disable properties are used to control whether to use or
> > not h/vsync signals, by configuring their pulse width to zero.
> >
> > This is required on some panels which are driven in DE-only mode but do
> > not ignore sync packets, and instead require them to be low-voltage level
> > or ground.
>
> If this is required by 'some panels', then it should be a property of
> the panel, not by the bridge itself.
I got the same, rightful objection also from Rob. I'll answer here to
the both of you with the reasoning behind the submission of this patch.
Actually, I waited for a while before sending this patch, because I
originally had the same opinion. I do still have some difficulties
drawing the line between "this is a panel property" and "this is a
configurable feature of the bridge".
However, I have also prepared a second patch which adds support for
configuring the LVDS near-end termination. Afterward, I found that this
feature has already made its way in recently, so I dropped the patch.
Arguably still, that feature could be seen in the same way as the one
added from this patch, since a panel might require 100 Ohm, while
another 200 Ohm. Likewise, a panel might require h/vsync signals, while
another might require them to be zero/absent.
The TI E2E discussion I have attached to the cover letter of this patch
series eventually made me change my mind. From my point of view, the
discussion implies that avoiding the generation of h/vsync signals is
indeed a (configurable) feature of the bridge, even though not
explicitly documented in its datasheet.
Given the two reasons above, I think this patch would better fit in the
bridge rather than in the panel (which, for context, is driven as a
simple-panel).
> Can the panel return the mode with hsync_end = hsync_start and
> vsync_enc = vsync_start?
I did try to set <h/vsync-len> to zero, which resulted in vsync_end =
vsync_start and hsync_end = hsync_start, while also adjusting the other
blanking properties. I am not sure if this is what you meant.
However, this resulted in an issue along the pipeline, and ultimately
caused drm_atomic_helper_wait_for_vblanks() to timeout.
--
Alessandro
next prev parent reply other threads:[~2025-03-11 15:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-06 9:11 [PATCH 0/2] Introduce h/vsync-disable properties for ti-sn65dsi83 A. Zini
2025-03-06 9:11 ` [PATCH 1/2] dt-bindings: drm/bridge: ti-sn65dsi83: add h/vsync-disable bindings A. Zini
2025-03-07 6:01 ` Dmitry Baryshkov
2025-03-06 9:11 ` [PATCH 2/2] drm/bridge: ti-sn65dsi83: add h/vsync-disable support A. Zini
2025-03-07 6:05 ` Dmitry Baryshkov
2025-03-11 15:27 ` Zini, Alessandro [this message]
2025-03-25 17:51 ` Sverdlin, Alexander
2025-03-07 21:24 ` [PATCH 0/2] Introduce h/vsync-disable properties for ti-sn65dsi83 Rob Herring
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=b0f19f77d2db121f7dbc8a3b6091bf114427e839.camel@siemens.com \
--to=alessandro.zini@siemens.com \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=airlied@gmail.com \
--cc=andrej.picej@norik.com \
--cc=andrzej.hajda@intel.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jernej.skrabec@gmail.com \
--cc=jonas@kwiboo.se \
--cc=krzk+dt@kernel.org \
--cc=marex@denx.de \
--cc=neil.armstrong@linaro.org \
--cc=rfoss@kernel.org \
--cc=robh@kernel.org \
--cc=simona@ffwll.ch \
/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;
as well as URLs for NNTP newsgroup(s).