Lines Matching refs:semaphore
318 struct radeon_semaphore *semaphore = NULL; in radeon_test_ring_sync() local
321 r = radeon_semaphore_create(rdev, &semaphore); in radeon_test_ring_sync()
332 radeon_semaphore_emit_wait(rdev, ringA->idx, semaphore); in radeon_test_ring_sync()
344 radeon_semaphore_emit_wait(rdev, ringA->idx, semaphore); in radeon_test_ring_sync()
363 radeon_semaphore_emit_signal(rdev, ringB->idx, semaphore); in radeon_test_ring_sync()
384 radeon_semaphore_emit_signal(rdev, ringB->idx, semaphore); in radeon_test_ring_sync()
394 radeon_semaphore_free(rdev, &semaphore, NULL); in radeon_test_ring_sync()
412 struct radeon_semaphore *semaphore = NULL; in radeon_test_ring_sync2() local
416 r = radeon_semaphore_create(rdev, &semaphore); in radeon_test_ring_sync2()
427 radeon_semaphore_emit_wait(rdev, ringA->idx, semaphore); in radeon_test_ring_sync2()
439 radeon_semaphore_emit_wait(rdev, ringB->idx, semaphore); in radeon_test_ring_sync2()
461 radeon_semaphore_emit_signal(rdev, ringC->idx, semaphore); in radeon_test_ring_sync2()
487 radeon_semaphore_emit_signal(rdev, ringC->idx, semaphore); in radeon_test_ring_sync2()
504 radeon_semaphore_free(rdev, &semaphore, NULL); in radeon_test_ring_sync2()