[PATCH 2/6] drm/atomic: Only destroy connector states with connection mutex held

2014-11-19 Thread Daniel Vetter
Otherwise the connector might have been unplugged and destroyed while we didn't look. Yet another fallout from DP MST hotplugging that I didn't consider. To make sure we get this right add an appropriate WARN_ON to drm_atomic_state_clear (obviously only when we actually have a state to clear up).

[Intel-gfx] [PATCH 2/6] drm/atomic: Only destroy connector states with connection mutex held

2014-11-19 Thread Rob Clark
On Wed, Nov 19, 2014 at 12:38 PM, Daniel Vetter wrote: > Otherwise the connector might have been unplugged and destroyed while > we didn't look. Yet another fallout from DP MST hotplugging that I > didn't consider. > > To make sure we get this right add an appropriate WARN_ON to >