Message ID | 20240512-dsi-panels-upd-api-v2-0-e31ca14d102e@linaro.org (mailing list archive) |
---|---|
Headers | show |
Series | drm/mipi-dsi: simplify MIPI DSI init/cleanup even more | expand |
Hi, On Sun, 12 May 2024 02:00:17 +0300, Dmitry Baryshkov wrote: > 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. > > [...] Thanks, Applied to https://gitlab.freedesktop.org/drm/misc/kernel.git (drm-misc-next) [1/7] drm/panel: lg-sw43408: add missing error handling https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/51f9183e4af8c7f00e81180cbb9ee4a98a0f0aa1 [2/7] drm/mipi-dsi: wrap more functions for streamline handling https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/f79d6d28d8fe77b14beeaebe5393d9f294f8d09d [3/7] drm/panel: boe-tv101wum-nl6: use wrapped MIPI DCS functions https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/91329f921283b995ac125a0c6e61be0c1399f66f [4/7] drm/panel: ilitek-ili9882t: use wrapped MIPI DCS functions https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/510ba36e86eeb3ca89326dd51da32806e1ede693 [5/7] drm/panel: innolux-p079zca: use mipi_dsi_dcs_nop_multi() https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/0f43988fb9c1c0a0c2f5ccf2d1bdb914f6e4e79b [6/7] drm/panel: novatek-nt36672e: use wrapped MIPI DCS functions https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/67ba7a82d99a8a8b4bcc1b8124b5640c63dd51bf [7/7] drm/panel: lg-sw43408: use new streamlined MIPI DSI API https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/85cb9d603953d77de5cb311d229a79c439ff6bfb
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/ - https://lore.kernel.org/dri-devel/20240511021326.288728-1-yangcong5@huaqin.corp-partner.google.com/ Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> --- Changes in v2: - Rebased on top of Cong's series - Fixed mipi_dsi_compression_mode_ext_multi() docs (Doug) - Added do/while(0) wrapping to mipi_dsi_msleep() macro (Doug) - Inlined boe_panel_enter_sleep_mode(), ili9882t_enter_sleep_mode() (Doug) - Dropped error prints around nt36672e_on() and nt36672e_off() (Doug) - Link to v1: https://lore.kernel.org/r/20240510-dsi-panels-upd-api-v1-0-317c78a0dcc8@linaro.org --- Dmitry Baryshkov (7): drm/panel: lg-sw43408: add missing error handling 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: use new streamlined MIPI DSI API drivers/gpu/drm/drm_mipi_dsi.c | 210 +++++++++ drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 81 +--- drivers/gpu/drm/panel/panel-ilitek-ili9882t.c | 48 +- 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 | 597 ++++++++++++------------- include/drm/drm_mipi_dsi.h | 21 + 7 files changed, 583 insertions(+), 457 deletions(-) --- base-commit: 7dd7a948b03724e4c63271bd96830059bc62a1ef change-id: 20240510-dsi-panels-upd-api-479adb2b0e01 Best regards,