On Sun, 4 Feb 2024 at 18:04, Marijn Suijten <marijn.suijten@xxxxxxxxxxxxxx> wrote: > > drm_mipi_dsi.h already provides a conversion function from MIPI_DSI_FMT_ > to bpp, named mipi_dsi_pixel_format_to_bpp(). > > Signed-off-by: Marijn Suijten <marijn.suijten@xxxxxxxxxxxxxx> > --- > drivers/gpu/drm/msm/dsi/dsi_host.c | 18 ++++-------------- > 1 file changed, 4 insertions(+), 14 deletions(-) Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> -- With best wishes Dmitry