Lines Matching refs:ringB
315 struct radeon_ring *ringB) in radeon_test_ring_sync() argument
358 r = radeon_ring_lock(rdev, ringB, 64); in radeon_test_ring_sync()
360 DRM_ERROR("Failed to lock ring B %p\n", ringB); in radeon_test_ring_sync()
363 radeon_semaphore_emit_signal(rdev, ringB->idx, semaphore); in radeon_test_ring_sync()
364 radeon_ring_unlock_commit(rdev, ringB, false); in radeon_test_ring_sync()
379 r = radeon_ring_lock(rdev, ringB, 64); in radeon_test_ring_sync()
381 DRM_ERROR("Failed to lock ring B %p\n", ringB); in radeon_test_ring_sync()
384 radeon_semaphore_emit_signal(rdev, ringB->idx, semaphore); in radeon_test_ring_sync()
385 radeon_ring_unlock_commit(rdev, ringB, false); in radeon_test_ring_sync()
408 struct radeon_ring *ringB, in radeon_test_ring_sync2() argument
434 r = radeon_ring_lock(rdev, ringB, 64); in radeon_test_ring_sync2()
436 DRM_ERROR("Failed to lock ring B %d\n", ringB->idx); in radeon_test_ring_sync2()
439 radeon_semaphore_emit_wait(rdev, ringB->idx, semaphore); in radeon_test_ring_sync2()
440 radeon_ring_unlock_commit(rdev, ringB, false); in radeon_test_ring_sync2()
441 r = radeon_test_create_and_emit_fence(rdev, ringB, &fenceB); in radeon_test_ring_sync2()
517 struct radeon_ring *ringB) in radeon_test_sync_possible() argument
520 ringB->idx == TN_RING_TYPE_VCE1_INDEX) in radeon_test_sync_possible()
536 struct radeon_ring *ringB = &rdev->ring[j]; in radeon_test_syncing() local
537 if (!ringB->ready) in radeon_test_syncing()
540 if (!radeon_test_sync_possible(ringA, ringB)) in radeon_test_syncing()
544 radeon_test_ring_sync(rdev, ringA, ringB); in radeon_test_syncing()
547 radeon_test_ring_sync(rdev, ringB, ringA); in radeon_test_syncing()
557 if (!radeon_test_sync_possible(ringB, ringC)) in radeon_test_syncing()
561 radeon_test_ring_sync2(rdev, ringA, ringB, ringC); in radeon_test_syncing()
564 radeon_test_ring_sync2(rdev, ringA, ringC, ringB); in radeon_test_syncing()
567 radeon_test_ring_sync2(rdev, ringB, ringA, ringC); in radeon_test_syncing()
570 radeon_test_ring_sync2(rdev, ringB, ringC, ringA); in radeon_test_syncing()
573 radeon_test_ring_sync2(rdev, ringC, ringA, ringB); in radeon_test_syncing()
576 radeon_test_ring_sync2(rdev, ringC, ringB, ringA); in radeon_test_syncing()