[PATCH] drm/i915: Fix race condition in intel_dp_destroy_mst_connector()

2016-03-17 Thread Daniel Vetter
On Wed, Mar 16, 2016 at 09:39:49PM +0200, Ville Syrjälä wrote: > On Wed, Mar 16, 2016 at 03:18:04PM -0400, Lyude wrote: > > After unplugging a DP MST display from the system, we have to go through > > and destroy all of the DRM connectors associated with it since none of > > them are valid

[PATCH] drm/i915: Fix race condition in intel_dp_destroy_mst_connector()

2016-03-16 Thread Ville Syrjälä
On Wed, Mar 16, 2016 at 03:44:37PM -0400, Lyude Paul wrote: > On Wed, 2016-03-16 at 21:39 +0200, Ville Syrjälä wrote: > > On Wed, Mar 16, 2016 at 03:18:04PM -0400, Lyude wrote: > > > > > > After unplugging a DP MST display from the system, we have to go through > > > and destroy all of the DRM

[PATCH] drm/i915: Fix race condition in intel_dp_destroy_mst_connector()

2016-03-16 Thread Ville Syrjälä
On Wed, Mar 16, 2016 at 03:18:04PM -0400, Lyude wrote: > After unplugging a DP MST display from the system, we have to go through > and destroy all of the DRM connectors associated with it since none of > them are valid anymore. Unfortunately, intel_dp_destroy_mst_connector() > doesn't do a good

[PATCH] drm/i915: Fix race condition in intel_dp_destroy_mst_connector()

2016-03-16 Thread Lyude Paul
On Wed, 2016-03-16 at 21:39 +0200, Ville Syrjälä wrote: > On Wed, Mar 16, 2016 at 03:18:04PM -0400, Lyude wrote: > > > > After unplugging a DP MST display from the system, we have to go through > > and destroy all of the DRM connectors associated with it since none of > > them are valid

[PATCH] drm/i915: Fix race condition in intel_dp_destroy_mst_connector()

2016-03-16 Thread Lyude
After unplugging a DP MST display from the system, we have to go through and destroy all of the DRM connectors associated with it since none of them are valid anymore. Unfortunately, intel_dp_destroy_mst_connector() doesn't do a good enough job of ensuring that throughout the destruction process