From: Vladimir Bely <vlwwwwww@gmail.com>
To: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
Neil Armstrong <neil.armstrong@linaro.org>,
Rob Clark <robin.clark@oss.qualcomm.com>,
Dmitry Baryshkov <lumag@kernel.org>
Cc: David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
Abhinav Kumar <abhinav.kumar@linux.dev>,
Jessica Zhang <jesszhan0024@gmail.com>,
Sean Paul <sean@poorly.run>,
Marijn Suijten <marijn.suijten@somainline.org>,
Stephan Gerhold <stephan@gerhold.net>,
Michael Srba <Michael.Srba@seznam.cz>,
dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org,
freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org,
Vladimir Bely <vlwwwwww@gmail.com>
Subject: [PATCH 0/5] drm: mipi-dsi/msm/panel: add DSI batch transfer and s6e88a0-ams452ef01 backlight
Date: Sun, 29 Nov 2026 16:00:21 +0300 [thread overview]
Message-ID: <20261129130026.581466-1-vlwwwwww@gmail.com> (raw)
This series adds multi-message batch transfer support to MIPI DSI and
drm/msm/dsi, together with its first user: Samsung AMS452EF01 (S6E88A0)
AMOLED backlight support.
On video-mode DSI hosts that must synchronize command transfers with
blanking (such as Qualcomm DSI 6G < v2.1 without hardware DMA line
scheduling), each separate mipi_dsi_host_ops.transfer() call waits for a
full frame cycle (~33 ms at 60 Hz). Panels whose runtime brightness
updates require multiple DCS commands (e.g., Samsung S6E88A0 sending
test-key, AOR, ELVSS, gamma, latch, and test-key-off = 6 packets, 80
bytes total) consequently take ~200-230 ms per brightness step (~4.5
updates/sec), making slider drags and wake fade-in animations visibly
choppy and spreading AOR/ELVSS/gamma writes across multiple frames.
Qualcomm's DSI CMD DMA engine natively supports chaining multiple
packets in one DMA buffer by setting BIT(7) ("Last packet") only on the
last packet. This series exposes that capability cleanly via an
optional .transfer_batch() host op and mipi_dsi_dcs_write_batch()
(falling back to sequential .transfer() calls on all other hosts),
implements multi-packet CMD DMA in drm/msm/dsi, and uses it in
panel-samsung-s6e88a0-ams452ef01.
Patches 3-5 supersede the earlier standalone panel series [1] so the new
mipi_dsi_dcs_write_batch() helper is submitted together with its first
in-tree caller:
- Patches 3-4 are unchanged from [1].
- Patch 5 replaces the 6 separate mipi_dsi_dcs_write_*_multi() calls in
s6e88a0_ams452ef01_bl_update_status() with a single
mipi_dsi_dcs_write_batch() call.
Tested on Samsung Galaxy A3 (SM-A300F, MSM8916, DSI 6G v1.3, rev C
AMS452EF01 panel): 20 consecutive brightness updates complete in 705 ms
(35 ms/update, ~6x faster than ~200 ms) with zero DSI/MDP errors and
smooth slider and wake fade transitions.
[1] https://lore.kernel.org/linux-arm-msm/20261129002512.993570-1-vlwwwwww@gmail.com/
Stephan Gerhold (1):
drm/panel: s6e88a0-ams452ef01: set prepare_prev_first
Vladimir Bely (4):
drm/mipi-dsi: add multi-message batch transfer support
drm/msm/dsi: implement transfer_batch using multi-packet CMD DMA
drm/panel: s6e88a0-ams452ef01: move display off to disable callback
drm/panel: s6e88a0-ams452ef01: add backlight support
drivers/gpu/drm/drm_mipi_dsi.c | 98 +++
drivers/gpu/drm/msm/dsi/dsi.h | 4 +
drivers/gpu/drm/msm/dsi/dsi_host.c | 187 +++-
drivers/gpu/drm/msm/dsi/dsi_manager.c | 40 +
drivers/gpu/drm/panel/Kconfig | 1 +
.../panel/panel-samsung-s6e88a0-ams452ef01.c | 833 +++++++++++++++++-
include/drm/drm_mipi_dsi.h | 21 +
7 files changed, 1165 insertions(+), 19 deletions(-)
base-commit: 5ce32a0c94a827ff44ee60898c28060714dcff75
--
2.43.0
next reply other threads:[~2026-11-29 13:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 13:00 Vladimir Bely [this message]
2026-11-29 13:00 ` [PATCH 1/5] drm/mipi-dsi: add multi-message batch transfer support Vladimir Bely
2026-11-29 13:00 ` [PATCH 2/5] drm/msm/dsi: implement transfer_batch using multi-packet CMD DMA Vladimir Bely
2026-11-29 13:00 ` [PATCH 3/5] drm/panel: s6e88a0-ams452ef01: set prepare_prev_first Vladimir Bely
2026-11-29 13:00 ` [PATCH 4/5] drm/panel: s6e88a0-ams452ef01: move display off to disable callback Vladimir Bely
2026-11-29 13:00 ` [PATCH 5/5] drm/panel: s6e88a0-ams452ef01: add backlight support Vladimir Bely
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=20261129130026.581466-1-vlwwwwww@gmail.com \
--to=vlwwwwww@gmail.com \
--cc=Michael.Srba@seznam.cz \
--cc=abhinav.kumar@linux.dev \
--cc=airlied@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=jesszhan0024@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lumag@kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=marijn.suijten@somainline.org \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=robin.clark@oss.qualcomm.com \
--cc=sean@poorly.run \
--cc=simona@ffwll.ch \
--cc=stephan@gerhold.net \
--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®