Lines Matching refs:sync
41 void radeon_sync_create(struct radeon_sync *sync) in radeon_sync_create() argument
46 sync->semaphores[i] = NULL; in radeon_sync_create()
49 sync->sync_to[i] = NULL; in radeon_sync_create()
51 sync->last_vm_update = NULL; in radeon_sync_create()
62 void radeon_sync_fence(struct radeon_sync *sync, in radeon_sync_fence() argument
70 other = sync->sync_to[fence->ring]; in radeon_sync_fence()
71 sync->sync_to[fence->ring] = radeon_fence_later(fence, other); in radeon_sync_fence()
74 other = sync->last_vm_update; in radeon_sync_fence()
75 sync->last_vm_update = radeon_fence_later(fence, other); in radeon_sync_fence()
90 struct radeon_sync *sync, in radeon_sync_resv() argument
104 radeon_sync_fence(sync, fence); in radeon_sync_resv()
117 radeon_sync_fence(sync, fence); in radeon_sync_resv()
138 struct radeon_sync *sync, in radeon_sync_rings() argument
145 struct radeon_fence *fence = sync->sync_to[i]; in radeon_sync_rings()
169 sync->semaphores[count++] = semaphore; in radeon_sync_rings()
213 struct radeon_sync *sync, in radeon_sync_free() argument
219 radeon_semaphore_free(rdev, &sync->semaphores[i], fence); in radeon_sync_free()