| /xsrc/external/mit/MesaLib/dist/src/freedreno/vulkan/ |
| H A D | tu_wsi_display.c | 55 int sync_fd = tu_syncobj_to_fd(device, fence); local in function:tu_RegisterDeviceEventEXT 56 if (sync_fd >= 0) { 62 sync_fd); 64 close(sync_fd); 93 int sync_fd = tu_syncobj_to_fd(device, fence); local in function:tu_RegisterDisplayEventEXT 94 if (sync_fd >= 0) { 101 sync_fd); 103 close(sync_fd);
|
| H A D | tu_drm.c | 641 sync_import(VkDevice _device, struct tu_syncobj *sync, bool temporary, bool sync_fd, int fd) argument 646 if (!sync_fd) { 693 sync_export(VkDevice _device, struct tu_syncobj *sync, bool sync_fd, int *p_fd) argument 699 .flags = COND(sync_fd, DRM_SYNCOBJ_HANDLE_TO_FD_FLAGS_EXPORT_SYNC_FILE),
|
| /xsrc/external/mit/MesaLib/dist/src/vulkan/wsi/ |
| H A D | wsi_common_display.h | 37 int sync_fd); 46 int sync_fd);
|
| H A D | wsi_common_display.c | 1568 int sync_fd) 1579 if (sync_fd >= 0) { 1580 int ret = drmSyncobjFDToHandle(wsi->fd, sync_fd, &fence->syncobj); 2536 int sync_fd) 2557 int sync_fd) 2567 fence = wsi_display_fence_alloc(device, wsi_device, display, allocator, sync_fd); 1564 wsi_display_fence_alloc(VkDevice device,const struct wsi_device * wsi_device,VkDisplayKHR display,const VkAllocationCallbacks * allocator,int sync_fd) argument 2531 wsi_register_device_event(VkDevice device,struct wsi_device * wsi_device,const VkDeviceEventInfoEXT * device_event_info,const VkAllocationCallbacks * allocator,struct wsi_fence ** fence_p,int sync_fd) argument 2551 wsi_register_display_event(VkDevice device,struct wsi_device * wsi_device,VkDisplayKHR display,const VkDisplayEventInfoEXT * display_event_info,const VkAllocationCallbacks * allocator,struct wsi_fence ** fence_p,int sync_fd) argument
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/ |
| H A D | brw_sync.c | 55 /** The fence waits for brw_fence::sync_fd to signal. */ 63 int sync_fd; member in union:brw_fence::__anon41186dee010a 88 fence->sync_fd = -1; 102 if (fence->sync_fd != -1) 103 close(fence->sync_fd); 161 if (fence->sync_fd == -1) { 165 if (intel_batchbuffer_flush_fence(brw, -1, &fence->sync_fd) < 0) 167 assert(fence->sync_fd != -1); 177 if (intel_batchbuffer_flush_fence(brw, fence->sync_fd, NULL) < 0) 221 assert(fence->sync_fd ! [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/ |
| H A D | brw_sync.c | 58 /** The fence waits for brw_fence::sync_fd to signal. */ 66 int sync_fd; member in union:brw_fence::__anon53f66c41010a 175 fence->sync_fd = -1; 189 if (fence->sync_fd != -1) 190 close(fence->sync_fd); 248 if (fence->sync_fd == -1) { 252 if (brw_batch_flush_fence(brw, -1, &fence->sync_fd) < 0) 254 assert(fence->sync_fd != -1); 264 if (brw_batch_flush_fence(brw, fence->sync_fd, NULL) < 0) 308 assert(fence->sync_fd ! [all...] |
| /xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/ |
| H A D | panvk_sync.c | 81 bool temporary, bool sync_fd, int fd) 86 if (!sync_fd) { 136 bool sync_fd, int *p_fd) 142 .flags = sync_fd ? DRM_SYNCOBJ_HANDLE_TO_FD_FLAGS_EXPORT_SYNC_FILE : 0, 195 bool sync_fd = info->handleType == VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT; local in function:panvk_ImportSemaphoreFdKHR 197 return sync_import(device, &sem->syncobj, temp, sync_fd, info->fd); 205 bool sync_fd = info->handleType == VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT; local in function:panvk_GetSemaphoreFdKHR 207 return sync_export(device, &sem->syncobj, sync_fd, pFd); 250 bool sync_fd = info->handleType == VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT; local in function:panvk_ImportFenceFdKHR 253 return sync_import(device, &fence->syncobj, temp, sync_fd, inf 80 sync_import(struct panvk_device * device,struct panvk_syncobj * sync,bool temporary,bool sync_fd,int fd) argument 135 sync_export(struct panvk_device * device,struct panvk_syncobj * sync,bool sync_fd,int * p_fd) argument 261 bool sync_fd = info->handleType == VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT; local in function:panvk_GetFenceFdKHR [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/ |
| H A D | iris_fence.c | 272 sync_merge_fd(int sync_fd, int new_fd) argument 274 if (sync_fd == -1) 278 return sync_fd; 286 drm_ioctl(sync_fd, SYNC_IOC_MERGE, &args); 288 close(sync_fd);
|
| /xsrc/external/mit/libdrm/dist/tests/amdgpu/ |
| H A D | syncobj_tests.c | 233 int r, sync_fd; local in function:amdgpu_syncobj_timeline_test 291 &sync_fd); 294 18, sync_fd);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/ |
| H A D | crocus_fence.c | 401 sync_merge_fd(int sync_fd, int new_fd) argument 403 if (sync_fd == -1) 407 return sync_fd; 415 intel_ioctl(sync_fd, SYNC_IOC_MERGE, &args); 417 close(sync_fd);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/ |
| H A D | iris_fence.c | 452 sync_merge_fd(int sync_fd, int new_fd) argument 454 if (sync_fd == -1) 458 return sync_fd; 466 intel_ioctl(sync_fd, SYNC_IOC_MERGE, &args); 468 close(sync_fd);
|
| /xsrc/external/mit/MesaLib/dist/docs/relnotes/ |
| H A D | 20.1.4.rst | 82 - anv: properly handle fence import of sync_fd = -1
|
| H A D | 21.0.0.rst | 3221 - turnip: Close sync_fd only if it is a valid file descriptor.
|
| H A D | 20.2.0.rst | 3115 - anv: properly handle fence import of sync_fd = -1
|
| H A D | 20.3.0.rst | 4664 - turnip: Close sync_fd only if it is a valid file descriptor.
|
| /xsrc/external/mit/MesaLib/dist/src/virtio/vulkan/ |
| H A D | vn_renderer_virtgpu.c | 332 int sync_fd, 340 int pending_fd = dup(sync_fd); 462 int sync_fd, 473 int ret = sim_syncobj_submit(gpu, sync->syncobj_handle, sync_fd, 330 sim_syncobj_submit(struct virtgpu * gpu,uint32_t syncobj_handle,int sync_fd,uint64_t point,bool cpu) argument 461 sim_submit_signal_syncs(struct virtgpu * gpu,int sync_fd,struct vn_renderer_sync * const * syncs,const uint64_t * sync_values,uint32_t sync_count,bool cpu) argument
|