All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] drm/i915/dp: Fix DP MST error after unplugging TypeC cable
@ 2019-09-24 22:37 srinivasan.s
  2019-09-24 23:20 ` ✗ Fi.CI.BUILD: failure for drm/i915/dp: Fix DP MST error after unplugging TypeC cable (rev2) Patchwork
  0 siblings, 1 reply; 2+ messages in thread
From: srinivasan.s @ 2019-09-24 22:37 UTC (permalink / raw)
  To: intel-gfx, jani.nikula, manasi.d.navare, ville.syrjala,
	lakshminarayana.vudum, dri-devel

From: Srinivasan S <srinivasan.s@intel.com>

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=111632
Signed-off-by: Srinivasan S <srinivasan.s@intel.com>
---
 drivers/gpu/drm/i915/display/intel_dp_mst.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_dp_mst.c b/drivers/gpu/drm/i915/display/intel_dp_mst.c
index 5b2278fdf675..497a6ae0d2c0 100644
--- a/drivers/gpu/drm/i915/display/intel_dp_mst.c
+++ b/drivers/gpu/drm/i915/display/intel_dp_mst.c
@@ -215,12 +215,7 @@ static void intel_mst_disable_dp(struct intel_encoder *encoder,
 
 	ret = drm_dp_update_payload_part1(&intel_dp->mst_mgr);
 	if (ret) {
-		if (!connector ||
-		    connector->base.status != connector_status_connected) {
-			DRM_WARN("DP MST disconnect\n");
-		} else {
-			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)
 		intel_audio_codec_disable(encoder,
-- 
2.7.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* ✗ Fi.CI.BUILD: failure for drm/i915/dp: Fix DP MST error after unplugging TypeC cable (rev2)
  2019-09-24 22:37 [PATCH v2] drm/i915/dp: Fix DP MST error after unplugging TypeC cable srinivasan.s
@ 2019-09-24 23:20 ` Patchwork
  0 siblings, 0 replies; 2+ messages in thread
From: Patchwork @ 2019-09-24 23:20 UTC (permalink / raw)
  To: srinivasan.s; +Cc: intel-gfx

== Series Details ==

Series: drm/i915/dp: Fix DP MST error after unplugging TypeC cable (rev2)
URL   : https://patchwork.freedesktop.org/series/66837/
State : failure

== Summary ==

Applying: drm/i915/dp: Fix DP MST error after unplugging TypeC cable
Using index info to reconstruct a base tree...
M	drivers/gpu/drm/i915/display/intel_dp_mst.c
Falling back to patching base and 3-way merge...
Auto-merging drivers/gpu/drm/i915/display/intel_dp_mst.c
CONFLICT (content): Merge conflict in drivers/gpu/drm/i915/display/intel_dp_mst.c
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch' to see the failed patch
Patch failed at 0001 drm/i915/dp: Fix DP MST error after unplugging TypeC cable
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-24 23:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-24 22:37 [PATCH v2] drm/i915/dp: Fix DP MST error after unplugging TypeC cable srinivasan.s
2019-09-24 23:20 ` ✗ Fi.CI.BUILD: failure for drm/i915/dp: Fix DP MST error after unplugging TypeC cable (rev2) Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.