Re: [PATCH] drm/omap: dsi: avoid sending bta sync all the time in writes
From: Andreas Kemnade
Date: Sun Jun 28 2026 - 13:01:04 EST
On Fri, 29 May 2026 09:26:23 +0300
Ivaylo Dimitrov <ivo.g.dimitrov.75@xxxxxxxxx> wrote:
> Hi,
>
> with the following changes:
>
> user@devuan:/media/user/7b76ddc8-44f5-47b5-af5b-e5e9b5ab39c3/user/linux_openpvrsgx$
> git diff drivers/gpu/drm/omapdrm/dss/dsi.c
> diff --git a/drivers/gpu/drm/omapdrm/dss/dsi.c
> b/drivers/gpu/drm/omapdrm/dss/dsi.c
> index af27339c79f9..8ffcd95c3bc3 100644
> --- a/drivers/gpu/drm/omapdrm/dss/dsi.c
> +++ b/drivers/gpu/drm/omapdrm/dss/dsi.c
> @@ -2199,7 +2199,7 @@ static int dsi_vc_write_common(struct
> omap_dss_device *dssdev, int vc,
> int r;
>
> if (mipi_dsi_packet_format_is_short(msg->type))
> - r = dsi_vc_send_short(dsi, vc, msg);
> + return dsi_vc_send_short(dsi, vc, msg);
> else
> r = dsi_vc_send_long(dsi, vc, msg);
>
> @@ -3247,21 +3247,6 @@ static int _dsi_update(struct dsi_data *dsi)
do you really need the change from above?
I think it should not be needed with the other changes.
Waiting on short packets seems to work here.
Regards,
Andreas