]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/msm/dsi/phy: Toggle back buffer resync after preparing PLL
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 10 Jun 2025 14:05:44 +0000 (16:05 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tue, 2 Sep 2025 14:00:57 +0000 (17:00 +0300)
commitb63f008f395ca5f6bc89123db97440bdc19981c4
treef5cc75dbc0f922eb4233250e64f8cccbf266d72a
parent0b37ac63fc9db7779168ad18d7e6e8ab9df6a40b
drm/msm/dsi/phy: Toggle back buffer resync after preparing PLL

According to Hardware Programming Guide for DSI PHY, the retime buffer
resync should be done after PLL clock users (byte_clk and intf_byte_clk)
are enabled.  Downstream also does it as part of configuring the PLL.

Driver was only turning off the resync FIFO buffer, but never bringing it
on again.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/657823/
Link: https://lore.kernel.org/r/20250610-b4-sm8750-display-v6-6-ee633e3ddbff@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
drivers/gpu/drm/msm/dsi/phy/dsi_phy_7nm.c