[PATCH RFC 0/7] drm/mipi-dsi: simplify MIPI DSI init/cleanup even more

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Thu May 9 22:37:33 UTC 2024


Follow the example of mipi_dsi_generic_write_multi(),
mipi_dsi_dcs_write_buffer_multi(), mipi_dsi_generic_write_seq_multi()
and mipi_dsi_dcs_write_seq_multi(). Define _multi variants for several
other common MIPI DSI functions and use these functions in the panel
code.

This series also includes a fix for the LG SW43408. If the proposed
approach is declined, the fix will be submitted separately.

Depends: https://lore.kernel.org/dri-devel/20240508205222.2251854-1-dianders@chromium.org/

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
---
Dmitry Baryshkov (7):
      drm/mipi-dsi: wrap more functions for streamline handling
      drm/panel: boe-tv101wum-nl6: use wrapped MIPI DCS functions
      drm/panel: ilitek-ili9882t: use wrapped MIPI DCS functions
      drm/panel: innolux-p079zca: use mipi_dsi_dcs_nop_multi()
      drm/panel: novatek-nt36672e: use wrapped MIPI DCS functions
      drm/panel: lg-sw43408: add missing error handling
      drm/panel: lg-sw43408: use new streamlined MIPI DSI API

 drivers/gpu/drm/drm_mipi_dsi.c                 | 209 +++++++++
 drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c |  73 +--
 drivers/gpu/drm/panel/panel-ilitek-ili9882t.c  |  30 +-
 drivers/gpu/drm/panel/panel-innolux-p079zca.c  |   9 +-
 drivers/gpu/drm/panel/panel-lg-sw43408.c       |  74 ++--
 drivers/gpu/drm/panel/panel-novatek-nt36672e.c | 587 ++++++++++++-------------
 include/drm/drm_mipi_dsi.h                     |  19 +
 7 files changed, 578 insertions(+), 423 deletions(-)
---
base-commit: c09cb909a4fba9c42baa343bb9a84986c15d5f01
change-id: 20240510-dsi-panels-upd-api-479adb2b0e01

Best regards,
-- 
Dmitry Baryshkov <dmitry.baryshkov at linaro.org>



More information about the dri-devel mailing list