Commit 99785b86 authored by Srinivasan S's avatar Srinivasan S Committed by Ville Syrjälä

drm/i915/dp: Fix DP MST error after unplugging TypeC cable

This patch avoids DP MST payload error message in dmesg, as it is trying
to update the payload to the disconnected DP MST device. After DP MST
device is disconnected we should not be updating the payload and
hence remove the error.

v2: Removed the connector status check and converted from error to debug.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111632Signed-off-by: default avatarSrinivasan S <srinivasan.s@intel.com>
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1569371742-109402-1-git-send-email-srinivasan.s@intel.com
parent f8db4d05
...@@ -215,7 +215,7 @@ static void intel_mst_disable_dp(struct intel_encoder *encoder, ...@@ -215,7 +215,7 @@ static void intel_mst_disable_dp(struct intel_encoder *encoder,
ret = drm_dp_update_payload_part1(&intel_dp->mst_mgr); ret = drm_dp_update_payload_part1(&intel_dp->mst_mgr);
if (ret) { if (ret) {
DRM_ERROR("failed to update payload %d\n", ret); DRM_DEBUG_KMS("failed to update payload %d\n", ret);
} }
if (old_crtc_state->has_audio) if (old_crtc_state->has_audio)
intel_audio_codec_disable(encoder, intel_audio_codec_disable(encoder,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment