]> Gentwo Git Trees - linux/.git/commit
drm: Add MIPI read_multi func and two write macros
authorBrigham Campbell <me@brighamcampbell.com>
Thu, 31 Jul 2025 03:23:42 +0000 (21:23 -0600)
committerDouglas Anderson <dianders@chromium.org>
Thu, 14 Aug 2025 22:42:26 +0000 (15:42 -0700)
commitffc23a204a5f2e763a8cc8a8cfefe0027a6f0ec3
tree771a763ae2853affd8b12b10307e219354944d37
parent0070851095d2954567510777976e40275f81ca1b
drm: Add MIPI read_multi func and two write macros

Create mipi_dsi_dcs_read_multi(), which accepts a mipi_dsi_multi_context
struct for improved error handling and cleaner panel driver code.

Create mipi_dsi_dcs_write_var_seq_multi() and
mipi_dsi_generic_write_var_seq_multi() macros which allow MIPI panel
drivers to write non-constant data to display controllers.

Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Brigham Campbell <me@brighamcampbell.com>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20250731032343.1258366-3-me@brighamcampbell.com
drivers/gpu/drm/drm_mipi_dsi.c
include/drm/drm_mipi_dsi.h