Home
last modified time | relevance | path

Searched refs:semaphore (Results 1 – 25 of 38) sorted by relevance

12

/dragonfly/sys/dev/drm/radeon/
H A Dradeon_semaphore.c42 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 Dradeon_test.c317 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 Dradeon_sync.c146 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 Duvd_v3_1.c42 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 Duvd_v2_2.c74 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 Dradeon_asic.h80 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 Dr600_dma.c313 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 Dradeon.h608 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 Dradeon_vce.c697 struct radeon_semaphore *semaphore, in radeon_vce_semaphore_emit() argument
700 uint64_t addr = semaphore->gpu_addr; in radeon_vce_semaphore_emit()
H A Dcik_sdma.c228 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 Duvd_v1_0.c467 struct radeon_semaphore *semaphore, in uvd_v1_0_semaphore_emit() argument
/dragonfly/test/libpthread/
H A Dsem_d.exp2 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 Drwsem.h38 #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 Dintel_ringbuffer.c844 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 Dintel_hangcheck.c52 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 Dintel_ringbuffer.h53 (dev_priv->semaphore->node.start + \
56 (dev_priv->semaphore->node.start + \
481 } semaphore; member
H A Di915_gem_request.c760 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 Dintel_engine_cs.c359 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 DREADME5 This regression utility will test the SysV semaphore functionality
/dragonfly/test/stress/stress2/misc/
H A Dsem.sh115 * Attempt to acquire the semaphore.
/dragonfly/sys/dev/raid/hptmv/
H A DmvSata.h259 MV_OS_SEMAPHORE semaphore; member
298 MV_OS_SEMAPHORE semaphore; member
/dragonfly/contrib/gcc-4.7/lto-plugin/
H A Dconfig.h.in74 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
/dragonfly/contrib/gcc-4.7/libgomp/
H A Dconfig.h.in39 /* Define to 1 if you have the <semaphore.h> header file. */
/dragonfly/include/
H A DMakefile23 search.h semaphore.h setjmp.h signal.h spawn.h \
/dragonfly/contrib/gcc-4.7/gcc/
H A Dconfig.in1890 <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

12