Re: [PATCH] drm/mipi-dsi: Introduce macros to create mipi_dsi_*_multi functions

2024-07-22 Thread Doug Anderson
Hi, On Fri, Jul 19, 2024 at 10:19 PM Tejas Vipin wrote: > > On 7/19/24 10:29 PM, Doug Anderson wrote: > > Hi, > > > > On Wed, Jul 17, 2024 at 3:07 AM Dmitry Baryshkov > > wrote: > >> > However it might be better to go other way arround. > Do we want for all the drivers to migrate to _m

Re: [PATCH] drm/mipi-dsi: Introduce macros to create mipi_dsi_*_multi functions

2024-07-19 Thread Tejas Vipin
On 7/19/24 10:29 PM, Doug Anderson wrote: > Hi, > > On Wed, Jul 17, 2024 at 3:07 AM Dmitry Baryshkov > wrote: >> However it might be better to go other way arround. Do we want for all the drivers to migrate to _multi()-kind of API? If so, what about renaming the multi and non-mu

Re: [PATCH] drm/mipi-dsi: Introduce macros to create mipi_dsi_*_multi functions

2024-07-19 Thread Doug Anderson
Hi, On Wed, Jul 17, 2024 at 3:07 AM Dmitry Baryshkov wrote: > > > > However it might be better to go other way arround. > > > Do we want for all the drivers to migrate to _multi()-kind of API? If > > > so, what about renaming the multi and non-multi functions accordingly > > > and making the old

Re: [PATCH] drm/mipi-dsi: Introduce macros to create mipi_dsi_*_multi functions

2024-07-17 Thread Dmitry Baryshkov
On Wed, 17 Jul 2024 at 12:58, Tejas Vipin wrote: > > > > On 7/16/24 10:31 PM, Dmitry Baryshkov wrote: > > On Tue, Jul 16, 2024 at 07:01:17PM GMT, Tejas Vipin wrote: > >> Introduce 2 new macros, DSI_CTX_NO_OP and MIPI_DSI_ADD_MULTI_VARIANT. > >> > >> DSI_CTX_NO_OP calls a function only if the conte

Re: [PATCH] drm/mipi-dsi: Introduce macros to create mipi_dsi_*_multi functions

2024-07-17 Thread Tejas Vipin
On 7/16/24 10:31 PM, Dmitry Baryshkov wrote: > On Tue, Jul 16, 2024 at 07:01:17PM GMT, Tejas Vipin wrote: >> Introduce 2 new macros, DSI_CTX_NO_OP and MIPI_DSI_ADD_MULTI_VARIANT. >> >> DSI_CTX_NO_OP calls a function only if the context passed to it hasn't >> encountered any errors. It is a gener

Re: [PATCH] drm/mipi-dsi: Introduce macros to create mipi_dsi_*_multi functions

2024-07-16 Thread Dmitry Baryshkov
On Tue, Jul 16, 2024 at 07:01:17PM GMT, Tejas Vipin wrote: > Introduce 2 new macros, DSI_CTX_NO_OP and MIPI_DSI_ADD_MULTI_VARIANT. > > DSI_CTX_NO_OP calls a function only if the context passed to it hasn't > encountered any errors. It is a generic form of what mipi_dsi_msleep > does. > > MIPI_DSI

[PATCH] drm/mipi-dsi: Introduce macros to create mipi_dsi_*_multi functions

2024-07-16 Thread Tejas Vipin
Introduce 2 new macros, DSI_CTX_NO_OP and MIPI_DSI_ADD_MULTI_VARIANT. DSI_CTX_NO_OP calls a function only if the context passed to it hasn't encountered any errors. It is a generic form of what mipi_dsi_msleep does. MIPI_DSI_ADD_MULTI_VARIANT defines a multi style function of any mipi_dsi functio