summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_atomic_helper.c
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2014-11-14 17:12:59 -0500
committerDave Airlie <airlied@redhat.com>2014-11-15 09:30:24 +1000
commitdb88362884b6c78f920c5ad03860295b9a224433 (patch)
tree2010e77b91df7d6d07fca34faa8d29a2bbc37209 /drivers/gpu/drm/drm_atomic_helper.c
parentd7f8db5300d1f50b5631796086dbd4efc5b5d707 (diff)
drm/atomic: rip out unnecessary locking checks
For async commit, it is *intentional* that those locks are not held. Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_atomic_helper.c')
-rw-r--r--drivers/gpu/drm/drm_atomic_helper.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/drivers/gpu/drm/drm_atomic_helper.c
index c0a07cba3aa..fad2b932cf7 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)