Home
last modified time | relevance | path

Searched refs:vram_usage (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/gallium/drivers/r600/
Dr600_buffer_common.c178 res->vram_usage = 0; in r600_init_resource_fields()
182 res->vram_usage = size; in r600_init_resource_fields()
281 assert(rdst->vram_usage == rsrc->vram_usage); in r600_replace_buffer_storage()
662 rbuffer->vram_usage = 0; in r600_buffer_from_user_memory()
Dr600_pipe_common.c235 vram += dst->vram_usage; in r600_need_dma_space()
239 vram += src->vram_usage; in r600_need_dma_space()
1139 unsigned vram_usage, gtt_usage; in r600_query_memory_info() local
1154 vram_usage = ws->query_value(ws, RADEON_REQUESTED_VRAM_MEMORY) / 1024; in r600_query_memory_info()
1158 vram_usage <= info->total_device_memory ? in r600_query_memory_info()
1159 info->total_device_memory - vram_usage : 0; in r600_query_memory_info()
Dr600_cs.h109 rctx->vram + rbo->vram_usage, in radeon_add_to_buffer_list_check_mem()
Dr600_pipe_common.h142 uint64_t vram_usage; member
819 rctx->vram += res->vram_usage; in r600_context_add_resource_size()
Dr600_texture.c410 rtex->resource.vram_usage = new_tex->resource.vram_usage; in r600_reallocate_texture_inplace()
987 resource->vram_usage = buf->size; in r600_texture_create_object()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_buffer.c199 res->vram_usage = 0; in si_init_resource_fields()
205 res->vram_usage = size; in si_init_resource_fields()
320 assert(sdst->vram_usage == ssrc->vram_usage); in si_replace_buffer_storage()
729 buf->vram_usage = 0; in si_buffer_from_user_memory()
753 res->vram_usage = res->bo_size; in si_buffer_from_winsys_buffer()
Dsi_get.c849 unsigned vram_usage, gtt_usage; in si_query_memory_info() local
864 vram_usage = ws->query_value(ws, RADEON_VRAM_USAGE) / 1024; in si_query_memory_info()
868 vram_usage <= info->total_device_memory ? info->total_device_memory - vram_usage : 0; in si_query_memory_info()
Dsi_dma_cs.c221 vram += dst->vram_usage; in si_need_dma_space()
225 vram += src->vram_usage; in si_need_dma_space()
Dsi_pipe.h266 uint64_t vram_usage; member
1616 sctx->vram += si_resource(r)->vram_usage; in si_context_add_resource_size()
1895 !radeon_cs_memory_below_limit(sctx->screen, sctx->gfx_cs, sctx->vram + bo->vram_usage, in radeon_add_to_gfx_buffer_list_check_mem()
Dsi_texture.c490 tex->buffer.vram_usage = new_tex->buffer.vram_usage; in si_reallocate_texture_inplace()
1068 resource->vram_usage = plane0->buffer.vram_usage; in si_texture_create_object()
1086 resource->vram_usage = resource->bo_size; in si_texture_create_object()