mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] drm/panel: Convert nt37705 and rm69220 prepare() to _multi()
@ 2026-12-03  5:10 Hsieh Hung-En
  2026-12-03  5:10 ` [PATCH 1/3] drm/panel: novatek-nt37705: Fix prepare error cleanup Hsieh Hung-En
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Hsieh Hung-En @ 2026-12-03  5:10 UTC (permalink / raw)
  To: neil.armstrong, jesszhan0024, dianders, akoskovich, luca.weiss
  Cc: dmitry.baryshkov, maarten.lankhorst, mripard, tzimmermann,
	airlied, simona, dri-devel, linux-kernel, Hsieh Hung-En

Both the Novatek NT37705 and Raydium RM69220 panel drivers already use
the mipi_dsi_*_multi() helpers in their *_on() and *_off() routines,
but still use the non-_multi DSC helpers in prepare(). This series
fixes a prepare() error cleanup bug in NT37705 and finishes converting
the remaining prepare() DSC setup sequence in both drivers:

- Patch 1 fixes nt37705_prepare() so that failures in
  mipi_dsi_picture_parameter_set() or mipi_dsi_compression_mode()
  assert reset_gpio and disable the regulators instead of leaking
  their enable counts.
- Patch 2 converts the DSC setup sequence in nt37705_prepare() to
  mipi_dsi_picture_parameter_set_multi(),
  mipi_dsi_compression_mode_multi(), and mipi_dsi_msleep().
- Patch 3 applies the same conversion to raydium_rm69220_prepare().

The existing *_on() helpers already use their own
mipi_dsi_multi_context and are left untouched to keep the diffs
minimal.

Compile-tested on arm64 with W=1, building each patch individually;
not tested on hardware.

Hsieh Hung-En (3):
  drm/panel: novatek-nt37705: Fix prepare error cleanup
  drm/panel: novatek-nt37705: Use mipi_dsi_*_multi() in prepare()
  drm/panel: raydium-rm69220: Use mipi_dsi_*_multi() in prepare()

 drivers/gpu/drm/panel/panel-novatek-nt37705.c | 29 +++++++++----------
 drivers/gpu/drm/panel/panel-raydium-rm69220.c | 18 ++++--------
 2 files changed, 19 insertions(+), 28 deletions(-)


base-commit: d7248c50b2b09f2680071b0b6d02ce9c2a569f5f
-- 
2.43.0


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

end of thread, other threads:[~2026-12-03  9:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-03  5:10 [PATCH 0/3] drm/panel: Convert nt37705 and rm69220 prepare() to _multi() Hsieh Hung-En
2026-12-03  5:10 ` [PATCH 1/3] drm/panel: novatek-nt37705: Fix prepare error cleanup Hsieh Hung-En
2026-12-03  9:32   ` neil.armstrong
2026-12-03  5:10 ` [PATCH 2/3] drm/panel: novatek-nt37705: Use mipi_dsi_*_multi() in prepare() Hsieh Hung-En
2026-12-03  9:33   ` neil.armstrong
2026-12-03  5:10 ` [PATCH 3/3] drm/panel: raydium-rm69220: " Hsieh Hung-En
2026-12-03  9:34   ` neil.armstrong

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®