]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/msm/dp: disable the opp table request even for dp_ctrl_off_link()
authorAbhinav Kumar <quic_abhinavk@quicinc.com>
Fri, 6 Dec 2024 04:31:33 +0000 (20:31 -0800)
committerAbhinav Kumar <quic_abhinavk@quicinc.com>
Thu, 12 Dec 2024 19:33:28 +0000 (11:33 -0800)
commita3dd01375a6a21ed3e5dbc58f7004d48561f0977
tree40791aebc5a1bcb2203f7c856c55341d79f3d074
parent50e608d166ba68faacf81a5ce17c09b0c697eefd
drm/msm/dp: disable the opp table request even for dp_ctrl_off_link()

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@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/627487/
Link: https://lore.kernel.org/r/20241205-dp_mst-v1-2-f8618d42a99a@quicinc.com
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
drivers/gpu/drm/msm/dp/dp_ctrl.c