Searched refs:scratch_bos (Results 1 – 6 of 6) sorted by relevance
1627 for (unsigned i = 0; i < ARRAY_SIZE(device->scratch_bos); i++) in tu_CreateDevice()1628 mtx_init(&device->scratch_bos[i].construct_mtx, mtx_plain); in tu_CreateDevice()1690 for (unsigned i = 0; i < ARRAY_SIZE(device->scratch_bos); i++) { in tu_DestroyDevice()1691 if (device->scratch_bos[i].initialized) in tu_DestroyDevice()1692 tu_bo_finish(device, &device->scratch_bos[i].bo); in tu_DestroyDevice()1741 assert(index < ARRAY_SIZE(dev->scratch_bos)); in tu_get_scratch_bo()1743 for (unsigned i = index; i < ARRAY_SIZE(dev->scratch_bos); i++) { in tu_get_scratch_bo()1744 if (p_atomic_read(&dev->scratch_bos[i].initialized)) { in tu_get_scratch_bo()1746 *bo = &dev->scratch_bos[i].bo; in tu_get_scratch_bo()1755 mtx_lock(&dev->scratch_bos[index].construct_mtx); in tu_get_scratch_bo()[all …]
392 } scratch_bos[48 - MIN_SCRATCH_BO_SIZE_LOG2]; member
547 struct crocus_bo *scratch_bos[1 << 4][MESA_SHADER_STAGES]; member
2646 struct crocus_bo **bop = &ice->shaders.scratch_bos[encoded_size][stage]; in crocus_get_scratch_space()
687 struct iris_bo *scratch_bos[1 << 4][MESA_SHADER_STAGES]; member
2359 assert(encoded_size < ARRAY_SIZE(ice->shaders.scratch_bos)); in iris_get_scratch_space()2370 struct iris_bo **bop = &ice->shaders.scratch_bos[encoded_size][stage]; in iris_get_scratch_space()