Skip to content

Commit 52352fe

Browse files
Kuogee Hsiehrobclark
Kuogee Hsieh
authored andcommitted
drm/msm/dp: use dp_ctrl_off_link_stream during PHY compliance test run
DP cable should always connect to DPU during the entire PHY compliance testing run. Since DP PHY compliance test is executed at irq_hpd event context, dp_ctrl_off_link_stream() should be used instead of dp_ctrl_off(). dp_ctrl_off() is used for unplug event which is triggered when DP cable is dis connected. Changes in V2: -- add fixes statement Fixes: f21c8a2 ("drm/msm/dp: handle irq_hpd with sink_count = 0 correctly") Signed-off-by: Kuogee Hsieh <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Clark <[email protected]>
1 parent 6977cc8 commit 52352fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1529,7 +1529,7 @@ static int dp_ctrl_process_phy_test_request(struct dp_ctrl_private *ctrl)
15291529
* running. Add the global reset just before disabling the
15301530
* link clocks and core clocks.
15311531
*/
1532-
ret = dp_ctrl_off(&ctrl->dp_ctrl);
1532+
ret = dp_ctrl_off_link_stream(&ctrl->dp_ctrl);
15331533
if (ret) {
15341534
DRM_ERROR("failed to disable DP controller\n");
15351535
return ret;

0 commit comments

Comments
 (0)