diff options
author | Rob Clark <robdclark@gmail.com> | 2014-11-14 22:12:59 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-11-14 23:30:24 (GMT) |
commit | db88362884b6c78f920c5ad03860295b9a224433 (patch) | |
tree | 2010e77b91df7d6d07fca34faa8d29a2bbc37209 /drivers | |
parent | d7f8db5300d1f50b5631796086dbd4efc5b5d707 (diff) | |
download | linux-db88362884b6c78f920c5ad03860295b9a224433.tar.xz |
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')
-rw-r--r-- | drivers/gpu/drm/drm_atomic_helper.c | 4 |
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 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) |