/external/igt-gpu-tools/tests/ |
D | syncobj_wait.c | 193 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/ |
D | anv_wsi.c | 307 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()
|
D | anv_queue.c | 1550 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/ |
D | v3dv_queue.c | 1230 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/ |
D | iris_batch.h | 102 struct util_dynarray syncobjs; member 250 ((struct iris_syncobj **) util_dynarray_begin(&batch->syncobjs))[0]; in iris_batch_get_signal_syncobj()
|
D | iris_fence.c | 107 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()
|
D | iris_batch.c | 195 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/ |
D | amdgpu.h | 1518 const uint32_t *syncobjs, uint32_t syncobj_count); 1532 const uint32_t *syncobjs, uint32_t syncobj_count); 1547 const uint32_t *syncobjs,
|
D | amdgpu_cs.c | 667 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/ |
D | tu_kgsl.c | 297 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/ |
D | 19.1.0.rst | 3649 - winsys/amdgpu: use a separate fence list for syncobjs
|
D | 20.3.0.rst | 3007 - turnip: rework fences to use syncobjs
|
D | 20.2.0.rst | 753 - panfrost: Allocate syncobjs in panfrost_flush
|