Lines Matching refs:drm_modeset_lock
272 struct drm_modeset_lock *lock; in drm_modeset_drop_locks()
275 struct drm_modeset_lock, head); in drm_modeset_drop_locks()
282 static inline int modeset_lock(struct drm_modeset_lock *lock, in modeset_lock()
340 struct drm_modeset_lock *contended = ctx->contended; in drm_modeset_backoff()
358 void drm_modeset_lock_init(struct drm_modeset_lock *lock) in drm_modeset_lock_init()
383 int drm_modeset_lock(struct drm_modeset_lock *lock, in drm_modeset_lock() function
392 EXPORT_SYMBOL(drm_modeset_lock);
403 int drm_modeset_lock_single_interruptible(struct drm_modeset_lock *lock) in drm_modeset_lock_single_interruptible()
413 void drm_modeset_unlock(struct drm_modeset_lock *lock) in drm_modeset_unlock()
448 ret = drm_modeset_lock(&dev->mode_config.connection_mutex, ctx); in drm_modeset_lock_all_ctx()
453 ret = drm_modeset_lock(&crtc->mutex, ctx); in drm_modeset_lock_all_ctx()
459 ret = drm_modeset_lock(&plane->mutex, ctx); in drm_modeset_lock_all_ctx()
465 ret = drm_modeset_lock(&privobj->lock, ctx); in drm_modeset_lock_all_ctx()