Skip to content

Commit 2a0ffcd

Browse files
vladimirolteanlumag
authored andcommitted
drm/msm/dp: remove debugging prints with internal struct phy state
These do not provide much value, and will become hard to maintain once the Generic PHY framework starts hiding the contents of struct phy from consumers. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Acked-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Patchwork: https://patchwork.freedesktop.org/patch/714986/ Link: https://lore.kernel.org/r/20260327184706.1600329-16-vladimir.oltean@nxp.com Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
1 parent 7090420 commit 2a0ffcd

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

drivers/gpu/drm/msm/dp/dp_ctrl.c

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1928,9 +1928,6 @@ void msm_dp_ctrl_phy_init(struct msm_dp_ctrl *msm_dp_ctrl)
19281928

19291929
msm_dp_ctrl_phy_reset(ctrl);
19301930
phy_init(phy);
1931-
1932-
drm_dbg_dp(ctrl->drm_dev, "phy=%p init=%d power_on=%d\n",
1933-
phy, phy->init_count, phy->power_count);
19341931
}
19351932

19361933
void msm_dp_ctrl_phy_exit(struct msm_dp_ctrl *msm_dp_ctrl)
@@ -1943,8 +1940,6 @@ void msm_dp_ctrl_phy_exit(struct msm_dp_ctrl *msm_dp_ctrl)
19431940

19441941
msm_dp_ctrl_phy_reset(ctrl);
19451942
phy_exit(phy);
1946-
drm_dbg_dp(ctrl->drm_dev, "phy=%p init=%d power_on=%d\n",
1947-
phy, phy->init_count, phy->power_count);
19481943
}
19491944

19501945
static int msm_dp_ctrl_reinitialize_mainlink(struct msm_dp_ctrl_private *ctrl)
@@ -1996,8 +1991,6 @@ static int msm_dp_ctrl_deinitialize_mainlink(struct msm_dp_ctrl_private *ctrl)
19961991
phy_exit(phy);
19971992
phy_init(phy);
19981993

1999-
drm_dbg_dp(ctrl->drm_dev, "phy=%p init=%d power_on=%d\n",
2000-
phy, phy->init_count, phy->power_count);
20011994
return 0;
20021995
}
20031996

@@ -2588,9 +2581,6 @@ void msm_dp_ctrl_off_link_stream(struct msm_dp_ctrl *msm_dp_ctrl)
25882581
/* aux channel down, reinit phy */
25892582
phy_exit(phy);
25902583
phy_init(phy);
2591-
2592-
drm_dbg_dp(ctrl->drm_dev, "phy=%p init=%d power_on=%d\n",
2593-
phy, phy->init_count, phy->power_count);
25942584
}
25952585

25962586
void msm_dp_ctrl_off_link(struct msm_dp_ctrl *msm_dp_ctrl)
@@ -2606,13 +2596,7 @@ void msm_dp_ctrl_off_link(struct msm_dp_ctrl *msm_dp_ctrl)
26062596
dev_pm_opp_set_rate(ctrl->dev, 0);
26072597
msm_dp_ctrl_link_clk_disable(&ctrl->msm_dp_ctrl);
26082598

2609-
DRM_DEBUG_DP("Before, phy=%p init_count=%d power_on=%d\n",
2610-
phy, phy->init_count, phy->power_count);
2611-
26122599
phy_power_off(phy);
2613-
2614-
DRM_DEBUG_DP("After, phy=%p init_count=%d power_on=%d\n",
2615-
phy, phy->init_count, phy->power_count);
26162600
}
26172601

26182602
void msm_dp_ctrl_off(struct msm_dp_ctrl *msm_dp_ctrl)
@@ -2638,8 +2622,6 @@ void msm_dp_ctrl_off(struct msm_dp_ctrl *msm_dp_ctrl)
26382622
msm_dp_ctrl_link_clk_disable(&ctrl->msm_dp_ctrl);
26392623

26402624
phy_power_off(phy);
2641-
drm_dbg_dp(ctrl->drm_dev, "phy=%p init=%d power_on=%d\n",
2642-
phy, phy->init_count, phy->power_count);
26432625
}
26442626

26452627
irqreturn_t msm_dp_ctrl_isr(struct msm_dp_ctrl *msm_dp_ctrl)

0 commit comments

Comments
 (0)