This series converts the feiyang-fy07024di26a30d and raydium-rm68200
panel drivers from the deprecated MIPI DSI helpers to their _multi
variants, as suggested in Documentation/gpu/todo.rst.
Patch 1 converts feiyang. As in commit 00efe8a68565 ("drm/panel:
ronbo-rb070d30: Ignore DCS errors in disable()"), disable() now always
returns 0 so that a failed SET_DISPLAY_OFF cannot leave panel->enabled
stale.
Patch 2 converts the deprecated calls in rm68200's prepare() and
unprepare(), preserving the existing error handling.
Patch 3 converts the rm68200 initialization sequence and shares the
multi-context with prepare(). This changes the error handling: a failed
initialization command now stops subsequent DCS transfers and makes
prepare() fail, whereas previously the error was only logged and
prepare() could still report success.
Doug, do you think this fail-fast behavior is appropriate here, or
would you prefer to preserve the existing best-effort initialization?
This series modifies the prepare(), unprepare(), enable(), and disable()
callbacks and the initialization sequence. It is independent of Osama
Abdelkader's "drm/panel: Use managed helpers in DSI panels" v7, which
modifies probe() and remove() in both drivers.
Compile-tested on arm64 with both panels enabled and W=1.
Neither panel was tested on hardware.
Hsieh Hung-En (3):
drm/panel: feiyang-fy07024di26a30d: Use mipi_dsi_*_multi() functions
drm/panel: raydium-rm68200: Use mipi_dsi_*_multi() functions
drm/panel: raydium-rm68200: Use multi-context helpers for init
sequence
.../drm/panel/panel-feiyang-fy07024di26a30d.c | 35 +--
drivers/gpu/drm/panel/panel-raydium-rm68200.c | 211 ++++++++----------
2 files changed, 112 insertions(+), 134 deletions(-)
base-commit: 91f52e99824b0beebb48cad51bbda81437af8664
--
2.43.0