| /dragonfly/sys/dev/drm/radeon/ |
| HD | radeon_semaphore.c | 37 struct radeon_semaphore **semaphore) in radeon_semaphore_create() argument 41 *semaphore = kmalloc(sizeof(struct radeon_semaphore), M_DRM, GFP_KERNEL); in radeon_semaphore_create() 42 if (*semaphore == NULL) { in radeon_semaphore_create() 46 &(*semaphore)->sa_bo, 8, 8); 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() 55 *((uint64_t *)radeon_sa_bo_cpu_addr((*semaphore)->sa_bo)) = 0; in radeon_semaphore_create() 61 struct radeon_semaphore *semaphore) in radeon_semaphore_emit_signal() argument [all …]
|
| HD | 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() 383 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() [all …]
|
| HD | 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()
|
| HD | 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()
|
| HD | 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()
|
| HD | 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,
|
| HD | 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()
|
| HD | 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
|
| HD | 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()
|
| HD | 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()
|
| HD | uvd_v1_0.c | 467 struct radeon_semaphore *semaphore, in uvd_v1_0_semaphore_emit() argument
|
| /dragonfly/test/libpthread/ |
| HD | 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/ |
| HD | 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/ |
| HD | intel_ringbuffer.c | 713 i915_vma_unpin_and_release(&dev_priv->semaphore); in render_ring_cleanup() 723 u64 gtt_offset = req->engine->semaphore.signal_ggtt[id]; in gen8_rcs_signal() 749 u64 gtt_offset = req->engine->semaphore.signal_ggtt[id]; in gen8_xcs_signal() 778 mbox_reg = req->engine->semaphore.mbox.signal[engine->hw_id]; in gen6_signal() 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() 918 u32 wait_mbox = signal->engine->semaphore.mbox.wait[req->engine->hw_id]; in gen6_ring_sync_to() 1901 if (INTEL_GEN(dev_priv) >= 8 && !dev_priv->semaphore) { in intel_ring_init_semaphores() 1920 dev_priv->semaphore = vma; in intel_ring_init_semaphores() [all …]
|
| HD | 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()
|
| HD | intel_ringbuffer.h | 53 (dev_priv->semaphore->node.start + \ 56 (dev_priv->semaphore->node.start + \ 481 } semaphore; member
|
| HD | 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()
|
| HD | 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/ |
| HD | README | 5 This regression utility will test the SysV semaphore functionality
|
| /dragonfly/test/stress/stress2/misc/ |
| HD | sem.sh | 115 * Attempt to acquire the semaphore.
|
| /dragonfly/sys/dev/raid/hptmv/ |
| HD | mvSata.h | 259 MV_OS_SEMAPHORE semaphore; member 298 MV_OS_SEMAPHORE semaphore; member
|
| /dragonfly/contrib/gcc-4.7/lto-plugin/ |
| HD | config.h.in | 74 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
| /dragonfly/contrib/gcc-4.7/libgomp/ |
| HD | config.h.in | 39 /* Define to 1 if you have the <semaphore.h> header file. */
|
| /dragonfly/include/ |
| HD | Makefile | 23 search.h semaphore.h setjmp.h signal.h spawn.h \
|
| /dragonfly/contrib/gcc-4.7/gcc/ |
| HD | 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
|