[PATCH] drm/atomic-helper: Grab connection_mutex while duplicating state

2015-12-01 Thread Maarten Lankhorst
Op 01-12-15 om 00:22 schreef Matt Roper: > Callers of drm_atomic_helper_duplicate_state() may not have grabbed > locks before calling this function. We're not supposed to iterate over > connectors without holding connection_mutex (since MST allows new > connectors to be spawned at hotplug), so

[Intel-gfx] [PATCH] drm/atomic-helper: Grab connection_mutex while duplicating state

2015-12-01 Thread Daniel Vetter
On Mon, Nov 30, 2015 at 03:22:49PM -0800, Matt Roper wrote: > Callers of drm_atomic_helper_duplicate_state() may not have grabbed > locks before calling this function. We're not supposed to iterate over > connectors without holding connection_mutex (since MST allows new > connectors to be spawned

[PATCH] drm/atomic-helper: Grab connection_mutex while duplicating state

2015-11-30 Thread Matt Roper
Callers of drm_atomic_helper_duplicate_state() may not have grabbed locks before calling this function. We're not supposed to iterate over connectors without holding connection_mutex (since MST allows new connectors to be spawned at hotplug), so make sure we grab that ourselves before invoking