Searched refs:vram_usage (Results 1 – 10 of 10) sorted by relevance
178 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()
235 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() local1154 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()
109 rctx->vram + rbo->vram_usage, in radeon_add_to_buffer_list_check_mem()
142 uint64_t vram_usage; member819 rctx->vram += res->vram_usage; in r600_context_add_resource_size()
410 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()
199 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()
849 unsigned vram_usage, gtt_usage; in si_query_memory_info() local864 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()
221 vram += dst->vram_usage; in si_need_dma_space()225 vram += src->vram_usage; in si_need_dma_space()
266 uint64_t vram_usage; member1616 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()
490 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()