diff options
author | Kuogee Hsieh <khsieh@codeaurora.org> | 2020-11-03 12:49:00 -0800 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2020-11-10 12:39:31 -0800 |
commit | 231a04fcc6cb5b0e5f72c015d36462a17355f925 (patch) | |
tree | e26b47fae6b6e305a12ed98ee0dc7e84c999cfa7 /drivers/gpu/drm/msm/hdmi/hdmi_pll_8960.c | |
parent | 62671d2ef24bca1e2e1709a59a5bfb5c423cdc8e (diff) |
drm/msm/dp: deinitialize mainlink if link training failed
DP compo phy have to be enable to start link training. When
link training failed phy need to be disabled so that next
link traning can be proceed smoothly at next plug in. This
patch de-initialize mainlink to disable phy if link training
failed. This prevent system crash due to
disp_cc_mdss_dp_link_intf_clk stuck at "off" state. This patch
also perform checking power_on flag at dp_display_enable() and
dp_display_disable() to avoid crashing when unplug cable while
display is off.
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/hdmi/hdmi_pll_8960.c')
0 files changed, 0 insertions, 0 deletions