Patch "drm/msm/dp: disable the opp table request even for dp_ctrl_off_link()" has been added to the 6.13-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    drm/msm/dp: disable the opp table request even for dp_ctrl_off_link()

to the 6.13-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-dp-disable-the-opp-table-request-even-for-dp.patch
and it can be found in the queue-6.13 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit aa6a44c6d40caf32e4bb6364c6edb3c7d8640259
Author: Abhinav Kumar <quic_abhinavk@xxxxxxxxxxx>
Date:   Thu Dec 5 20:31:33 2024 -0800

    drm/msm/dp: disable the opp table request even for dp_ctrl_off_link()
    
    [ Upstream commit a3dd01375a6a21ed3e5dbc58f7004d48561f0977 ]
    
    dp_ctrl_off_link() was created to handle a case where we received
    a cable connect and then get a cable disconnect without the corresponding
    dp_display_enable(). For such cases the pixel clock will be off but the
    link clock will still be on. dp_ctrl_off_link() handles this case by
    turning off the link clock only.
    
    However, the vote removal to the opp table for this case was missed.
    Remove the opp table vote in dp_ctrl_off_link().
    
    Fixes: 375a126090b9 ("drm/msm/dp: tear down main link at unplug handle immediately")
    Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
    Patchwork: https://patchwork.freedesktop.org/patch/627487/
    Link: https://lore.kernel.org/r/20241205-dp_mst-v1-2-f8618d42a99a@xxxxxxxxxxx
    Signed-off-by: Abhinav Kumar <quic_abhinavk@xxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/msm/dp/dp_ctrl.c b/drivers/gpu/drm/msm/dp/dp_ctrl.c
index a8069f7c4773f..9c463ae2f8fae 100644
--- a/drivers/gpu/drm/msm/dp/dp_ctrl.c
+++ b/drivers/gpu/drm/msm/dp/dp_ctrl.c
@@ -2070,6 +2070,7 @@ void msm_dp_ctrl_off_link(struct msm_dp_ctrl *msm_dp_ctrl)
 
 	msm_dp_catalog_ctrl_mainlink_ctrl(ctrl->catalog, false);
 
+	dev_pm_opp_set_rate(ctrl->dev, 0);
 	msm_dp_ctrl_link_clk_disable(&ctrl->msm_dp_ctrl);
 
 	DRM_DEBUG_DP("Before, phy=%p init_count=%d power_on=%d\n",




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux