Re: [PATCH 1/2] drm/msm/dsi: fix bits_per_pclk

From: Dmitry Baryshkov

Date: Tue Apr 14 2026 - 14:11:28 EST


On Tue, Apr 14, 2026 at 12:13:45PM +0200, Luca Weiss wrote:
> Hi all,
>
> On Fri Mar 27, 2026 at 8:47 PM CET, Dmitry Baryshkov wrote:
> > On Sat, 07 Mar 2026 19:12:48 +0800, Pengyu Luo wrote:
> >> mipi_dsi_pixel_format_to_bpp return dst bpp not src bpp, dst bpp may
> >> not be the uncompressed data size. use src bpc * 3 to get src bpp,
> >> this aligns with pclk rate calculation.
> >
> > Applied to msm-next, thanks!
> >
> > [1/2] drm/msm/dsi: fix bits_per_pclk
> > https://gitlab.freedesktop.org/lumag/msm/-/commit/2d51cfb77daa
> > [2/2] drm/msm/dsi: fix hdisplay calculation for CMD mode panel
> > https://gitlab.freedesktop.org/lumag/msm/-/commit/82159db4371f
>
> Just wanna document this somewhere, 7.0 is quite broken on QCM6490
> Fairphone 5 (8-bit cmd mode panel).
>
> Picking these two patches plus "drm/msm/dpu: don't try using 2 LMs if
> only one DSC is available" on top of 7.0 makes display work again.

Yep. It was a bit too late for 7.0, so the plan (and hope) is for them
to be picked up into 7.0-stable.

--
With best wishes
Dmitry