[PATCH v2 2/7] drm/mipi-dsi: wrap more functions for streamline handling

Doug Anderson dianders at chromium.org
Mon May 13 16:49:51 UTC 2024


Hi,

On Sat, May 11, 2024 at 4:00 PM Dmitry Baryshkov
<dmitry.baryshkov at linaro.org> wrote:
>
> Follow the pattern of mipi_dsi_dcs_*_multi() and wrap several existing
> MIPI DSI functions to use the context for processing. This simplifies
> and streamlines driver code to use simpler code pattern.
>
> Note, msleep function is also wrapped in this way as it is frequently
> called inbetween other mipi_dsi_dcs_*() functions.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> ---
>  drivers/gpu/drm/drm_mipi_dsi.c | 210 +++++++++++++++++++++++++++++++++++++++++
>  include/drm/drm_mipi_dsi.h     |  21 +++++
>  2 files changed, 231 insertions(+)

Reviewed-by: Douglas Anderson <dianders at chromium.org>


More information about the dri-devel mailing list