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>
This commit is contained in:
Rob Clark 2014-11-14 17:12:59 -05:00 committed by Dave Airlie
parent d7f8db5300
commit db88362884

View file

@ -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)