From: Vladimir Bely <vlwwwwww@gmail.com>
To: Neil Armstrong <neil.armstrong@linaro.org>,
Jessica Zhang <jesszhan0024@gmail.com>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>
Cc: David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
Michael Srba <Michael.Srba@seznam.cz>,
dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org, Vladimir Bely <vlwwwwww@gmail.com>
Subject: [PATCH 0/3] drm/panel: s6e88a0-ams452ef01: prepare_prev_first, disable, and backlight support
Date: Sun, 29 Nov 2026 03:25:09 +0300 [thread overview]
Message-ID: <20261129002512.993570-1-vlwwwwww@gmail.com> (raw)
This series brings up proper power sequencing, glitch-free blanking, and
AMOLED backlight control ("smart dimming") for the Samsung AMS452EF01
panel with S6E88A0 controller (used on Samsung Galaxy A3 2015 / MSM8916):
- Patch 1 sets prepare_prev_first = true so the DSI host is powered on
before prepare() sends DCS init commands and reads MTP calibration.
- Patch 2 moves MIPI_DCS_SET_DISPLAY_OFF + 35 ms delay into a .disable
callback so the panel blanks while the video stream is still active,
avoiding ~160 ms of noise/stripes on screen blank.
- Patch 3 adds full 62-level smart-dimming backlight support (MTP
calibration read on first prepare, revA/revC gamma generation, AOR and
ELVSS tables, HS DCS updates) and adds `depends on
BACKLIGHT_CLASS_DEVICE` in Kconfig.
Note: on MSM8916, smooth video-mode backlight updates also benefit from
the independent drm/msm/dsi patch skipping dsi_wait4video_eng_busy()
when BLOCK_DMA_WITHIN_FRAME is set:
https://lore.kernel.org/linux-arm-msm/20261129000502.983904-1-vlwwwwww@gmail.com/
(no compile-time or API dependency between the two series).
Tested on Samsung Galaxy A3 (SM-A300F, rev C panel).
Vladimir Bely (3):
drm/panel: s6e88a0-ams452ef01: set prepare_prev_first
drm/panel: s6e88a0-ams452ef01: move display off to disable callback
drm/panel: s6e88a0-ams452ef01: add backlight support
drivers/gpu/drm/panel/Kconfig | 1 +
.../panel/panel-samsung-s6e88a0-ams452ef01.c | 830 +++++++++++++++++-
2 files changed, 829 insertions(+), 2 deletions(-)
base-commit: 5ce32a0c94a827ff44ee60898c28060714dcff75
--
2.43.0
next reply other threads:[~2026-11-29 0:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 0:25 Vladimir Bely [this message]
2026-11-29 0:25 ` [PATCH 1/3] drm/panel: s6e88a0-ams452ef01: set prepare_prev_first Vladimir Bely
2026-11-29 0:25 ` [PATCH 2/3] drm/panel: s6e88a0-ams452ef01: move display off to disable callback Vladimir Bely
2026-11-29 0:25 ` [PATCH 3/3] 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=20261129002512.993570-1-vlwwwwww@gmail.com \
--to=vlwwwwww@gmail.com \
--cc=Michael.Srba@seznam.cz \
--cc=airlied@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=jesszhan0024@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.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®