Re: [PATCH 1/5] drm/mipi-dsi: add multi-message batch transfer support
From: Dmitry Baryshkov
Date: Sun Dec 06 2026 - 05:28:14 EST
On Sun, Nov 29, 2026 at 04:00:22PM +0300, Vladimir Bely wrote:
> Add an optional .transfer_batch() callback to struct mipi_dsi_host_ops
> and a mipi_dsi_dcs_write_batch() helper (analogous to i2c_transfer() and
> spi_sync_transfer()) so panel drivers can submit a sequence of DCS
> commands together.
>
> When a DSI host implements .transfer_batch(), its hardware can pack
> multiple command packets into a single DMA transfer and transmit them
> atomically within one blanking interval. Hosts that do not implement
> .transfer_batch() fall back transparently to sequential .transfer()
> calls.
>
> Signed-off-by: Vladimir Bely <vlwwwwww@xxxxxxxxx>
> ---
> drivers/gpu/drm/drm_mipi_dsi.c | 98 ++++++++++++++++++++++++++++++++++
> include/drm/drm_mipi_dsi.h | 21 ++++++++
> 2 files changed, 119 insertions(+)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
--
With best wishes
Dmitry