Home
last modified time | relevance | path

Searched refs:perf_counter_lock_cs (Results 1 – 3 of 3) sorted by relevance

/aosp_15_r20/external/mesa3d/src/amd/vulkan/
H A Dradv_device.c534 … device->perf_counter_lock_cs = calloc(sizeof(struct radeon_winsys_cs *), 2 * PERF_CTR_MAX_PASSES); in radv_device_init_perf_counter()
535 if (!device->perf_counter_lock_cs) in radv_device_init_perf_counter()
550 if (!device->perf_counter_lock_cs) in radv_device_finish_perf_counter()
554 if (device->perf_counter_lock_cs[i]) in radv_device_finish_perf_counter()
555 device->ws->cs_destroy(device->perf_counter_lock_cs[i]); in radv_device_finish_perf_counter()
558 free(device->perf_counter_lock_cs); in radv_device_finish_perf_counter()
H A Dradv_device.h529 struct radeon_cmdbuf **perf_counter_lock_cs; member
H A Dradv_queue.c1518 struct radeon_cmdbuf **cs_ref = &device->perf_counter_lock_cs[pass * 2 + (unlock ? 1 : 0)]; in radv_create_perf_counter_lock_cs()