Lines Matching refs:queries
141 pool->queries[query].perf.kperfmon_ids[i] = req.id;
151 if (!pool->queries[query].perf.kperfmon_ids[0])
156 .id = pool->queries[query].perf.kperfmon_ids[i]
196 pool->queries = vk_alloc2(&device->vk.alloc, pAllocator, pool_bytes, 8,
198 if (pool->queries == NULL) {
205 /* The hardware allows us to setup groups of 16 queries in consecutive
206 * 4-byte addresses, requiring only that each group of 16 queries is
247 pool->queries[query_idx].maybe_available = false;
252 pool->queries[query_idx].bo = pool->bo;
253 pool->queries[query_idx].offset = query_offset;
257 pool->queries[query_idx].value = 0;
262 &pool->queries[query_idx].perf.last_job_sync);
267 pool->queries[query_idx].perf.kperfmon_ids[j] = 0;
282 vk_sync_destroy(&device->vk, pool->queries[j].perf.last_job_sync);
287 if (pool->queries)
288 vk_free2(&device->vk.alloc, pAllocator, pool->queries);
311 vk_sync_destroy(&device->vk, pool->queries[i].perf.last_job_sync);
315 if (pool->queries)
316 vk_free2(&device->vk.alloc, pAllocator, pool->queries);
392 struct v3dv_query *q = &pool->queries[query];
410 struct v3dv_query *q = &pool->queries[query];
426 struct v3dv_query *q = &pool->queries[query];
502 struct v3dv_query *q = &pool->queries[query];
570 * both not set then no result values are written to pData for queries
573 * state is still written to pData for those queries if
676 struct v3dv_query *q = &pool->queries[i];