| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/ |
| crocus_fine_fence.h | 60 struct crocus_syncobj *syncobj; member in struct:crocus_fine_fence
|
| crocus_fence.c | 66 struct crocus_syncobj *syncobj = malloc(sizeof(*syncobj)); local 68 if (!syncobj) 71 syncobj->handle = gem_syncobj_create(screen->fd, 0); 72 assert(syncobj->handle); 74 pipe_reference_init(&syncobj->ref, 1); 76 return syncobj; 81 struct crocus_syncobj *syncobj) 83 gem_syncobj_destroy(screen->fd, syncobj->handle); 84 free(syncobj); 131 struct crocus_syncobj **syncobj = local 494 struct crocus_syncobj *syncobj = malloc(sizeof(*syncobj)); local [all...] |
| crocus_batch.c | 350 batch->other_batches[b]->last_fence->syncobj, 534 struct crocus_syncobj *syncobj = crocus_create_syncobj(screen); local 535 crocus_batch_add_syncobj(batch, syncobj, I915_EXEC_FENCE_SIGNAL); 536 crocus_syncobj_reference(screen, &syncobj, NULL);
|
| crocus_batch.h | 146 /** A seqno (and syncobj) for the last batch that was submitted. */ 274 * Get a pointer to the batch's signalling syncobj. Does not refcount. 279 /* The signalling syncobj is the first one in the list. */ 280 struct crocus_syncobj *syncobj = local 282 return syncobj; 286 * Take a reference to the batch's signalling syncobj. 295 struct crocus_syncobj *syncobj = crocus_batch_get_signal_syncobj(batch); local 296 crocus_syncobj_reference(batch->screen, out_syncobj, syncobj);
|
| crocus_query.c | 90 struct crocus_syncobj *syncobj; member in struct:crocus_query 516 crocus_syncobj_reference(screen, &query->syncobj, NULL); 599 crocus_batch_reference_signal_syncobj(batch, &q->syncobj); 626 crocus_batch_reference_signal_syncobj(batch, &q->syncobj); 669 if (q->syncobj == crocus_batch_get_signal_syncobj(batch)) 675 crocus_wait_syncobj(ctx->screen, q->syncobj, INT64_MAX); 681 if (crocus_wait_syncobj(ctx->screen, q->syncobj, wait ? INT64_MAX : 0)) { 727 if (q->syncobj == crocus_batch_get_signal_syncobj(batch))
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/ |
| freedreno_fence.h | 77 uint32_t syncobj; member in struct:pipe_fence_handle
|
| freedreno_fence.c | 109 if (fence->syncobj) 110 drmSyncobjDestroy(fd_device_fd(fence->screen->dev), fence->syncobj); 162 int syncobj) 180 fence->syncobj = syncobj; 198 uint32_t syncobj; local 201 ret = drmSyncobjFDToHandle(fd_device_fd(ctx->screen->dev), fd, &syncobj); 205 *pfence = fence_create(fd_context(pctx), NULL, -1, syncobj); 243 if (fence->syncobj) { 244 drmSyncobjSignal(fd_device_fd(ctx->screen->dev), &fence->syncobj, 1) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/ |
| iris_fine_fence.h | 60 struct iris_syncobj *syncobj; member in struct:iris_fine_fence
|
| iris_batch.h | 124 /** A seqno (and syncobj) for the last batch that was submitted. */ 249 * Get a pointer to the batch's signalling syncobj. Does not refcount. 254 /* The signalling syncobj is the first one in the list. */ 255 struct iris_syncobj *syncobj = local 257 return syncobj; 262 * Take a reference to the batch's signalling syncobj. 271 struct iris_syncobj *syncobj = iris_batch_get_signal_syncobj(batch); local 272 iris_syncobj_reference(batch->screen->bufmgr, out_syncobj, syncobj);
|
| iris_fence.c | 69 struct iris_syncobj *syncobj = malloc(sizeof(*syncobj)); local 71 if (!syncobj) 74 syncobj->handle = gem_syncobj_create(fd, 0); 75 assert(syncobj->handle); 77 pipe_reference_init(&syncobj->ref, 1); 79 return syncobj; 83 iris_syncobj_destroy(struct iris_bufmgr *bufmgr, struct iris_syncobj *syncobj) 86 gem_syncobj_destroy(fd, syncobj->handle); 87 free(syncobj); 151 struct iris_syncobj **syncobj = local 546 struct iris_syncobj *syncobj = malloc(sizeof(*syncobj)); local [all...] |
| iris_batch.c | 427 struct iris_syncobj *syncobj = iris_create_syncobj(bufmgr); local 428 iris_batch_add_syncobj(batch, syncobj, I915_EXEC_FENCE_SIGNAL); 429 iris_syncobj_reference(bufmgr, &syncobj, NULL); 729 /* If we're writing to it, set our batch's syncobj as write_syncobj so 915 /* When batch submission fails, our end-of-batch syncobj remains 919 * attempt to carry on. In that case, we need to signal our syncobj, 922 * those batches, because they depend on a syncobj that's considered to be 924 * the failing batch's syncobj to try and allow further progress to be
|
| iris_query.c | 68 struct iris_syncobj *syncobj; member in struct:iris_query 486 iris_syncobj_reference(screen->bufmgr, &query->syncobj, NULL); 561 iris_batch_reference_signal_syncobj(batch, &q->syncobj); 579 iris_batch_reference_signal_syncobj(batch, &q->syncobj); 630 if (q->syncobj == iris_batch_get_signal_syncobj(batch)) 635 iris_wait_syncobj(screen->bufmgr, q->syncobj, INT64_MAX); 678 if (q->syncobj == iris_batch_get_signal_syncobj(batch))
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/v3d/ |
| v3d_fence.c | 74 unsigned syncobj; local 75 ret = drmSyncobjCreate(screen->fd, 0, &syncobj); 77 fprintf(stderr, "Failed to create syncobj to wait on: %d\n", 82 drmSyncobjImportSyncFile(screen->fd, syncobj, f->fd); 84 fprintf(stderr, "Failed to import fence to syncobj: %d\n", ret); 92 ret = drmSyncobjWait(screen->fd, &syncobj, 1, abs_timeout, 0, NULL); 94 drmSyncobjDestroy(screen->fd, syncobj); 107 * another syncobj instead of a sync file, but this is all we get. 108 * (HandleToFD/FDToHandle just gives you another syncobj ID for the 109 * same syncobj) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/v3d/ |
| v3d_fence.c | 81 unsigned syncobj; local 83 ret = drmSyncobjCreate(screen->fd, 0, &syncobj); 85 fprintf(stderr, "Failed to create syncobj to wait on: %d\n", 90 ret = drmSyncobjImportSyncFile(screen->fd, syncobj, fence->fd); 92 fprintf(stderr, "Failed to import fence to syncobj: %d\n", ret); 100 ret = drmSyncobjWait(screen->fd, &syncobj, 1, abs_timeout, 0, NULL); 102 drmSyncobjDestroy(screen->fd, syncobj); 127 * another syncobj instead of a sync file, but this is all we get. 128 * (HandleToFD/FDToHandle just gives you another syncobj ID for the 129 * same syncobj) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/winsys/amdgpu/ |
| radv_amdgpu_winsys.h | 65 /* syncobj cache */ 67 uint32_t *syncobj; member in struct:radv_amdgpu_winsys
|
| radv_amdgpu_cs.c | 1324 const uint32_t *src = syncobj_override ? syncobj_override : counts->syncobj; 1325 struct drm_amdgpu_cs_chunk_sem *syncobj = local 1327 if (!syncobj) 1331 struct drm_amdgpu_cs_chunk_sem *sem = &syncobj[i]; 1337 chunk->chunk_data = (uint64_t)(uintptr_t)syncobj; 1338 return syncobj; 1346 const uint32_t *src = syncobj_override ? syncobj_override : counts->syncobj; 1347 struct drm_amdgpu_cs_chunk_syncobj *syncobj = local 1350 if (!syncobj) 1354 struct drm_amdgpu_cs_chunk_syncobj *sem = &syncobj[i] [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/ |
| brw_sync.c | 80 struct drm_syncobj_handle *syncobj; member in struct:intel_semaphore_object 114 iSemObj->syncobj = CALLOC_STRUCT(drm_syncobj_handle); 115 iSemObj->syncobj->fd = fd; 117 if (drmIoctl(screen->fd, DRM_IOCTL_SYNCOBJ_FD_TO_HANDLE, iSemObj->syncobj) < 0) { 120 free(iSemObj->syncobj); 138 fence->handle = iSemObj->syncobj->handle; 155 .handles = (uintptr_t)&iSemObj->syncobj->handle,
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/ |
| pan_drm.c | 282 * another syncobj instead of a sync file, but this is all we get. 283 * (HandleToFD/FDToHandle just gives you another syncobj ID for the 284 * same syncobj). 385 unsigned syncobj; local 386 ret = drmSyncobjCreate(drm->fd, 0, &syncobj); 388 fprintf(stderr, "Failed to create syncobj to wait on: %m\n"); 392 drmSyncobjImportSyncFile(drm->fd, syncobj, f->fd); 394 fprintf(stderr, "Failed to import fence to syncobj: %m\n"); 402 ret = drmSyncobjWait(drm->fd, &syncobj, 1, abs_timeout, 0, NULL); 404 drmSyncobjDestroy(drm->fd, syncobj); [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/winsys/amdgpu/drm/ |
| amdgpu_cs.h | 173 /* If ctx == NULL, this fence is syncobj-based. */ 174 uint32_t syncobj; member in struct:amdgpu_fence 213 amdgpu_cs_destroy_syncobj(fence->ws->dev, fence->syncobj);
|
| amdgpu_cs.c | 70 r = amdgpu_cs_import_syncobj(ws->dev, fd, &fence->syncobj); 93 /* fence->ctx == NULL means that the fence is syncobj-based. */ 95 /* Convert sync_file into syncobj. */ 96 int r = amdgpu_cs_create_syncobj(ws->dev, &fence->syncobj); 102 r = amdgpu_cs_syncobj_import_sync_file(ws->dev, fence->syncobj, fd); 104 amdgpu_cs_destroy_syncobj(ws->dev, fence->syncobj); 123 /* Convert syncobj into sync_file. */ 124 r = amdgpu_cs_syncobj_export_sync_file(ws->dev, fence->syncobj, &fd); 143 uint32_t syncobj; local 147 &syncobj); [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/amdgpu/drm/ |
| amdgpu_cs.h | 149 /* If ctx == NULL, this fence is syncobj-based. */ 150 uint32_t syncobj; member in struct:amdgpu_fence 189 amdgpu_cs_destroy_syncobj(fence->ws->dev, fence->syncobj);
|
| /xsrc/external/mit/xorgproto/dist/include/X11/extensions/ |
| dri3proto.h | 275 DRI3Syncobj syncobj; member in struct:__anon11573 284 DRI3Syncobj syncobj; member in struct:__anon11574
|
| /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/ |
| radv_radeon_winsys.h | 174 uint32_t syncobj_reset_count; /* for wait only, whether to reset the syncobj */ 176 uint32_t *syncobj; member in struct:radv_winsys_sem_counts 308 int (*export_syncobj)(struct radeon_winsys *ws, uint32_t syncobj, int *fd); 309 int (*import_syncobj)(struct radeon_winsys *ws, int fd, uint32_t *syncobj); 311 int (*export_syncobj_to_sync_file)(struct radeon_winsys *ws, uint32_t syncobj, int *fd); 313 /* Note that this, unlike the normal import, uses an existing syncobj. */ 314 int (*import_syncobj_from_sync_file)(struct radeon_winsys *ws, uint32_t syncobj, int fd);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/panfrost/ |
| pan_context.h | 107 uint32_t syncobj; member in struct:pipe_fence_handle 135 uint32_t syncobj; member in struct:panfrost_context
|
| /xsrc/external/mit/MesaLib/dist/src/intel/vulkan/ |
| anv_queue.c | 755 uint32_t syncobj; local 759 syncobj = anv_gem_syncobj_create(device, 0); 760 if (!syncobj) { 765 result = anv_queue_submit_add_syncobj(queue, submit, syncobj, 801 if (anv_gem_syncobj_wait(device, &syncobj, 1, 804 anv_gem_syncobj_destroy(device, syncobj); 822 anv_gem_syncobj_destroy(device, syncobj); 848 * make copies of the temporary syncobj to ensure they stay alive until we 882 out->syncobj = anv_gem_syncobj_create(device, 0); 883 if (!out->syncobj) [all...] |