Re: [PATCH] drm/msm/dsi: fix hdisplay calculation when programming dsi registers

From: Dmitry Baryshkov

Date: Tue Feb 24 2026 - 02:25:49 EST


On Sat, 14 Feb 2026 18:51:28 +0800, Pengyu Luo wrote:
> Recently, the hdisplay calculation is working for 3:1 compressed ratio
> only. If we have a video panel with DSC BPP = 8, and BPC = 10, we still
> use the default bits_per_pclk = 24, then we get the wrong hdisplay. We
> can draw the conclusion by cross-comparing the calculation with the
> calculation in dsi_adjust_pclk_for_compression().
>
> Since CMD mode does not use this, we can remove
> !(msm_host->mode_flags & MIPI_DSI_MODE_VIDEO) safely.
>
> [...]

Applied to msm-fixes, thanks!

[1/1] drm/msm/dsi: fix hdisplay calculation when programming dsi registers
https://gitlab.freedesktop.org/lumag/msm/-/commit/ac47870fd795

Best regards,
--
With best wishes
Dmitry