/dragonfly/sys/dev/drm/radeon/ |
H A D | radeon_semaphore.c | 42 if (*semaphore == NULL) { in radeon_semaphore_create() 48 kfree(*semaphore); in radeon_semaphore_create() 49 *semaphore = NULL; in radeon_semaphore_create() 52 (*semaphore)->waiters = 0; in radeon_semaphore_create() 53 (*semaphore)->gpu_addr = radeon_sa_bo_gpu_addr((*semaphore)->sa_bo); in radeon_semaphore_create() 70 --semaphore->waiters; in radeon_semaphore_emit_signal() 89 ++semaphore->waiters; in radeon_semaphore_emit_wait() 102 if (semaphore == NULL || *semaphore == NULL) { in radeon_semaphore_free() 105 if ((*semaphore)->waiters > 0) { in radeon_semaphore_free() 110 kfree(*semaphore); in radeon_semaphore_free() [all …]
|
H A D | radeon_test.c | 317 struct radeon_semaphore *semaphore = NULL; in radeon_test_ring_sync() local 320 r = radeon_semaphore_create(rdev, &semaphore); in radeon_test_ring_sync() 331 radeon_semaphore_emit_wait(rdev, ringA->idx, semaphore); in radeon_test_ring_sync() 343 radeon_semaphore_emit_wait(rdev, ringA->idx, semaphore); in radeon_test_ring_sync() 362 radeon_semaphore_emit_signal(rdev, ringB->idx, semaphore); in radeon_test_ring_sync() 393 radeon_semaphore_free(rdev, &semaphore, NULL); in radeon_test_ring_sync() 411 struct radeon_semaphore *semaphore = NULL; in radeon_test_ring_sync2() local 415 r = radeon_semaphore_create(rdev, &semaphore); in radeon_test_ring_sync2() 426 radeon_semaphore_emit_wait(rdev, ringA->idx, semaphore); in radeon_test_ring_sync2() 438 radeon_semaphore_emit_wait(rdev, ringB->idx, semaphore); in radeon_test_ring_sync2() [all …]
|
H A D | radeon_sync.c | 146 struct radeon_semaphore *semaphore; in radeon_sync_rings() local 165 r = radeon_semaphore_create(rdev, &semaphore); in radeon_sync_rings() 169 sync->semaphores[count++] = semaphore; in radeon_sync_rings() 177 if (!radeon_semaphore_emit_signal(rdev, i, semaphore)) { in radeon_sync_rings() 187 if (!radeon_semaphore_emit_wait(rdev, ring, semaphore)) { in radeon_sync_rings()
|
H A D | uvd_v3_1.c | 42 struct radeon_semaphore *semaphore, in uvd_v3_1_semaphore_emit() argument 45 uint64_t addr = semaphore->gpu_addr; in uvd_v3_1_semaphore_emit()
|
H A D | uvd_v2_2.c | 74 struct radeon_semaphore *semaphore, in uvd_v2_2_semaphore_emit() argument 77 uint64_t addr = semaphore->gpu_addr; in uvd_v2_2_semaphore_emit()
|
H A D | radeon_asic.h | 80 struct radeon_semaphore *semaphore, 328 struct radeon_semaphore *semaphore, 334 struct radeon_semaphore *semaphore, 841 struct radeon_semaphore *semaphore, 861 struct radeon_semaphore *semaphore, 1002 struct radeon_semaphore *semaphore, 1012 struct radeon_semaphore *semaphore, 1018 struct radeon_semaphore *semaphore,
|
H A D | r600_dma.c | 313 struct radeon_semaphore *semaphore, in r600_dma_semaphore_ring_emit() argument 316 u64 addr = semaphore->gpu_addr; in r600_dma_semaphore_ring_emit()
|
H A D | radeon.h | 608 struct radeon_semaphore **semaphore); 610 struct radeon_semaphore *semaphore); 612 struct radeon_semaphore *semaphore); 614 struct radeon_semaphore **semaphore, 1748 struct radeon_semaphore *semaphore, 1836 struct radeon_semaphore *semaphore, bool emit_wait); 2757 …semaphore_ring_emit(rdev, r, cp, semaphore, emit_wait) (rdev)->asic->ring[(r)]->emit_semaphore((rd… argument
|
H A D | radeon_vce.c | 697 struct radeon_semaphore *semaphore, in radeon_vce_semaphore_emit() argument 700 uint64_t addr = semaphore->gpu_addr; in radeon_vce_semaphore_emit()
|
H A D | cik_sdma.c | 228 struct radeon_semaphore *semaphore, in cik_sdma_semaphore_ring_emit() argument 231 u64 addr = semaphore->gpu_addr; in cik_sdma_semaphore_ring_emit()
|
H A D | uvd_v1_0.c | 467 struct radeon_semaphore *semaphore, in uvd_v1_0_semaphore_emit() argument
|
/dragonfly/test/libpthread/ |
H A D | sem_d.exp | 2 Got semaphore 3 Got semaphore 4 Got semaphore 5 Got semaphore 6 Got semaphore 7 Got semaphore 8 Got semaphore 9 Got semaphore 10 Got semaphore 11 Got semaphore [all …]
|
/dragonfly/sys/dev/drm/include/linux/ |
H A D | rwsem.h | 38 #define down_read(semaphore) lockmgr((semaphore), LK_SHARED) argument 39 #define up_read(semaphore) lockmgr((semaphore), LK_RELEASE) argument 41 #define down_write(semaphore) lockmgr((semaphore), LK_EXCLUSIVE) argument 42 #define up_write(semaphore) lockmgr((semaphore), LK_RELEASE) argument
|
/dragonfly/sys/dev/drm/i915/ |
H A D | intel_ringbuffer.c | 844 req->engine->semaphore.signal(req, cs)); in gen6_sema_emit_breadcrumb() 852 if (engine->semaphore.signal) in gen8_render_emit_breadcrumb() 853 cs = engine->semaphore.signal(req, cs); in gen8_render_emit_breadcrumb() 1920 dev_priv->semaphore = vma; in intel_ring_init_semaphores() 1926 engine->semaphore.sync_to = gen8_ring_sync_to; in intel_ring_init_semaphores() 1927 engine->semaphore.signal = gen8_xcs_signal; in intel_ring_init_semaphores() 1940 engine->semaphore.sync_to = gen6_ring_sync_to; in intel_ring_init_semaphores() 1941 engine->semaphore.signal = gen6_signal; in intel_ring_init_semaphores() 1987 engine->semaphore.mbox.wait[i] = wait_mbox; in intel_ring_init_semaphores() 1988 engine->semaphore.mbox.signal[i] = mbox_reg; in intel_ring_init_semaphores() [all …]
|
H A D | intel_hangcheck.c | 52 if (offset == signaller->semaphore.signal_ggtt[engine->hw_id]) in semaphore_wait_to_signaller_ring() 62 if (sync_bits == signaller->semaphore.mbox.wait[engine->hw_id]) in semaphore_wait_to_signaller_ring()
|
H A D | intel_ringbuffer.h | 53 (dev_priv->semaphore->node.start + \ 56 (dev_priv->semaphore->node.start + \ 481 } semaphore; member
|
H A D | i915_gem_request.c | 760 if (to->engine->semaphore.sync_to) { in i915_gem_request_await_request() 763 GEM_BUG_ON(!from->engine->semaphore.signal); in i915_gem_request_await_request() 773 ret = to->engine->semaphore.sync_to(to, from); in i915_gem_request_await_request()
|
H A D | intel_engine_cs.c | 359 if (dev_priv->semaphore) { in intel_engine_init_global_seqno() 360 struct page *page = i915_vma_first_page(dev_priv->semaphore); in intel_engine_init_global_seqno()
|
/dragonfly/test/testcases/sysv/sysvsem/ |
H A D | README | 5 This regression utility will test the SysV semaphore functionality
|
/dragonfly/test/stress/stress2/misc/ |
H A D | sem.sh | 115 * Attempt to acquire the semaphore.
|
/dragonfly/sys/dev/raid/hptmv/ |
H A D | mvSata.h | 259 MV_OS_SEMAPHORE semaphore; member 298 MV_OS_SEMAPHORE semaphore; member
|
/dragonfly/contrib/gcc-4.7/lto-plugin/ |
H A D | config.h.in | 74 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
/dragonfly/contrib/gcc-4.7/libgomp/ |
H A D | config.h.in | 39 /* Define to 1 if you have the <semaphore.h> header file. */
|
/dragonfly/include/ |
H A D | Makefile | 23 search.h semaphore.h setjmp.h signal.h spawn.h \
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | config.in | 1890 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the 1898 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the 1906 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|