Searched refs:ttm_lock (Results 1 – 3 of 3) sorted by relevance
69 struct ttm_lock { struct86 extern void ttm_lock_init(struct ttm_lock *lock);95 extern void ttm_read_unlock(struct ttm_lock *lock);107 extern int ttm_read_lock(struct ttm_lock *lock, bool interruptible);124 extern int ttm_read_trylock(struct ttm_lock *lock, bool interruptible);133 extern void ttm_lock_downgrade(struct ttm_lock *lock);142 extern void ttm_suspend_lock(struct ttm_lock *lock);151 extern void ttm_suspend_unlock(struct ttm_lock *lock);165 extern int ttm_vt_lock(struct ttm_lock *lock, bool interruptible,177 extern int ttm_vt_unlock(struct ttm_lock *lock);[all …]
48 void ttm_lock_init(struct ttm_lock *lock) in ttm_lock_init()68 void ttm_read_unlock(struct ttm_lock *lock) in ttm_read_unlock()76 static bool __ttm_read_lock(struct ttm_lock *lock) in __ttm_read_lock()92 ttm_read_lock(struct ttm_lock *lock, bool interruptible) in ttm_read_lock()116 static bool __ttm_read_trylock(struct ttm_lock *lock, bool *locked) in __ttm_read_trylock()137 int ttm_read_trylock(struct ttm_lock *lock, bool interruptible) in ttm_read_trylock()165 void ttm_write_unlock(struct ttm_lock *lock) in ttm_write_unlock()173 static bool __ttm_write_lock(struct ttm_lock *lock) in __ttm_write_lock()192 ttm_write_lock(struct ttm_lock *lock, bool interruptible) in ttm_write_lock()222 void ttm_write_lock_downgrade(struct ttm_lock *lock) in ttm_write_lock_downgrade()[all …]
1596 dev/drm2/ttm/ttm_lock.c optional drm2