Re: [PATCH RFC 1/7] drm/mipi-dsi: wrap more functions for streamline handling

2024-05-10 Thread Dmitry Baryshkov
On Fri, May 10, 2024 at 02:45:45PM -0700, Doug Anderson wrote: > Hi, > > On Thu, May 9, 2024 at 3:37 PM Dmitry Baryshkov > wrote: > > > > +/** > > + * mipi_dsi_compression_mode_ext() - enable/disable DSC on the peripheral > > + * @ctx: Context for multiple DSI transactions > > + * @enable: Whethe

Re: [PATCH RFC 1/7] drm/mipi-dsi: wrap more functions for streamline handling

2024-05-10 Thread Doug Anderson
Hi, On Thu, May 9, 2024 at 3:37 PM Dmitry Baryshkov wrote: > > +/** > + * mipi_dsi_compression_mode_ext() - enable/disable DSC on the peripheral > + * @ctx: Context for multiple DSI transactions > + * @enable: Whether to enable or disable the DSC > + * @algo: Selected compression algorithm > + *

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

2024-05-09 Thread Dmitry Baryshkov
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_ds