[PATCH] drm/msm/dsi: Replace dsi_get_bpp() with mipi_dsi header function

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Sun Feb 4 17:23:59 UTC 2024


On Sun, 4 Feb 2024 at 18:04, Marijn Suijten
<marijn.suijten at somainline.org> 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 at somainline.org>
> ---
>  drivers/gpu/drm/msm/dsi/dsi_host.c | 18 ++++--------------
>  1 file changed, 4 insertions(+), 14 deletions(-)

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>

-- 
With best wishes
Dmitry


More information about the dri-devel mailing list