Lines Matching refs:pdevice

326 radv_get_counter_registers(const struct radv_physical_device *pdevice, uint32_t num_indices,
329 ASSERTED uint32_t num_counters = pdevice->num_perfcounters;
330 const struct radv_perfcounter_desc *descs = pdevice->perfcounters;
363 radv_pc_get_num_instances(const struct radv_physical_device *pdevice, struct ac_pc_block *ac_block)
366 ((ac_block->b->b->flags & AC_PC_BLOCK_SE) ? pdevice->rad_info.max_se : 1);
370 radv_get_num_counter_passes(const struct radv_physical_device *pdevice, unsigned num_regs,
384 ac_block = ac_pc_get_block(&pdevice->ac_perfcounters, block);
404 radv_pc_init_query_pool(struct radv_physical_device *pdevice,
411 if (!radv_init_perfcounter_descs(pdevice))
415 radv_get_counter_registers(pdevice, perf_info->counterIndexCount, perf_info->pCounterIndices,
420 pool->num_passes = radv_get_num_counter_passes(pdevice, pool->num_pc_regs, pool->pc_regs);
429 struct ac_pc_block *ac_block = ac_pc_get_block(&pdevice->ac_perfcounters, block);
430 unsigned num_instances = radv_pc_get_num_instances(pdevice, ac_block);
447 pool->counters[i] = pdevice->perfcounters[perf_info->pCounterIndices[i]].impl;
583 struct radv_physical_device *pdevice = cmd_buffer->device->physical_device;
612 struct ac_pc_block *ac_block = ac_pc_get_block(&pdevice->ac_perfcounters, block);
614 unsigned num_instances = radv_pc_get_num_instances(pdevice, ac_block);
651 struct radv_physical_device *pdevice = cmd_buffer->device->physical_device;
695 struct ac_pc_block *ac_block = ac_pc_get_block(&pdevice->ac_perfcounters, block);
844 RADV_FROM_HANDLE(radv_physical_device, pdevice, physicalDevice);
846 if (vk_queue_to_radv(pdevice, queueFamilyIndex) != RADV_QUEUE_GENERAL) {
851 if (!radv_init_perfcounter_descs(pdevice))
854 uint32_t counter_cnt = pdevice->num_perfcounters;
855 const struct radv_perfcounter_desc *descs = pdevice->perfcounters;
897 RADV_FROM_HANDLE(radv_physical_device, pdevice, physicalDevice);
904 if (!radv_init_perfcounter_descs(pdevice)) {
911 assert(vk_queue_to_radv(pdevice, pPerformanceQueryCreateInfo->queueFamilyIndex) ==
917 radv_get_counter_registers(pdevice, pPerformanceQueryCreateInfo->counterIndexCount,
924 *pNumPasses = radv_get_num_counter_passes(pdevice, num_regs, regs);