drm/panel: Convert nt37705 and rm69220 prepare() to _multi()
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 0 repliesNew
- v13 patches 3 repliesSuperseded
Changes in v2 from the cover letter
- Patch 1: Collect Reviewed-by from Neil Armstrong.
- Patches 2-3: Return early when dsi_ctx.accum_err is clear and fall through to the err label on failure, as suggested by Neil Armstrong.
- Link to v1: https://lore.kernel.org/r/[email protected]
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | drm/panel: novatek-nt37705: Fix prepare error cleanupdrivers/ | +8 | 0 replies | |
| 2/3 | drm/panel: novatek-nt37705: Use mipi_dsi_*_multi() in prepare()drivers/ | +7 | 0 replies | |
| 3/3 | drm/panel: raydium-rm69220: Use mipi_dsi_*_multi() in prepare()drivers/ | +7 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Neil Armstrong |
|---|---|
| 1/3 | R-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] drm/panel: Convert nt37705 and rm69220 prepare() to _multi()
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.
Changes in v2:
- Patch 1: Collect Reviewed-by from Neil Armstrong.
- Patches 2-3: Return early when dsi_ctx.accum_err is clear and fall through to the err label on failure, as suggested by Neil Armstrong.
- Link to v1: https://lore.kernel.org/r/[email protected]
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 | 28 ++++++++----------- drivers/gpu/drm/panel/panel-raydium-rm69220.c | 21 +++++--------- 2 files changed, 19 insertions(+), 30 deletions(-)
base-commit: d7248c50b2b09f2680071b0b6d02ce9c2a569f5f
Signature · 1 line
2.43.0