Searched refs:syncobj_capacity (Results 1 – 2 of 2) sorted by relevance
63 uint32_t syncobj_count, syncobj_capacity; member
1528 if (count > ws->syncobj_capacity) { in radv_amdgpu_cache_alloc_syncobjs()1529 if (ws->syncobj_capacity > UINT32_MAX / 2) in radv_amdgpu_cache_alloc_syncobjs()1532 unsigned new_capacity = MAX2(count, ws->syncobj_capacity * 2); in radv_amdgpu_cache_alloc_syncobjs()1536 ws->syncobj_capacity = new_capacity; in radv_amdgpu_cache_alloc_syncobjs()1563 if (cache_count + ws->syncobj_count > ws->syncobj_capacity) { in radv_amdgpu_cache_free_syncobjs()1564 unsigned new_capacity = MAX2(ws->syncobj_count + cache_count, ws->syncobj_capacity * 2); in radv_amdgpu_cache_free_syncobjs()1567 ws->syncobj_capacity = new_capacity; in radv_amdgpu_cache_free_syncobjs()1573 if (ws->syncobj_count < ws->syncobj_capacity) in radv_amdgpu_cache_free_syncobjs()