Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Vladimir Oltean and committed by
Dmitry Baryshkov
2a0ffcd5 70904204

-18
-18
drivers/gpu/drm/msm/dp/dp_ctrl.c
··· 1928 1928 1929 1929 msm_dp_ctrl_phy_reset(ctrl); 1930 1930 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); 1934 1931 } 1935 1932 1936 1933 void msm_dp_ctrl_phy_exit(struct msm_dp_ctrl *msm_dp_ctrl) ··· 1940 1943 1941 1944 msm_dp_ctrl_phy_reset(ctrl); 1942 1945 phy_exit(phy); 1943 - drm_dbg_dp(ctrl->drm_dev, "phy=%p init=%d power_on=%d\n", 1944 - phy, phy->init_count, phy->power_count); 1945 1946 } 1946 1947 1947 1948 static int msm_dp_ctrl_reinitialize_mainlink(struct msm_dp_ctrl_private *ctrl) ··· 1991 1996 phy_exit(phy); 1992 1997 phy_init(phy); 1993 1998 1994 - drm_dbg_dp(ctrl->drm_dev, "phy=%p init=%d power_on=%d\n", 1995 - phy, phy->init_count, phy->power_count); 1996 1999 return 0; 1997 2000 } 1998 2001 ··· 2581 2588 /* aux channel down, reinit phy */ 2582 2589 phy_exit(phy); 2583 2590 phy_init(phy); 2584 - 2585 - drm_dbg_dp(ctrl->drm_dev, "phy=%p init=%d power_on=%d\n", 2586 - phy, phy->init_count, phy->power_count); 2587 2591 } 2588 2592 2589 2593 void msm_dp_ctrl_off_link(struct msm_dp_ctrl *msm_dp_ctrl) ··· 2596 2606 dev_pm_opp_set_rate(ctrl->dev, 0); 2597 2607 msm_dp_ctrl_link_clk_disable(&ctrl->msm_dp_ctrl); 2598 2608 2599 - DRM_DEBUG_DP("Before, phy=%p init_count=%d power_on=%d\n", 2600 - phy, phy->init_count, phy->power_count); 2601 - 2602 2609 phy_power_off(phy); 2603 - 2604 - DRM_DEBUG_DP("After, phy=%p init_count=%d power_on=%d\n", 2605 - phy, phy->init_count, phy->power_count); 2606 2610 } 2607 2611 2608 2612 void msm_dp_ctrl_off(struct msm_dp_ctrl *msm_dp_ctrl) ··· 2622 2638 msm_dp_ctrl_link_clk_disable(&ctrl->msm_dp_ctrl); 2623 2639 2624 2640 phy_power_off(phy); 2625 - drm_dbg_dp(ctrl->drm_dev, "phy=%p init=%d power_on=%d\n", 2626 - phy, phy->init_count, phy->power_count); 2627 2641 } 2628 2642 2629 2643 irqreturn_t msm_dp_ctrl_isr(struct msm_dp_ctrl *msm_dp_ctrl)