[PATCH] drm/atomic: rip out unnecessary locking
Rob Clark
robdclark at gmail.com
Fri Nov 14 14:11:16 PST 2014
For async commit, it is *intentional* that those locks are not held.
Daniel Vetter <daniel.vetter at ffwll.ch>
Signed-off-by: Rob Clark <robdclark at gmail.com>
---
drivers/gpu/drm/drm_atomic_helper.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/drivers/gpu/drm/drm_atomic_helper.c
index c0a07cb..fad2b93 100644
--- a/drivers/gpu/drm/drm_atomic_helper.c
+++ b/drivers/gpu/drm/drm_atomic_helper.c
@@ -1006,8 +1006,6 @@ void drm_atomic_helper_commit_planes(struct drm_device *dev,
if (!crtc)
continue;
- WARN_ON(!drm_modeset_is_locked(&crtc->mutex));
-
funcs = crtc->helper_private;
if (!funcs || !funcs->atomic_begin)
@@ -1023,8 +1021,6 @@ void drm_atomic_helper_commit_planes(struct drm_device *dev,
if (!plane)
continue;
- WARN_ON(!drm_modeset_is_locked(&plane->mutex));
-
funcs = plane->helper_private;
if (!funcs || !funcs->atomic_update)
--
1.9.3
More information about the dri-devel
mailing list