Lines Matching refs:drm_modeset_lock
31 struct drm_modeset_lock;
55 struct drm_modeset_lock *contended;
64 * list of held locks (drm_modeset_lock)
78 * struct drm_modeset_lock - used for locking modeset resources.
85 struct drm_modeset_lock {
106 void drm_modeset_lock_init(struct drm_modeset_lock *lock);
112 static inline void drm_modeset_lock_fini(struct drm_modeset_lock *lock)
121 static inline bool drm_modeset_is_locked(struct drm_modeset_lock *lock)
130 static inline void drm_modeset_lock_assert_held(struct drm_modeset_lock *lock)
135 int drm_modeset_lock(struct drm_modeset_lock *lock,
137 int __must_check drm_modeset_lock_single_interruptible(struct drm_modeset_lock *lock);
138 void drm_modeset_unlock(struct drm_modeset_lock *lock);
169 * the @ret parameter containing the return value of drm_modeset_lock().