Home
last modified time | relevance | path

Searched refs:syncobj_count (Results 1 – 7 of 7) sorted by relevance

/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_cs.c1326 malloc(sizeof(struct drm_amdgpu_cs_chunk_sem) * counts->syncobj_count); in radv_amdgpu_cs_alloc_syncobj_chunk()
1330 for (unsigned i = 0; i < counts->syncobj_count; i++) { in radv_amdgpu_cs_alloc_syncobj_chunk()
1336 chunk->length_dw = sizeof(struct drm_amdgpu_cs_chunk_sem) / 4 * counts->syncobj_count; in radv_amdgpu_cs_alloc_syncobj_chunk()
1349 (counts->syncobj_count + counts->timeline_syncobj_count)); in radv_amdgpu_cs_alloc_timeline_syncobj_chunk()
1353 for (unsigned i = 0; i < counts->syncobj_count; i++) { in radv_amdgpu_cs_alloc_timeline_syncobj_chunk()
1361 struct drm_amdgpu_cs_chunk_syncobj *sem = &syncobj[i + counts->syncobj_count]; in radv_amdgpu_cs_alloc_timeline_syncobj_chunk()
1362 sem->handle = counts->syncobj[i + counts->syncobj_count]; in radv_amdgpu_cs_alloc_timeline_syncobj_chunk()
1369 (counts->syncobj_count + counts->timeline_syncobj_count); in radv_amdgpu_cs_alloc_timeline_syncobj_chunk()
1390 while (ws->syncobj_count < count) { in radv_amdgpu_cache_alloc_syncobjs()
1391 int r = amdgpu_cs_create_syncobj(ws->dev, ws->syncobj + ws->syncobj_count); in radv_amdgpu_cache_alloc_syncobjs()
[all …]
Dradv_amdgpu_winsys.h68 uint32_t syncobj_count, syncobj_capacity; member
Dradv_amdgpu_winsys.c166 for (unsigned i = 0; i < ws->syncobj_count; ++i) in radv_amdgpu_winsys_destroy()
/third_party/libdrm/amdgpu/
Damdgpu_cs.c668 uint32_t syncobj_count) in amdgpu_cs_syncobj_reset() argument
673 return drmSyncobjReset(dev->fd, syncobjs, syncobj_count); in amdgpu_cs_syncobj_reset()
678 uint32_t syncobj_count) in amdgpu_cs_syncobj_signal() argument
683 return drmSyncobjSignal(dev->fd, syncobjs, syncobj_count); in amdgpu_cs_syncobj_signal()
689 uint32_t syncobj_count) in amdgpu_cs_syncobj_timeline_signal() argument
695 points, syncobj_count); in amdgpu_cs_syncobj_timeline_signal()
Damdgpu.h1518 const uint32_t *syncobjs, uint32_t syncobj_count);
1532 const uint32_t *syncobjs, uint32_t syncobj_count);
1549 uint32_t syncobj_count);
/third_party/mesa3d/src/amd/vulkan/
Dradv_radeon_winsys.h173 uint32_t syncobj_count; member
Dradv_device.c4124 counts->syncobj_count++; in radv_alloc_sem_counts()
4130 counts->syncobj_count++; in radv_alloc_sem_counts()
4139 counts->syncobj_count++; in radv_alloc_sem_counts()
4141 if (counts->syncobj_count || counts->timeline_syncobj_count) { in radv_alloc_sem_counts()
4142 counts->points = (uint64_t *)malloc(sizeof(*counts->syncobj) * counts->syncobj_count + in radv_alloc_sem_counts()
4182 counts->syncobj[counts->syncobj_count + timeline_idx] = sems[i]->syncobj; in radv_alloc_sem_counts()
4197 assert(MAX2(syncobj_idx, non_reset_idx) <= counts->syncobj_count); in radv_alloc_sem_counts()
4198 counts->syncobj_count = MAX2(syncobj_idx, non_reset_idx); in radv_alloc_sem_counts()
4824 uint32_t syncobj_count = 0; in wait_for_submission_timelines_available() local
4833 ++syncobj_count; in wait_for_submission_timelines_available()
[all …]