Commit 6cbb55c0 authored by Lyude Paul's avatar Lyude Paul

drm/i915: Don't send hotplug in intel_dp_check_mst_status()

This hotplug also isn't needed: drm_dp_mst_topology_mgr_set_mst()
already sends a hotplug on its own from drm_dp_destroy_connector_work()
after destroying connectors in the MST topology.
Signed-off-by: default avatarLyude Paul <lyude@redhat.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190129191001.442-4-lyude@redhat.com
parent 6be1cf96
...@@ -4614,12 +4614,10 @@ intel_dp_check_mst_status(struct intel_dp *intel_dp) ...@@ -4614,12 +4614,10 @@ intel_dp_check_mst_status(struct intel_dp *intel_dp)
return ret; return ret;
} else { } else {
struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp);
DRM_DEBUG_KMS("failed to get ESI - device may have failed\n"); DRM_DEBUG_KMS("failed to get ESI - device may have failed\n");
intel_dp->is_mst = false; intel_dp->is_mst = false;
drm_dp_mst_topology_mgr_set_mst(&intel_dp->mst_mgr, intel_dp->is_mst); drm_dp_mst_topology_mgr_set_mst(&intel_dp->mst_mgr,
/* send a hotplug event */ intel_dp->is_mst);
drm_kms_helper_hotplug_event(intel_dig_port->base.base.dev);
} }
} }
return -EINVAL; return -EINVAL;
......
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