Home
last modified time | relevance | path

Searched refs:syncobjs (Results 1 – 25 of 37) sorted by relevance

12

/external/igt-gpu-tools/tests/
Dsyncobj_wait.c194 uint32_t syncobjs[3]; in test_reset_one_illegal_handle() local
197 syncobjs[0] = syncobj_create(fd, LOCAL_SYNCOBJ_CREATE_SIGNALED); in test_reset_one_illegal_handle()
198 syncobjs[1] = 0; in test_reset_one_illegal_handle()
199 syncobjs[2] = syncobj_create(fd, LOCAL_SYNCOBJ_CREATE_SIGNALED); in test_reset_one_illegal_handle()
201 igt_assert_eq(syncobj_wait_err(fd, &syncobjs[0], 1, 0, 0), 0); in test_reset_one_illegal_handle()
202 igt_assert_eq(syncobj_wait_err(fd, &syncobjs[2], 1, 0, 0), 0); in test_reset_one_illegal_handle()
205 array.handles = to_user_pointer(syncobjs); in test_reset_one_illegal_handle()
210 igt_assert_eq(syncobj_wait_err(fd, &syncobjs[0], 1, 0, 0), 0); in test_reset_one_illegal_handle()
211 igt_assert_eq(syncobj_wait_err(fd, &syncobjs[2], 1, 0, 0), 0); in test_reset_one_illegal_handle()
213 syncobj_destroy(fd, syncobjs[0]); in test_reset_one_illegal_handle()
[all …]
/external/mesa3d/src/panfrost/vulkan/csf/
Dpanvk_vX_event.c31 event->syncobjs = panvk_pool_alloc_mem(&device->mempools.rw_nc, info); in panvk_per_arch()
32 if (!panvk_priv_mem_host_addr(event->syncobjs)) { in panvk_per_arch()
37 memset(panvk_priv_mem_host_addr(event->syncobjs), 0, in panvk_per_arch()
54 panvk_pool_free_mem(&event->syncobjs); in panvk_per_arch()
64 struct panvk_cs_sync32 *syncobjs = panvk_priv_mem_host_addr(event->syncobjs); in panvk_per_arch() local
67 if (!syncobjs[i].seqno) in panvk_per_arch()
79 struct panvk_cs_sync32 *syncobjs = panvk_priv_mem_host_addr(event->syncobjs); in panvk_per_arch() local
82 syncobjs[i].seqno = 1; in panvk_per_arch()
92 struct panvk_cs_sync32 *syncobjs = panvk_priv_mem_host_addr(event->syncobjs); in panvk_per_arch() local
94 memset(syncobjs, 0, sizeof(*syncobjs) * PANVK_SUBQUEUE_COUNT); in panvk_per_arch()
Dpanvk_vX_cmd_event.c40 panvk_priv_mem_dev_addr(event->syncobjs) + in panvk_per_arch()
82 panvk_priv_mem_dev_addr(event->syncobjs) + in panvk_per_arch()
127 panvk_priv_mem_dev_addr(event->syncobjs) + in cmd_wait_event()
Dpanvk_event.h23 struct panvk_priv_mem syncobjs; member
Dpanvk_vX_queue.c375 struct panvk_cs_sync64 *syncobjs = panvk_priv_mem_host_addr(queue->syncobjs); in init_subqueue() local
400 .syncobjs = panvk_priv_mem_dev_addr(queue->syncobjs), in init_subqueue()
401 .debug.syncobjs = panvk_priv_mem_dev_addr(queue->debug_syncobjs), in init_subqueue()
433 syncobjs[subqueue].seqno = 1; in init_subqueue()
517 panvk_pool_free_mem(&queue->syncobjs); in cleanup_queue()
535 queue->syncobjs = panvk_pool_alloc_mem(&dev->mempools.rw, alloc_info); in init_queue()
536 if (!panvk_priv_mem_host_addr(queue->syncobjs)) in init_queue()
Dpanvk_queue.h69 struct panvk_priv_mem syncobjs; member
Dpanvk_cmd_buffer.h94 uint64_t syncobjs; member
111 uint64_t syncobjs; member
Dpanvk_vX_cmd_buffer.c143 offsetof(struct panvk_cs_subqueue_context, debug.syncobjs)); in finish_cs()
584 offsetof(struct panvk_cs_subqueue_context, syncobjs)); in panvk_per_arch()
602 offsetof(struct panvk_cs_subqueue_context, syncobjs)); in panvk_per_arch()
Dpanvk_vX_cmd_dispatch.c353 offsetof(struct panvk_cs_subqueue_context, syncobjs)); in cmd_dispatch()
/external/mesa3d/src/freedreno/vulkan/
Dtu_knl_kgsl.cc653 #define kgsl_syncobj_foreach_state(syncobjs, filter) \ argument
654 for (uint32_t i = 0; sync = syncobjs[i], i < count; i++) \
658 kgsl_syncobj_wait_any(struct tu_device* device, struct kgsl_syncobj **syncobjs, uint32_t count, uin… in kgsl_syncobj_wait_any() argument
663 return kgsl_syncobj_wait(device, syncobjs[0], abs_timeout_ns); in kgsl_syncobj_wait_any()
670 kgsl_syncobj_foreach_state(syncobjs, KGSL_SYNCOBJ_STATE_SIGNALED) in kgsl_syncobj_wait_any()
673 kgsl_syncobj_foreach_state(syncobjs, KGSL_SYNCOBJ_STATE_FD) in kgsl_syncobj_wait_any()
680 kgsl_syncobj_foreach_state(syncobjs, KGSL_SYNCOBJ_STATE_TS) { in kgsl_syncobj_wait_any()
701 kgsl_syncobj_foreach_state(syncobjs, KGSL_SYNCOBJ_STATE_TS) { in kgsl_syncobj_wait_any()
709 kgsl_syncobj_foreach_state(syncobjs, KGSL_SYNCOBJ_STATE_TS) { in kgsl_syncobj_wait_any()
724 kgsl_syncobj_foreach_state(syncobjs, KGSL_SYNCOBJ_STATE_FD) { in kgsl_syncobj_wait_any()
[all …]
/external/mesa3d/src/gallium/drivers/iris/
Diris_fence.c124 util_dynarray_grow(&batch->syncobjs, struct iris_syncobj *, 1); in iris_batch_add_syncobj()
144 int n = util_dynarray_num_elements(&batch->syncobjs, struct iris_syncobj *); in clear_stale_syncobjs()
152 util_dynarray_element(&batch->syncobjs, struct iris_syncobj *, i); in clear_stale_syncobjs()
168 util_dynarray_pop_ptr(&batch->syncobjs, struct iris_syncobj *); in clear_stale_syncobjs()
Diris_batch.c211 util_dynarray_init(&batch->syncobjs, ralloc_context(NULL)); in iris_init_batch()
517 util_dynarray_foreach(&batch->syncobjs, struct iris_syncobj *, s) in iris_batch_free()
519 ralloc_free(batch->syncobjs.mem_ctx); in iris_batch_free()
752 util_dynarray_foreach(&batch->syncobjs, struct iris_syncobj *, s) { in move_syncobj_to_batch()
964 util_dynarray_foreach(&batch->syncobjs, struct iris_syncobj *, s) in _iris_batch_flush()
966 util_dynarray_clear(&batch->syncobjs); in _iris_batch_flush()
Diris_batch.h133 struct util_dynarray syncobjs; member
310 ((struct iris_syncobj **) util_dynarray_begin(&batch->syncobjs))[0]; in iris_batch_get_signal_syncobj()
/external/mesa3d/src/gallium/drivers/crocus/
Dcrocus_fence.c105 util_dynarray_grow(&batch->syncobjs, struct crocus_syncobj *, 1); in crocus_batch_add_syncobj()
124 int n = util_dynarray_num_elements(&batch->syncobjs, struct crocus_syncobj *); in clear_stale_syncobjs()
132 util_dynarray_element(&batch->syncobjs, struct crocus_syncobj *, i); in clear_stale_syncobjs()
148 util_dynarray_pop_ptr(&batch->syncobjs, struct crocus_syncobj *); in clear_stale_syncobjs()
Dcrocus_batch.h126 struct util_dynarray syncobjs; member
281 ((struct crocus_syncobj **)util_dynarray_begin(&batch->syncobjs))[0]; in crocus_batch_get_signal_syncobj()
Dcrocus_batch.c225 util_dynarray_init(&batch->syncobjs, ralloc_context(NULL)); in crocus_init_batch()
563 util_dynarray_foreach(&batch->syncobjs, struct crocus_syncobj *, s) in crocus_batch_free()
565 ralloc_free(batch->syncobjs.mem_ctx); in crocus_batch_free()
988 util_dynarray_foreach(&batch->syncobjs, struct crocus_syncobj *, s) in _crocus_batch_flush()
990 util_dynarray_clear(&batch->syncobjs); in _crocus_batch_flush()
/external/mesa3d/src/intel/vulkan/i915/
Danv_batch_chain.c45 struct drm_i915_gem_exec_fence * syncobjs; member
58 vk_free(exec->alloc, exec->syncobjs); in anv_execbuf_finish()
192 vk_realloc(exec->alloc, exec->syncobjs, in anv_execbuf_add_syncobj()
197 exec->syncobjs = new_syncobjs; in anv_execbuf_add_syncobj()
222 exec->syncobjs[exec->syncobj_count] = (struct drm_i915_gem_exec_fence) { in anv_execbuf_add_syncobj()
553 execbuf->timeline_fences.handles_ptr = (uintptr_t)execbuf->syncobjs; in setup_execbuf_fence_params()
558 } else if (execbuf->syncobjs) { in setup_execbuf_fence_params()
561 execbuf->execbuf.cliprects_ptr = (uintptr_t)execbuf->syncobjs; in setup_execbuf_fence_params()
/external/mesa3d/src/virtio/vulkan/
Dvn_renderer_virtgpu.c128 struct hash_table *syncobjs; member
156 if (!sim.syncobjs) { in sim_syncobj_create()
157 sim.syncobjs = _mesa_pointer_hash_table_create(NULL); in sim_syncobj_create()
158 if (!sim.syncobjs) { in sim_syncobj_create()
171 _mesa_hash_table_destroy(sim.syncobjs, NULL); in sim_syncobj_create()
172 sim.syncobjs = NULL; in sim_syncobj_create()
181 _mesa_hash_table_insert(sim.syncobjs, in sim_syncobj_create()
197 sim.syncobjs, (const void *)(uintptr_t)syncobj_handle); in sim_syncobj_destroy()
200 _mesa_hash_table_remove(sim.syncobjs, entry); in sim_syncobj_destroy()
282 sim.syncobjs, (const void *)(uintptr_t)syncobj_handle); in sim_syncobj_lookup()
/external/mesa3d/src/amd/common/virtio/
Damdgpu_virtio.c368 struct drm_virtgpu_execbuffer_syncobj *syncobjs = in amdvgpu_cs_submit_raw2() local
371 if (syncobjs == NULL) { in amdvgpu_cs_submit_raw2()
377 syncobjs[j].handle = amd_syncobj[j].handle; in amdvgpu_cs_submit_raw2()
381 syncobj_in = syncobjs; in amdvgpu_cs_submit_raw2()
384 syncobj_out = syncobjs; in amdvgpu_cs_submit_raw2()
/external/libdrm/amdgpu/
Damdgpu.h1636 const uint32_t *syncobjs, uint32_t syncobj_count);
1650 const uint32_t *syncobjs, uint32_t syncobj_count);
1665 const uint32_t *syncobjs,
Damdgpu_cs.c708 const uint32_t *syncobjs, in amdgpu_cs_syncobj_reset() argument
714 return drmSyncobjReset(dev->fd, syncobjs, syncobj_count); in amdgpu_cs_syncobj_reset()
718 const uint32_t *syncobjs, in amdgpu_cs_syncobj_signal() argument
724 return drmSyncobjSignal(dev->fd, syncobjs, syncobj_count); in amdgpu_cs_syncobj_signal()
728 const uint32_t *syncobjs, in amdgpu_cs_syncobj_timeline_signal() argument
735 return drmSyncobjTimelineSignal(dev->fd, syncobjs, in amdgpu_cs_syncobj_timeline_signal()
/external/mesa3d/src/intel/vulkan_hasvk/
Danv_batch_chain.c1190 struct drm_i915_gem_exec_fence * syncobjs; member
1217 vk_free(exec->alloc, exec->syncobjs); in anv_execbuf_finish()
1587 if (exec->syncobjs) in anv_execbuf_add_syncobj()
1588 typed_memcpy(new_syncobjs, exec->syncobjs, exec->syncobj_count); in anv_execbuf_add_syncobj()
1590 exec->syncobjs = new_syncobjs; in anv_execbuf_add_syncobj()
1617 exec->syncobjs[exec->syncobj_count] = (struct drm_i915_gem_exec_fence) { in anv_execbuf_add_syncobj()
2008 .cliprects_ptr = (uintptr_t)execbuf->syncobjs, in setup_utrace_execbuf()
2202 execbuf.timeline_fences.handles_ptr = (uintptr_t)execbuf.syncobjs; in anv_queue_exec_locked()
2207 } else if (execbuf.syncobjs) { in anv_queue_exec_locked()
2210 execbuf.execbuf.cliprects_ptr = (uintptr_t)execbuf.syncobjs; in anv_queue_exec_locked()
/external/mesa3d/src/broadcom/simulator/
Dv3d_simulator.c472 uint32_t syncobjs[n_syncobjs]; in v3d_simulator_signal_syncobjs() local
475 syncobjs[i] = out_syncs[i].handle; in v3d_simulator_signal_syncobjs()
476 return drmSyncobjSignal(fd, (uint32_t *) &syncobjs, n_syncobjs); in v3d_simulator_signal_syncobjs()
/external/mesa3d/src/gallium/drivers/asahi/
Dagx_batch.c392 uint32_t syncobjs[AGX_MAX_BATCHES]; in agx_cleanup_batches() local
397 syncobjs[count++] = ctx->batches.slots[i].syncobj; in agx_cleanup_batches()
403 int ret = drmSyncobjWait(dev->fd, syncobjs, count, 0, 0, &first); in agx_cleanup_batches()
/external/mesa3d/docs/relnotes/
D21.3.4.rst167 - iris: unref syncobjs and free r/w dependencies array for slab entries

12