mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] drm/panel: s6e88a0-ams452ef01: prepare_prev_first, disable, and backlight support
@ 2026-11-29  0:25 Vladimir Bely
  2026-11-29  0:25 ` [PATCH 1/3] drm/panel: s6e88a0-ams452ef01: set prepare_prev_first Vladimir Bely
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Vladimir Bely @ 2026-11-29  0:25 UTC (permalink / raw)
  To: Neil Armstrong, Jessica Zhang, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann
  Cc: David Airlie, Simona Vetter, Michael Srba, dri-devel,
	linux-arm-msm, linux-kernel, Vladimir Bely

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-29  0:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-29  0:25 [PATCH 0/3] drm/panel: s6e88a0-ams452ef01: prepare_prev_first, disable, and backlight support Vladimir Bely
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

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®