mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Emanuele Ghidoli <ghidoliemanuele@gmail.com>
To: Doug Anderson <dianders@chromium.org>
Cc: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>,
	Andrzej Hajda <andrzej.hajda@intel.com>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Robert Foss <rfoss@kernel.org>,
	Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
	Jonas Karlman <jonas@kwiboo.se>,
	Jernej Skrabec <jernej.skrabec@gmail.com>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
	Jayesh Choudhary <j-choudhary@ti.com>,
	dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1] drm/bridge: ti-sn65dsi86: Transition to LP mode on every video line
Date: Tue, 16 Sep 2025 17:28:49 +0200	[thread overview]
Message-ID: <6e886700-24a8-4127-9324-7245b6cbf6b7@gmail.com> (raw)
In-Reply-To: <CAD=FV=Uftrv=x6CuG7edLCSAi16Kv=ka7qxPViuLM=BEG8pC3Q@mail.gmail.com>



On 16/09/2025 16:45, Doug Anderson wrote:
> Hi,
> 
> On Tue, Sep 16, 2025 at 7:22 AM Emanuele Ghidoli
> <ghidoliemanuele@gmail.com> wrote:
>>
>> From: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
>>
>> The component datasheet recommends, to reduce power consumption,
>> transitioning to LP mode on every video line.
>>
>> Enable the MIPI_DSI_MODE_VIDEO_NO_HFP and MIPI_DSI_MODE_VIDEO_NO_HBP
>> flags so that the bridge can enter LP mode during the horizontal front
>> porch and back porch periods.
>>
>> Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
>> ---
>> Cc: Douglas Anderson <dianders@chromium.org>
>> Cc: Andrzej Hajda <andrzej.hajda@intel.com>
>> Cc: Neil Armstrong <neil.armstrong@linaro.org>
>> Cc: Robert Foss <rfoss@kernel.org>
>> Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
>> Cc: Jonas Karlman <jonas@kwiboo.se>
>> Cc: Jernej Skrabec <jernej.skrabec@gmail.com>
>> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
>> Cc: Maxime Ripard <mripard@kernel.org>
>> Cc: Thomas Zimmermann <tzimmermann@suse.de>
>> Cc: David Airlie <airlied@gmail.com>
>> Cc: Simona Vetter <simona@ffwll.ch>
>> Cc: Jayesh Choudhary <j-choudhary@ti.com>
>> Cc: <dri-devel@lists.freedesktop.org>
>> Cc: <linux-kernel@vger.kernel.org>
>> ---
>>  drivers/gpu/drm/bridge/ti-sn65dsi86.c | 3 ++-
>>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> I put this on a sc7180-trogdor based Chromebook and the display no
> longer comes up. I don't personally know the MIPI side of the spec too
> well so I have no idea why that would be.
> 
> -Doug

Hi Doug,
thanks for the test.
According to the datasheet, LP is recommended for the front porch and optional
for the back porch.
Could you please run another test by keeping only MIPI_DSI_MODE_VIDEO_NO_HFP
and removing MIPI_DSI_MODE_VIDEO_NO_HBP?

dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_NO_HFP;

Kind regards,
Emanuele






  reply	other threads:[~2025-09-16 15:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-16 14:20 Emanuele Ghidoli
2025-09-16 14:45 ` Doug Anderson
2025-09-16 15:28   ` Emanuele Ghidoli [this message]
2025-09-17 14:38     ` Doug Anderson

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=6e886700-24a8-4127-9324-7245b6cbf6b7@gmail.com \
    --to=ghidoliemanuele@gmail.com \
    --cc=Laurent.pinchart@ideasonboard.com \
    --cc=airlied@gmail.com \
    --cc=andrzej.hajda@intel.com \
    --cc=dianders@chromium.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=emanuele.ghidoli@toradex.com \
    --cc=j-choudhary@ti.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=jonas@kwiboo.se \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=rfoss@kernel.org \
    --cc=simona@ffwll.ch \
    --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 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®