From: Andreas Kemnade <andreas@kemnade.info>
To: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ideasonboard.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>,
Sebastian Reichel <sebastian.reichel@collabora.com>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Tony Lindgren <tony@atomide.com>,
Linux-OMAP <linux-omap@vger.kernel.org>,
Marek Vasut <marex@denx.de>,
"H. Nikolaus Schaller" <hns@goldelico.com>,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
Tomi Valkeinen <tomi.valkeinen@ti.com>
Subject: Re: [PATCH v4] drm/omap: dsi: avoid sending bta sync all the time in writes
Date: Tue, 7 Jul 2026 12:22:03 +0200 [thread overview]
Message-ID: <20260707122203.0bbc973e@kemnade.info> (raw)
In-Reply-To: <4cb964d9-524d-40ec-8cd2-d936fff8eb85@gmail.com>
On Tue, 30 Jun 2026 08:42:57 +0300
Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> wrote:
> Hi,
> With this version of the patch I see:
>
> [ 102.760894] DSI: omapdss DSI error: Framedone not received for 250ms!
> [ 303.860321] DSI: omapdss DSI error: Framedone not received for 250ms!
> [ 307.071624] DSI: omapdss DSI error: Framedone not received for 250ms!
> [ 307.360626] DSI: omapdss DSI error: Framedone not received for 250ms!
> [ 307.671142] DSI: omapdss DSI error: Framedone not received for 250ms!
> [ 308.660339] DSI: omapdss DSI error: Framedone not received for 250ms!
> [ 308.961059] DSI: omapdss DSI error: Framedone not received for 250ms!
> [ 313.191314] DSI: omapdss DSI error: Framedone not received for 250ms!
> [ 313.700378] DSI: omapdss DSI error: Failed to set dsi_if_enable to 0
> [ 313.980346] DSI: omapdss DSI error: Framedone not received for 250ms!
> [ 314.791564] DSI: omapdss DSI error: Framedone not received for 250ms!
> [ 315.090362] DSI: omapdss DSI error: Framedone not received for 250ms!
> [ 322.850952] DSI: omapdss DSI error: Framedone not received for 250ms!
> [ 323.111175] DSI: omapdss DSI error: Framedone not received for 250ms!
>
> while scrolling the (hildon)desktop on droid4, so I would say the change
> broke command mode.
>
so let me summarize:
- sending initialisation commands to video mode panel: no problem visible in
any case, theretical problems (not seen with the tested panels if sending too much data, fixed via v4.
- command mode display: no picture and error messages without any bta sync (patch version 1).
- working display with send_nop() replaced by simply sending bta_sync() and not
waiting for PACKET_SENT irq for short packets (v2).
- partly working display (with v4), (always waiting for PACKET_SENT)
so there are some situations when waiting for a packet completition is harmful.
In your case these were only siutations when short packets were sent.
Do you have a more complete log of v4 boott?
In the log for v1 which is not accessible anymore, there were other
more informative timeouts visible.
But maybe as a wild guess also based on Sasikhos AI reviews, maybe
this helps:
diff --git a/drivers/gpu/drm/omapdrm/dss/dsi.c b/drivers/gpu/drm/omapdrm/dss/dsi.c
index 3f22929c36e2..eb3cd0d23cae 100644
--- a/drivers/gpu/drm/omapdrm/dss/dsi.c
+++ b/drivers/gpu/drm/omapdrm/dss/dsi.c
@@ -3267,7 +3267,7 @@ static int dsi_update_channel(struct omap_dss_device *dssdev, int vc)
* updates stop working. This is probably related to DSI spec stating
* that the DSI host should transition to LP at least once per frame.
*/
- r = dsi_vc_send_bta_sync(dssdev, vc);
+ r = dsi_vc_send_bta_sync(dssdev, VC_CMD);
if (r < 0) {
DSSWARN("failed to send bta sync between frames: %d\n", r);
goto err;
Then the call is equal to the original one done via send_nnop.
Regards,
Andreas
next prev parent reply other threads:[~2026-07-07 10:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-29 15:50 [PATCH v4] drm/omap: dsi: avoid sending bta sync all the time in writes Andreas Kemnade
2026-06-30 5:42 ` Ivaylo Dimitrov
2026-07-07 10:22 ` Andreas Kemnade [this message]
2026-07-12 19:07 ` Ivaylo Dimitrov
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=20260707122203.0bbc973e@kemnade.info \
--to=andreas@kemnade.info \
--cc=airlied@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=hns@goldelico.com \
--cc=ivo.g.dimitrov.75@gmail.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=marex@denx.de \
--cc=mripard@kernel.org \
--cc=sebastian.reichel@collabora.com \
--cc=simona@ffwll.ch \
--cc=tomi.valkeinen@ideasonboard.com \
--cc=tomi.valkeinen@ti.com \
--cc=tony@atomide.com \
--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