This is a note to let you know that I've just added the patch titled drm/msm/dsi: Enable runtime PM to the 5.15-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: drm-msm-dsi-enable-runtime-pm.patch and it can be found in the queue-5.15 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From stable+bounces-17406-greg=kroah.com@xxxxxxxxxxxxxxx Tue Jan 30 13:59:32 2024 From: Amit Pundir <amit.pundir@xxxxxxxxxx> Date: Tue, 30 Jan 2024 18:28:47 +0530 Subject: drm/msm/dsi: Enable runtime PM To: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>, Sasha Levin <sashal@xxxxxxxxxx>, Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>, Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>, Douglas Anderson <dianders@xxxxxxxxxxxx> Cc: Stable <stable@xxxxxxxxxxxxxxx> Message-ID: <20240130125847.3915432-3-amit.pundir@xxxxxxxxxx> From: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx> [ Upstream commit 6ab502bc1cf3147ea1d8540d04b83a7a4cb6d1f1 ] Some devices power the DSI PHY/PLL through a power rail that we model as a GENPD. Enable runtime PM to make it suspendable. Change-Id: I70b04b7fbf75ccf508ab2dcbe393dbb2be6e4eaa Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> Patchwork: https://patchwork.freedesktop.org/patch/543352/ Link: https://lore.kernel.org/r/20230620-topic-dsiphy_rpm-v2-2-a11a751f34f0@xxxxxxxxxx Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> Stable-dep-of: 3d07a411b4fa ("drm/msm/dsi: Use pm_runtime_resume_and_get to prevent refcnt leaks") Signed-off-by: Amit Pundir <amit.pundir@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 4 ++++ 1 file changed, 4 insertions(+) --- a/drivers/gpu/drm/msm/dsi/phy/dsi_phy.c +++ b/drivers/gpu/drm/msm/dsi/phy/dsi_phy.c @@ -752,6 +752,10 @@ static int dsi_phy_driver_probe(struct p goto fail; } + ret = devm_pm_runtime_enable(&pdev->dev); + if (ret) + return ret; + /* PLL init will call into clk_register which requires * register access, so we need to enable power and ahb clock. */ Patches currently in stable-queue which might be from kroah.com@xxxxxxxxxxxxxxx are queue-5.15/btrfs-refresh-dir-last-index-during-a-rewinddir-3-call.patch queue-5.15/btrfs-set-last-dir-index-to-the-current-last-index-when-opening-dir.patch queue-5.15/ksmbd-set-v2-lease-version-on-lease-upgrade.patch queue-5.15/drm-msm-dsi-enable-runtime-pm.patch queue-5.15/ksmbd-add-missing-set_freezable-for-freezable-kthread.patch queue-5.15/btrfs-fix-infinite-directory-reads.patch queue-5.15/ksmbd-don-t-increment-epoch-if-current-state-and-request-state-are-same.patch queue-5.15/pm-runtime-have-devm_pm_runtime_enable-handle-pm_runtime_dont_use_autosuspend.patch queue-5.15/ksmbd-send-lease-break-notification-on-file_rename_information.patch queue-5.15/ksmbd-fix-potential-circular-locking-issue-in-smb2_set_ea.patch queue-5.15/btrfs-fix-race-between-reading-a-directory-and-adding-entries-to-it.patch