| /external/igt-gpu-tools/tests/ |
| D | syncobj_wait.c | 194 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/ |
| D | panvk_vX_event.c | 31 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()
|
| D | panvk_vX_cmd_event.c | 40 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()
|
| D | panvk_event.h | 23 struct panvk_priv_mem syncobjs; member
|
| D | panvk_vX_queue.c | 375 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()
|
| D | panvk_queue.h | 69 struct panvk_priv_mem syncobjs; member
|
| D | panvk_cmd_buffer.h | 94 uint64_t syncobjs; member 111 uint64_t syncobjs; member
|
| D | panvk_vX_cmd_buffer.c | 143 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()
|
| D | panvk_vX_cmd_dispatch.c | 353 offsetof(struct panvk_cs_subqueue_context, syncobjs)); in cmd_dispatch()
|
| /external/mesa3d/src/freedreno/vulkan/ |
| D | tu_knl_kgsl.cc | 653 #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/ |
| D | iris_fence.c | 124 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()
|
| D | iris_batch.c | 211 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()
|
| D | iris_batch.h | 133 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/ |
| D | crocus_fence.c | 105 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()
|
| D | crocus_batch.h | 126 struct util_dynarray syncobjs; member 281 ((struct crocus_syncobj **)util_dynarray_begin(&batch->syncobjs))[0]; in crocus_batch_get_signal_syncobj()
|
| D | crocus_batch.c | 225 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/ |
| D | anv_batch_chain.c | 45 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/ |
| D | vn_renderer_virtgpu.c | 128 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/ |
| D | amdgpu_virtio.c | 368 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/ |
| D | amdgpu.h | 1636 const uint32_t *syncobjs, uint32_t syncobj_count); 1650 const uint32_t *syncobjs, uint32_t syncobj_count); 1665 const uint32_t *syncobjs,
|
| D | amdgpu_cs.c | 708 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/ |
| D | anv_batch_chain.c | 1190 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/ |
| D | v3d_simulator.c | 472 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/ |
| D | agx_batch.c | 392 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/ |
| D | 21.3.4.rst | 167 - iris: unref syncobjs and free r/w dependencies array for slab entries
|