Home
last modified time | relevance | path

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

/external/igt-gpu-tools/tests/
Dsyncobj_wait.c193 uint32_t syncobjs[3]; in test_reset_one_illegal_handle() local
196 syncobjs[0] = syncobj_create(fd, LOCAL_SYNCOBJ_CREATE_SIGNALED); in test_reset_one_illegal_handle()
197 syncobjs[1] = 0; in test_reset_one_illegal_handle()
198 syncobjs[2] = syncobj_create(fd, LOCAL_SYNCOBJ_CREATE_SIGNALED); in test_reset_one_illegal_handle()
200 igt_assert_eq(syncobj_wait_err(fd, &syncobjs[0], 1, 0, 0), 0); in test_reset_one_illegal_handle()
201 igt_assert_eq(syncobj_wait_err(fd, &syncobjs[2], 1, 0, 0), 0); in test_reset_one_illegal_handle()
204 array.handles = to_user_pointer(syncobjs); in test_reset_one_illegal_handle()
209 igt_assert_eq(syncobj_wait_err(fd, &syncobjs[0], 1, 0, 0), 0); in test_reset_one_illegal_handle()
210 igt_assert_eq(syncobj_wait_err(fd, &syncobjs[2], 1, 0, 0), 0); in test_reset_one_illegal_handle()
212 syncobj_destroy(fd, syncobjs[0]); in test_reset_one_illegal_handle()
[all …]
/external/mesa3d/src/intel/vulkan/
Danv_wsi.c307 uint32_t *syncobjs = vk_alloc(&device->vk.alloc, in anv_QueuePresentKHR() local
308 sizeof(*syncobjs) * pPresentInfo->waitSemaphoreCount, 8, in anv_QueuePresentKHR()
311 if (!syncobjs) in anv_QueuePresentKHR()
324 syncobjs[wait_count++] = impl->syncobj; in anv_QueuePresentKHR()
330 anv_gem_syncobj_wait(device, syncobjs, wait_count, in anv_QueuePresentKHR()
335 vk_free(&device->vk.alloc, syncobjs); in anv_QueuePresentKHR()
Danv_queue.c1550 uint32_t *syncobjs = vk_zalloc(&device->vk.alloc, in anv_wait_for_syncobj_fences() local
1551 sizeof(*syncobjs) * fenceCount, 8, in anv_wait_for_syncobj_fences()
1553 if (!syncobjs) in anv_wait_for_syncobj_fences()
1565 syncobjs[i] = impl->syncobj; in anv_wait_for_syncobj_fences()
1574 ret = anv_gem_syncobj_wait(device, syncobjs, fenceCount, in anv_wait_for_syncobj_fences()
1578 vk_free(&device->vk.alloc, syncobjs); in anv_wait_for_syncobj_fences()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_queue.c1230 uint32_t *syncobjs = vk_alloc(&device->alloc, in v3dv_ResetFences() local
1231 sizeof(*syncobjs) * fenceCount, 8, in v3dv_ResetFences()
1233 if (!syncobjs) in v3dv_ResetFences()
1238 syncobjs[i] = fence->sync; in v3dv_ResetFences()
1241 int ret = drmSyncobjReset(device->render_fd, syncobjs, fenceCount); in v3dv_ResetFences()
1243 vk_free(&device->alloc, syncobjs); in v3dv_ResetFences()
1261 uint32_t *syncobjs = vk_alloc(&device->alloc, in v3dv_WaitForFences() local
1262 sizeof(*syncobjs) * fenceCount, 8, in v3dv_WaitForFences()
1264 if (!syncobjs) in v3dv_WaitForFences()
1269 syncobjs[i] = fence->sync; in v3dv_WaitForFences()
[all …]
/external/mesa3d/src/gallium/drivers/iris/
Diris_batch.h102 struct util_dynarray syncobjs; member
250 ((struct iris_syncobj **) util_dynarray_begin(&batch->syncobjs))[0]; in iris_batch_get_signal_syncobj()
Diris_fence.c107 util_dynarray_grow(&batch->syncobjs, struct iris_syncobj *, 1); in iris_batch_add_syncobj()
126 int n = util_dynarray_num_elements(&batch->syncobjs, struct iris_syncobj *); in clear_stale_syncobjs()
134 util_dynarray_element(&batch->syncobjs, struct iris_syncobj *, i); in clear_stale_syncobjs()
150 util_dynarray_pop_ptr(&batch->syncobjs, struct iris_syncobj *); in clear_stale_syncobjs()
Diris_batch.c195 util_dynarray_init(&batch->syncobjs, ralloc_context(NULL)); in iris_init_batch()
430 util_dynarray_foreach(&batch->syncobjs, struct iris_syncobj *, s) in iris_batch_free()
432 ralloc_free(batch->syncobjs.mem_ctx); in iris_batch_free()
715 util_dynarray_foreach(&batch->syncobjs, struct iris_syncobj *, s) in _iris_batch_flush()
717 util_dynarray_clear(&batch->syncobjs); in _iris_batch_flush()
/external/libdrm/amdgpu/
Damdgpu.h1518 const uint32_t *syncobjs, uint32_t syncobj_count);
1532 const uint32_t *syncobjs, uint32_t syncobj_count);
1547 const uint32_t *syncobjs,
Damdgpu_cs.c667 const uint32_t *syncobjs, in amdgpu_cs_syncobj_reset() argument
673 return drmSyncobjReset(dev->fd, syncobjs, syncobj_count); in amdgpu_cs_syncobj_reset()
677 const uint32_t *syncobjs, in amdgpu_cs_syncobj_signal() argument
683 return drmSyncobjSignal(dev->fd, syncobjs, syncobj_count); in amdgpu_cs_syncobj_signal()
687 const uint32_t *syncobjs, in amdgpu_cs_syncobj_timeline_signal() argument
694 return drmSyncobjTimelineSignal(dev->fd, syncobjs, in amdgpu_cs_syncobj_timeline_signal()
/external/mesa3d/src/freedreno/vulkan/
Dtu_kgsl.c297 sync_merge(const VkSemaphore *syncobjs, uint32_t count, bool wait_all, bool reset) in sync_merge() argument
304 TU_FROM_HANDLE(tu_syncobj, sync, syncobjs[i]); in sync_merge()
/external/mesa3d/docs/relnotes/
D19.1.0.rst3649 - winsys/amdgpu: use a separate fence list for syncobjs
D20.3.0.rst3007 - turnip: rework fences to use syncobjs
D20.2.0.rst753 - panfrost: Allocate syncobjs in panfrost_flush