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

From: Luca Weiss

Date: Tue Apr 14 2026 - 06:23:15 EST


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.

Regards
Luca