[RFC PATCH 0/8] drm: State readout for the i.MX8MN display pipeline

Dario Binacchi posted 8 patches 1 day, 20 hours ago
drivers/gpu/drm/bridge/samsung-dsim.c         | 125 +++++-
drivers/gpu/drm/drm_bridge.c                  |  41 ++
drivers/gpu/drm/drm_panel.c                   |  16 +
drivers/gpu/drm/mxsfb/Kconfig                 |   2 +
drivers/gpu/drm/mxsfb/mxsfb_drv.c             |  31 +-
drivers/gpu/drm/mxsfb/mxsfb_kms.c             | 394 +++++++++++++++++-
drivers/gpu/drm/mxsfb/mxsfb_regs.h            |   3 +
.../gpu/drm/panel/panel-synaptics-r63353.c    |  33 +-
include/drm/drm_bridge.h                      |  20 +
include/drm/drm_panel.h                       |  10 +
10 files changed, 642 insertions(+), 33 deletions(-)
[RFC PATCH 0/8] drm: State readout for the i.MX8MN display pipeline
Posted by Dario Binacchi 1 day, 20 hours ago
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 two patches add the hooks a bridge and a panel need to
acquire their resources (runtime PM, regulators) when they are found
enabled. They are a proposal, since the drivers converted so far
didn't need them.

The series is based on [1] and needs [2] to keep the power domains of
the display on.

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

[1] https://lore.kernel.org/r/20261106-drm-state-readout-v8-0-cbe78624e1bc@kernel.org
[2] https://lore.kernel.org/r/20261122095927.2631909-1-dario.binacchi@amarulasolutions.com


Dario Binacchi (8):
  drm/bridge: Add atomic_sro_install_state hook
  drm/panel: Add sro_install hook
  drm/mxsfb: Use the bridge connector
  drm/mxsfb: Switch to drm_mode_config_create_initial_state()
  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         | 125 +++++-
 drivers/gpu/drm/drm_bridge.c                  |  41 ++
 drivers/gpu/drm/drm_panel.c                   |  16 +
 drivers/gpu/drm/mxsfb/Kconfig                 |   2 +
 drivers/gpu/drm/mxsfb/mxsfb_drv.c             |  31 +-
 drivers/gpu/drm/mxsfb/mxsfb_kms.c             | 394 +++++++++++++++++-
 drivers/gpu/drm/mxsfb/mxsfb_regs.h            |   3 +
 .../gpu/drm/panel/panel-synaptics-r63353.c    |  33 +-
 include/drm/drm_bridge.h                      |  20 +
 include/drm/drm_panel.h                       |  10 +
 10 files changed, 642 insertions(+), 33 deletions(-)

---
base-commit: fe97bd8df0365f5aa27ea88b621e3f475bdd544d
branch: drm-sro-rfc

-- 
2.43.0