Home
last modified time | relevance | path

Searched refs:fence_info (Results 1 – 17 of 17) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/sync/
Dsync.c87 struct sync_fence_info *fence_info; in sync_file_info() local
106 fence_info = calloc(num_fences, sizeof(*fence_info)); in sync_file_info()
107 if (!fence_info) { in sync_file_info()
112 info->sync_fence_info = (uint64_t)(unsigned long)fence_info; in sync_file_info()
116 free(fence_info); in sync_file_info()
149 struct sync_fence_info *fence_info = NULL; in sync_fence_count_with_status() local
155 fence_info = (struct sync_fence_info *)(unsigned long)info->sync_fence_info; in sync_fence_count_with_status()
157 if (fence_info[i].status == status) in sync_fence_count_with_status()
/external/igt-gpu-tools/lib/
Dsw_sync.c173 struct sync_fence_info *fence_info; in __sync_fence_count_status() local
180 fence_info = calloc(info.num_fences, sizeof(*fence_info)); in __sync_fence_count_status()
181 if (!fence_info) in __sync_fence_count_status()
184 info.sync_fence_info = to_user_pointer(fence_info); in __sync_fence_count_status()
190 if (fence_info[i].status == status) in __sync_fence_count_status()
194 free(fence_info); in __sync_fence_count_status()
/external/deqp-deps/amber/src/vulkan/
Dcommand_buffer.cc52 VkFenceCreateInfo fence_info = VkFenceCreateInfo(); in Initialize() local
53 fence_info.sType = VK_STRUCTURE_TYPE_FENCE_CREATE_INFO; in Initialize()
54 if (device_->GetPtrs()->vkCreateFence(device_->GetVkDevice(), &fence_info, in Initialize()
/external/igt-gpu-tools/tests/amdgpu/
Damd_basic.c413 ibs_request.fence_info.handle = NULL; in amdgpu_command_submission_gfx_separate_ibs()
491 ibs_request.fence_info.handle = NULL; in amdgpu_command_submission_gfx_shared_ib()
589 ibs_request[0].fence_info.handle = NULL; in amdgpu_semaphore_test()
606 ibs_request[1].fence_info.handle = NULL; in amdgpu_semaphore_test()
630 ibs_request[0].fence_info.handle = NULL; in amdgpu_semaphore_test()
647 ibs_request[1].fence_info.handle = NULL; in amdgpu_semaphore_test()
718 ibs_request.fence_info.handle = NULL; in amdgpu_command_submission_compute_nop()
816 ibs_request->fence_info.handle = NULL; in amdgpu_test_exec_cs_helper()
1261 ibs_request[i].fence_info.handle = NULL; in amdgpu_command_submission_multi_fence_wait_all()
/external/libdrm/tests/amdgpu/
Ddeadlock_tests.c289 ibs_request.fence_info.handle = NULL; in amdgpu_deadlock_helper()
385 ibs_request.fence_info.handle = NULL; in amdgpu_deadlock_sdma()
466 ibs_request.fence_info.handle = NULL; in bad_access_helper()
Dbasic_tests.c763 ibs_request.fence_info.handle = NULL; in amdgpu_command_submission_gfx_separate_ibs()
847 ibs_request.fence_info.handle = NULL; in amdgpu_command_submission_gfx_shared_ib()
1105 ibs_request[0].fence_info.handle = NULL; in amdgpu_semaphore_test()
1122 ibs_request[1].fence_info.handle = NULL; in amdgpu_semaphore_test()
1146 ibs_request[0].fence_info.handle = NULL; in amdgpu_semaphore_test()
1163 ibs_request[1].fence_info.handle = NULL; in amdgpu_semaphore_test()
1240 ibs_request.fence_info.handle = NULL; in amdgpu_command_submission_compute_nop()
1348 ibs_request->fence_info.handle = NULL; in amdgpu_test_exec_cs_helper_raw()
1969 ibs_request[i].fence_info.handle = NULL; in amdgpu_command_submission_multi_fence_wait_all()
2237 ibs_request.fence_info.handle = NULL; in amdgpu_sync_dependency_test()
[all …]
Dvm_tests.c149 ibs_request.fence_info.handle = NULL; in amdgpu_vmid_reserve_test()
Dcs_tests.c173 ibs_request.fence_info.handle = NULL; in submit()
Dvcn_tests.c236 ibs_request.fence_info.handle = NULL; in submit()
Duvd_enc_tests.c173 ibs_request.fence_info.handle = NULL; in submit()
Dvce_tests.c217 ibs_request.fence_info.handle = NULL; in submit()
/external/libdrm/amdgpu/
Damdgpu_cs.c243 user_fence = (ibs_request->fence_info.handle != NULL); in amdgpu_cs_submit_one()
285 chunk_data[i].fence_data.handle = ibs_request->fence_info.handle->handle; in amdgpu_cs_submit_one()
288 ibs_request->fence_info.offset * sizeof(uint64_t); in amdgpu_cs_submit_one()
912 drm_public void amdgpu_cs_chunk_fence_info_to_data(struct amdgpu_cs_fence_info *fence_info, in amdgpu_cs_chunk_fence_info_to_data() argument
915 data->fence_data.handle = fence_info->handle->handle; in amdgpu_cs_chunk_fence_info_to_data()
916 data->fence_data.offset = fence_info->offset * sizeof(uint64_t); in amdgpu_cs_chunk_fence_info_to_data()
Damdgpu.h379 struct amdgpu_cs_fence_info fence_info; member
1806 void amdgpu_cs_chunk_fence_info_to_data(struct amdgpu_cs_fence_info *fence_info,
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_cs.c146 struct amdgpu_cs_fence_info fence_info; member
947 request.fence_info = radv_set_cs_fence(ctx, cs0->hw_ip, queue_idx); in radv_amdgpu_winsys_cs_submit_chained()
1036 request.fence_info = radv_set_cs_fence(ctx, cs0->hw_ip, queue_idx); in radv_amdgpu_winsys_cs_submit_fallback()
1235 request.fence_info = radv_set_cs_fence(ctx, cs0->hw_ip, queue_idx); in radv_amdgpu_winsys_cs_submit_sysmem()
1641 user_fence = (request->fence_info.handle != NULL); in radv_amdgpu_cs_submit()
1681 amdgpu_cs_chunk_fence_info_to_data(&request->fence_info, in radv_amdgpu_cs_submit()
/external/mesa3d/src/vulkan/wsi/
Dwsi_common.c570 const VkFenceCreateInfo fence_info = { in wsi_common_queue_present() local
575 result = wsi->CreateFence(device, &fence_info, in wsi_common_queue_present()
/external/mesa3d/src/vulkan/overlay-layer/
Doverlay.cpp391 VkFenceCreateInfo fence_info = {}; in new_queue_data() local
392 fence_info.sType = VK_STRUCTURE_TYPE_FENCE_CREATE_INFO; in new_queue_data()
393 fence_info.flags = VK_FENCE_CREATE_SIGNALED_BIT; in new_queue_data()
395 &fence_info, in new_queue_data()
540 VkFenceCreateInfo fence_info = {}; in get_overlay_draw() local
541 fence_info.sType = VK_STRUCTURE_TYPE_FENCE_CREATE_INFO; in get_overlay_draw()
543 &fence_info, in get_overlay_draw()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c973 struct amdgpu_cs_fence_info fence_info; in amdgpu_cs_create() local
974 fence_info.handle = cs->ctx->user_fence_bo; in amdgpu_cs_create()
975 fence_info.offset = cs->ring_type * 4; in amdgpu_cs_create()
976 amdgpu_cs_chunk_fence_info_to_data(&fence_info, (void*)&cs->fence_chunk); in amdgpu_cs_create()