Home
last modified time | relevance | path

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

12

/dragonfly/sys/dev/drm/radeon/
HDradeon_semaphore.c37 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 …]
HDradeon_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()
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 …]
HDradeon_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()
HDuvd_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()
HDuvd_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()
HDradeon_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,
HDr600_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()
HDradeon.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
HDradeon_vce.c697 struct radeon_semaphore *semaphore, in radeon_vce_semaphore_emit() argument
700 uint64_t addr = semaphore->gpu_addr; in radeon_vce_semaphore_emit()
HDcik_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()
HDuvd_v1_0.c467 struct radeon_semaphore *semaphore, in uvd_v1_0_semaphore_emit() argument
/dragonfly/test/libpthread/
HDsem_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/
HDrwsem.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/
HDintel_ringbuffer.c713 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 …]
HDintel_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()
HDintel_ringbuffer.h53 (dev_priv->semaphore->node.start + \
56 (dev_priv->semaphore->node.start + \
481 } semaphore; member
HDi915_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()
HDintel_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/
HDREADME5 This regression utility will test the SysV semaphore functionality
/dragonfly/test/stress/stress2/misc/
HDsem.sh115 * Attempt to acquire the semaphore.
/dragonfly/sys/dev/raid/hptmv/
HDmvSata.h259 MV_OS_SEMAPHORE semaphore; member
298 MV_OS_SEMAPHORE semaphore; member
/dragonfly/contrib/gcc-4.7/lto-plugin/
HDconfig.h.in74 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
/dragonfly/contrib/gcc-4.7/libgomp/
HDconfig.h.in39 /* Define to 1 if you have the <semaphore.h> header file. */
/dragonfly/include/
HDMakefile23 search.h semaphore.h setjmp.h signal.h spawn.h \
/dragonfly/contrib/gcc-4.7/gcc/
HDconfig.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