mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/6] drm: State readout for the i.MX8MN display pipeline
@ 2026-12-02 10:38 Dario Binacchi
  2026-12-02 10:38 ` [RFC PATCH v2 1/6] drm/panel: Add sro_enable_resources hook Dario Binacchi
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Dario Binacchi @ 2026-12-02 10:38 UTC (permalink / raw)
  To: Maxime Ripard
  Cc: Valeriy.Yatsenko, simon.holesch, michael, linux-amarula,
	Leonhard Hesse, Màxim Pedraza Padilla, Dario Binacchi,
	Andrzej Hajda, David Airlie, Fabio Estevam, Frank Li, Inki Dae,
	Jagan Teki, Jernej Skrabec, Jessica Zhang, Jonas Karlman,
	Laurent Pinchart, Luca Ceresoli, Maarten Lankhorst,
	Marek Szyprowski, Marek Vasut, Neil Armstrong,
	Pengutronix Kernel Team, Robert Foss, Sascha Hauer,
	Simona Vetter, Stefan Agner, Thomas Zimmermann, dri-devel, imx,
	linux-arm-kernel, linux-kernel

This series implements the hardware state readout [1] for the display
pipeline of the i.MX8MN (LCDIF, Samsung DSIM, Synaptics R63353 panel),
so that the splash screen shown by the bootloader stays on, without a
modeset, until a client draws.

The first patch adds the hook a panel needs to acquire its resources
when it is found enabled, without being reset and initialized again.
It is a proposal for the panel takeover left open by the last patch
of [1].

The series is based on [1] and on the panel fixes [2]. It needs [3]
to keep the power domains of the display on, and a bootloader that
sets up the pipeline as Linux does [4].

Tested on i.MX8MN (BSH SMM S2 PRO).

[1] https://lore.kernel.org/r/20261127-drm-state-readout-v10-0-0259582d45a8@kernel.org
[2] https://lore.kernel.org/r/20261202100443.565075-1-dario.binacchi@amarulasolutions.com
[3] https://lore.kernel.org/r/20261122205136.138173-1-dario.binacchi@amarulasolutions.com
[4] https://lore.kernel.org/r/20261202102716.572884-1-dario.binacchi@amarulasolutions.com

Changes in v2:
- Rename the hook to sro_enable_resources
- Call the hook from the panel bridge install state added by the
  state readout series
- Set the atomic_sro_install_state hook of the mode config helpers
- Use drm_atomic_helper_sro_find_refresh_from_clk() for the mode
  clock
- Use drm_atomic_helper_sro_create_gem_dma_object() for the
  framebuffer read out
- Use drm_atomic_helper_plane_compare_state()
- Update the atomic_sro_install_state hook to its new prototype
- Save the mode read out from the hardware, as no mode_set is run and
  the PLL is configured from it when the bridge is enabled again
- Rename the hook to sro_enable_resources
- Rebase on v10 of the state readout series
- Drop "drm/bridge: Add atomic_sro_install_state hook", part of the
  state readout series
- Drop "drm/mxsfb: Switch to drm_mode_config_create_initial_state()",
  merged in drm-misc-next

Dario Binacchi (6):
  drm/panel: Add sro_enable_resources hook
  drm/mxsfb: Use the bridge connector
  drm/mxsfb: Stop the controller in hw_reset
  drm/mxsfb: Implement hw state readout
  drm/bridge: samsung-dsim: Implement hw state readout
  drm/panel: synaptics-r63353: Support hw state readout

 drivers/gpu/drm/bridge/samsung-dsim.c         | 130 +++++-
 drivers/gpu/drm/drm_panel.c                   |   8 +
 drivers/gpu/drm/mxsfb/Kconfig                 |   2 +
 drivers/gpu/drm/mxsfb/mxsfb_drv.c             |  26 +-
 drivers/gpu/drm/mxsfb/mxsfb_kms.c             | 369 +++++++++++++++++-
 drivers/gpu/drm/mxsfb/mxsfb_regs.h            |   3 +
 .../gpu/drm/panel/panel-synaptics-r63353.c    |  33 +-
 include/drm/drm_panel.h                       |  10 +
 8 files changed, 552 insertions(+), 29 deletions(-)

---
base-commit: d323a163981f3e3b1b8c40bd2aa0c416d0d9c7d8
branch: drm-sro-rfc-v2-send

-- 
2.43.0


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

end of thread, other threads:[~2026-12-02 10:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-02 10:38 [RFC PATCH v2 0/6] drm: State readout for the i.MX8MN display pipeline Dario Binacchi
2026-12-02 10:38 ` [RFC PATCH v2 1/6] drm/panel: Add sro_enable_resources hook Dario Binacchi
2026-12-02 10:38 ` [RFC PATCH v2 2/6] drm/mxsfb: Use the bridge connector Dario Binacchi
2026-12-02 10:38 ` [RFC PATCH v2 3/6] drm/mxsfb: Stop the controller in hw_reset Dario Binacchi
2026-12-02 10:38 ` [RFC PATCH v2 4/6] drm/mxsfb: Implement hw state readout Dario Binacchi
2026-12-02 10:38 ` [RFC PATCH v2 5/6] drm/bridge: samsung-dsim: " Dario Binacchi
2026-12-02 10:38 ` [RFC PATCH v2 6/6] drm/panel: synaptics-r63353: Support " Dario Binacchi

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®