Home
last modified time | relevance | path

Searched refs:ttm_lock (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/include/drm/ttm/
Dttm_lock.h69 struct ttm_lock { struct
87 extern void ttm_lock_init(struct ttm_lock *lock);
96 extern void ttm_read_unlock(struct ttm_lock *lock);
108 extern int ttm_read_lock(struct ttm_lock *lock, bool interruptible);
125 extern int ttm_read_trylock(struct ttm_lock *lock, bool interruptible);
134 extern void ttm_write_unlock(struct ttm_lock *lock);
146 extern int ttm_write_lock(struct ttm_lock *lock, bool interruptible);
155 extern void ttm_lock_downgrade(struct ttm_lock *lock);
164 extern void ttm_suspend_lock(struct ttm_lock *lock);
173 extern void ttm_suspend_unlock(struct ttm_lock *lock);
[all …]
/linux-4.4.14/drivers/gpu/drm/ttm/
Dttm_lock.c45 void ttm_lock_init(struct ttm_lock *lock) in ttm_lock_init()
56 void ttm_read_unlock(struct ttm_lock *lock) in ttm_read_unlock()
65 static bool __ttm_read_lock(struct ttm_lock *lock) in __ttm_read_lock()
83 int ttm_read_lock(struct ttm_lock *lock, bool interruptible) in ttm_read_lock()
96 static bool __ttm_read_trylock(struct ttm_lock *lock, bool *locked) in __ttm_read_trylock()
120 int ttm_read_trylock(struct ttm_lock *lock, bool interruptible) in ttm_read_trylock()
139 void ttm_write_unlock(struct ttm_lock *lock) in ttm_write_unlock()
148 static bool __ttm_write_lock(struct ttm_lock *lock) in __ttm_write_lock()
169 int ttm_write_lock(struct ttm_lock *lock, bool interruptible) in ttm_write_lock()
189 static int __ttm_vt_unlock(struct ttm_lock *lock) in __ttm_vt_unlock()
[all …]
DMakefile7 ttm_object.o ttm_lock.o ttm_execbuf_util.o ttm_page_alloc.o \
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_drv.h324 struct ttm_lock lock;
493 struct ttm_lock reservation_sem;