Re: [PATCH] drm/msm/dsi: Fix setting completely bogus rate for byte clock
From: Krzysztof Kozlowski
Date: Thu Sep 03 2026 - 07:22:14 EST
On 03/09/2026 12:47, Krzysztof Kozlowski wrote:
> Revert commit 6cd33b6f4155 ("drm/msm/dsi: round 6G byte clock rate to
> the PLL-achievable value") because it is absolutely untested on newer
> hardware and obviously wrong: it rounds the byte clock when the byte
> clock is not parented properly, so the rounded rate (used later to
> actually set byte clock rate) is 19.2 MHz.
>
> This broke DSI display on Eliza and probably SM8750, Kaanapali and many
> other new devices:
>
> [ 3.164727] dsi_link_clk_set_rate_6g: Failed to set rate pixel clk, -22
> [ 3.164729] msm_dsi_host_power_on: failed to enable link clocks. ret=-22
> [ 3.164733] dsi_mgr_bridge_power_on: power on host 0 failed, -22
> [ 3.164760] msm_dsi ae94000.dsi: Power on failed: -22
>
> Fixes: 6cd33b6f4155 ("drm/msm/dsi: round 6G byte clock rate to the PLL-achievable value")
> Cc: stable@xxxxxxxxxxxxxxx
Actually this was pointed out to me, so:
Reported-by: Abel Vesa <abel.vesa@xxxxxxxxxxxxxxxx>
Best regards,
Krzysztof