Skip to contentSkip to conversation

drm/atomic: Remove WARN_ON from drm_atomic_state_default_clear.

PATCH Maarten Lankhorst 1 participant 1 message Jul 30, 2015

Subsystems (2)
lore
Share & tools
lore

Maarten Lankhorst

author maintainer
#0 lore raw

This may cause a failure when atomic_free is called asynchronously.

---

drivers/gpu/drm/drm_atomic.c +0 -2
index 3efd91c0c6cb..d719ce0b10a0 100644
@@ -153,8 +153,6 @@ void drm_atomic_state_default_clear(struct drm_atomic_state *state)
 		if (!connector)
 			continue;
 
-		WARN_ON(!drm_modeset_is_locked(&config->connection_mutex));
-
 		connector->funcs->atomic_destroy_state(connector,
 						       state->connector_states[i]);
 		state->connectors[i] = NULL;

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel