Home
last modified time | relevance | path

Searched refs:bo_size (Results 1 - 25 of 71) sorted by relevance

123

/third_party/libdrm/freedreno/
H A Dfreedreno_priv.h106 int bo_size; member
237 VALGRIND_DISABLE_ADDR_ERROR_REPORTING_IN_RANGE(bo, bo->dev->bo_size); in VG_BO_RELEASE()
238 VALGRIND_MAKE_MEM_NOACCESS(bo, bo->dev->bo_size); in VG_BO_RELEASE()
245 VALGRIND_MAKE_MEM_DEFINED(bo, bo->dev->bo_size); in VG_BO_OBTAIN()
246 VALGRIND_ENABLE_ADDR_ERROR_REPORTING_IN_RANGE(bo, bo->dev->bo_size); in VG_BO_OBTAIN()
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_descriptor_set.c44 uint32_t bo_size = v3dv_X(device, descriptor_bo_size)(binding_layout->type); in descriptor_bo_map() local
45 assert(bo_size > 0 || in descriptor_bo_map()
50 array_index * bo_size; in descriptor_bo_map()
413 /* bo_size is for the descriptor related info that we need to have on a GPU in v3dv_CreateDescriptorPool()
417 uint32_t bo_size = 0; in v3dv_CreateDescriptorPool() local
453 bo_size += pCreateInfo->pPoolSizes[i].descriptorCount; in v3dv_CreateDescriptorPool()
456 bo_size += v3dv_X(device, descriptor_bo_size)(pCreateInfo->pPoolSizes[i].type) * in v3dv_CreateDescriptorPool()
466 bo_size += V3D_NON_COHERENT_ATOM_SIZE * in v3dv_CreateDescriptorPool()
493 if (bo_size > 0) { in v3dv_CreateDescriptorPool()
494 pool->bo = v3dv_bo_alloc(device, bo_size, "descripto in v3dv_CreateDescriptorPool()
1275 uint32_t bo_size = 0; v3dv_GetDescriptorSetLayoutSupport() local
[all...]
H A Dv3dv_bo.c51 fprintf(stderr, " BOs size: %dkb\n", device->bo_size / 1024); in bo_dump_stats()
145 device->bo_size -= bo->size; in bo_free()
257 device->bo_size += bo->size; in v3dv_bo_alloc()
384 device->bo_size = 0; in v3dv_bo_cache_init()
/third_party/mesa3d/src/gallium/drivers/panfrost/
H A Dpan_mempool.c136 unsigned bo_size = aligned + PAN_GUARD_SIZE; in panfrost_pool_alloc_aligned() local
138 bo = panfrost_pool_alloc_backing(pool, bo_size); in panfrost_pool_alloc_aligned()
139 memset(bo->ptr.cpu, 0xbb, bo_size); in panfrost_pool_alloc_aligned()
/third_party/mesa3d/src/freedreno/drm/
H A Dfreedreno_priv.h145 int bo_size; member
449 VALGRIND_DISABLE_ADDR_ERROR_REPORTING_IN_RANGE(bo, bo->dev->bo_size); in VG_BO_RELEASE()
450 VALGRIND_MAKE_MEM_NOACCESS(bo, bo->dev->bo_size); in VG_BO_RELEASE()
458 VALGRIND_MAKE_MEM_DEFINED(bo, bo->dev->bo_size); in VG_BO_OBTAIN()
459 VALGRIND_ENABLE_ADDR_ERROR_REPORTING_IN_RANGE(bo, bo->dev->bo_size); in VG_BO_OBTAIN()
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_screen.h86 uint32_t bo_size; member
93 uint32_t bo_size; member
H A Dvc4_bufmgr.c83 fprintf(stderr, " BOs size: %dkb\n", screen->bo_size / 1024); in vc4_bo_dump_stats()
85 fprintf(stderr, " BOs cached size: %dkb\n", cache->bo_size / 1024); in vc4_bo_dump_stats()
113 cache->bo_size -= bo->size; in vc4_bo_remove_from_cache()
166 screen->bo_size -= bo->size; in vc4_bo_free()
270 screen->bo_size += bo->size; in vc4_bo_alloc()
367 cache->bo_size += bo->size; in vc4_bo_last_unreference_locked_timed()
503 screen->bo_size += bo->size; in vc4_bo_alloc_shader()
/third_party/libdrm/radeon/
H A Dradeon_surface.c194 surf->bo_size = offset + surflevel->slice_size * surflevel->nblk_z * surf->array_size; in surf_minify()
292 offset = surf->bo_size; in r6_surface_init_linear()
320 offset = surf->bo_size; in r6_surface_init_linear_aligned()
353 offset = surf->bo_size; in r6_surface_init_1d()
396 offset = surf->bo_size; in r6_surface_init_2d()
608 surf->bo_size = offset + surflevel->slice_size * surflevel->nblk_z * surf->array_size; in eg_surf_minify()
644 offset = surf->bo_size; in eg_surface_init_1d()
697 offset = surf->bo_size; in eg_surface_init_2d()
804 surf->bo_size, 0); in eg_surface_init_1d_miptrees()
827 surf->stencil_tile_split, surf->bo_size, in eg_surface_init_2d_miptrees()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/
H A DesextcTessellationShaderTessellation.cpp1238 unsigned int bo_size = in initRun() local
1244 run.n_restart_indices = (bo_size / interleave_rate); in initRun()
1245 bo_size += 1 /* restart index */ * run.n_restart_indices; in initRun()
1249 bo_contents = new unsigned char[bo_size]; in initRun()
1261 memset(bo_contents, 0, bo_size); in initRun()
1265 for (unsigned int n_index = interleave_rate; n_index < bo_size; n_index += interleave_rate) in initRun()
1278 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, bo_size, bo_contents, GL_STATIC_DRAW); in initRun()
1361 glw::GLint bo_size = static_cast<glw::GLint>(run.n_result_vertices * 5 /* ints */ * sizeof(int)); in iterate() local
1363 gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, bo_size, DE_NULL, GL_STATIC_DRAW); in iterate()
1410 bo_size, GL_MAP_READ_BI in iterate()
2425 glw::GLint bo_size = 0; initBufferObjects() local
2853 glw::GLint bo_size = static_cast<glw::GLint>(2 /* number of vertices */ * sizeof(glw::GLfloat) * compareValues() local
[all...]
H A DesextcTessellationShaderVertexOrdering.cpp408 glw::GLuint bo_size = static_cast<glw::GLuint>(test_iteration.n_vertices * 3 /* components */ * sizeof(float)); in initTestIteration() local
410 gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, bo_size, DE_NULL, /* data */ in initTestIteration()
415 test_iteration.data = new char[bo_size]; in initTestIteration()
445 bo_size, GL_MAP_READ_BIT); in initTestIteration()
449 memcpy(test_iteration.data, xfb_data, bo_size); in initTestIteration()
H A DesextcTessellationShaderInvariance.cpp545 unsigned int bo_size = 0; in iterate() local
553 &vertex_ordering, &bo_size); in iterate()
555 DE_ASSERT(bo_size != 0); in iterate()
563 char* zero_bo_data = new char[bo_size]; in iterate()
565 memset(zero_bo_data, 0, bo_size); in iterate()
567 gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, bo_size, zero_bo_data, GL_STATIC_DRAW); in iterate()
575 iteration_data[n_iteration] = new char[bo_size]; in iterate()
633 if (used_tf_bo_size != bo_size) in iterate()
635 m_testCtx.getLog() << tcu::TestLog::Message << "Expected " << bo_size in iterate()
647 bo_size, GL_MAP_READ_BI in iterate()
840 unsigned int bo_size = 0; getTECode() local
1119 unsigned int bo_size = 0; getTECode() local
[all...]
H A DesextcTessellationShaderUtils.cpp130 glw::GLint bo_size = static_cast<glw::GLint>(sizeof(float) * 3 /* components */ * program.n_data_vertices); in captureTessellationData() local
138 m_gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, bo_size, DE_NULL, /* data */ in captureTessellationData()
158 bo_size, GL_MAP_READ_BIT); in captureTessellationData()
161 program.m_data.resize(bo_size); in captureTessellationData()
163 memcpy(&program.m_data[0], xfb_data, bo_size); in captureTessellationData()
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_vX_image.c123 unsigned bo_size = in CreateImageView() local
127 view->bo = panfrost_bo_create(pdev, bo_size, 0, "Texture descriptor"); in CreateImageView()
200 unsigned bo_size = pan_size(SURFACE_WITH_STRIDE); in CreateBufferView() local
201 view->bo = panfrost_bo_create(pdev, bo_size, 0, "Texture descriptor"); in CreateBufferView()
H A Dpanvk_vX_pipeline.c206 unsigned bo_size = 0; in panvk_pipeline_builder_alloc_static_state_bo() local
216 bo_size = ALIGN_POT(bo_size, pan_alignment(RENDERER_STATE)); in panvk_pipeline_builder_alloc_static_state_bo()
217 builder->stages[i].rsd_offset = bo_size; in panvk_pipeline_builder_alloc_static_state_bo()
218 bo_size += pan_size(RENDERER_STATE); in panvk_pipeline_builder_alloc_static_state_bo()
220 bo_size += pan_size(BLEND) * MAX2(pipeline->blend.state.rt_count, 1); in panvk_pipeline_builder_alloc_static_state_bo()
226 bo_size = ALIGN_POT(bo_size, pan_alignment(VIEWPORT)); in panvk_pipeline_builder_alloc_static_state_bo()
227 builder->vpd_offset = bo_size; in panvk_pipeline_builder_alloc_static_state_bo()
228 bo_size in panvk_pipeline_builder_alloc_static_state_bo()
[all...]
/third_party/mesa3d/src/gallium/drivers/asahi/
H A Dagx_blit.c56 unsigned bo_size = 4096; in agx_build_reload_shader() local
58 struct agx_bo *bo = agx_bo_create(dev, bo_size, AGX_MEMORY_TYPE_SHADER); in agx_build_reload_shader()
74 assert(offset + binary.size < bo_size); in agx_build_reload_shader()
/third_party/mesa3d/src/gallium/drivers/v3d/
H A Dv3d_bufmgr.c56 fprintf(stderr, " BOs size: %dkb\n", screen->bo_size / 1024); in v3d_bo_dump_stats()
177 screen->bo_size += bo->size; in v3d_bo_alloc()
221 screen->bo_size -= bo->size; in v3d_bo_free()
371 screen->bo_size += bo->size; in v3d_bo_open_handle()
H A Dv3d_screen.h78 uint32_t bo_size; member
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_buffer.c50 res->bo_size = size; in si_init_resource_fields()
173 new_buf = sscreen->ws->buffer_create(sscreen->ws, res->bo_size, 1 << res->bo_alignment_log2, in si_alloc_resource()
189 uint64_t last = start + res->bo_size - 1; in si_alloc_resource()
209 si_screen_clear_buffer(sscreen, &res->b.b, 0, res->bo_size, 0, SI_OP_SYNC_AFTER); in si_alloc_resource()
294 assert(sdst->bo_size == ssrc->bo_size); in si_replace_buffer_storage()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_descriptor_set.c780 uint64_t bo_size = 0, bo_count = 0, range_count = 0; in radv_CreateDescriptorPool() local
794 bo_size += 28llu * info->maxInlineUniformBlockBindings; in radv_CreateDescriptorPool()
819 bo_size += 32 * pCreateInfo->pPoolSizes[i].descriptorCount; in radv_CreateDescriptorPool()
823 bo_size += 64 * pCreateInfo->pPoolSizes[i].descriptorCount; in radv_CreateDescriptorPool()
837 bo_size += mutable_size * pCreateInfo->pPoolSizes[i].descriptorCount; in radv_CreateDescriptorPool()
840 bo_size += 64 * pCreateInfo->pPoolSizes[i].descriptorCount; in radv_CreateDescriptorPool()
844 bo_size += 96 * pCreateInfo->pPoolSizes[i].descriptorCount; in radv_CreateDescriptorPool()
847 bo_size += pCreateInfo->pPoolSizes[i].descriptorCount; in radv_CreateDescriptorPool()
878 if (bo_size) { in radv_CreateDescriptorPool()
887 device->ws, bo_size, 3 in radv_CreateDescriptorPool()
[all...]
/third_party/libdrm/freedreno/kgsl/
H A Dkgsl_device.c60 dev->bo_size = sizeof(struct kgsl_bo); in kgsl_device_new()
/third_party/libdrm/freedreno/msm/
H A Dmsm_device.c60 dev->bo_size = sizeof(struct msm_bo); in msm_device_new()
/third_party/mesa3d/src/gallium/drivers/r600/
H A Dr600_buffer_common.c112 res->bo_size = size; in r600_init_resource_fields()
171 new_buf = rscreen->ws->buffer_create(rscreen->ws, res->bo_size, in r600_alloc_resource()
260 assert(rdst->bo_size == rsrc->bo_size); in r600_replace_buffer_storage()
/third_party/mesa3d/src/freedreno/drm/msm/
H A Dmsm_device.c93 dev->bo_size = sizeof(struct msm_bo); in msm_device_new()
/third_party/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_context.h50 unsigned bo_size; member
/third_party/mesa3d/src/intel/tools/
H A Dintel_sanitize_gpu.c93 bo_size(int fd, uint32_t handle) in bo_size() function
168 .offset = align64(bo_size(fd, handle), 4096), in padding_is_good()

Completed in 32 milliseconds

123