Lines Matching refs:ring_lock
123 mutex_lock(ring->ring_lock); in amdgpu_ring_lock()
126 mutex_unlock(ring->ring_lock); in amdgpu_ring_lock()
181 mutex_unlock(ring->ring_lock); in amdgpu_ring_unlock_commit()
206 mutex_unlock(ring->ring_lock); in amdgpu_ring_unlock_undo()
222 mutex_lock(ring->ring_lock); in amdgpu_ring_backup()
226 mutex_unlock(ring->ring_lock); in amdgpu_ring_backup()
232 mutex_unlock(ring->ring_lock); in amdgpu_ring_backup()
242 mutex_unlock(ring->ring_lock); in amdgpu_ring_backup()
249 mutex_unlock(ring->ring_lock); in amdgpu_ring_backup()
257 mutex_unlock(ring->ring_lock); in amdgpu_ring_backup()
355 ring->ring_lock = &adev->ring_lock; in amdgpu_ring_init()
413 if (ring->ring_lock == NULL) in amdgpu_ring_fini()
416 mutex_lock(ring->ring_lock); in amdgpu_ring_fini()
421 mutex_unlock(ring->ring_lock); in amdgpu_ring_fini()