Searched refs:used_vram_kb (Results 1 – 6 of 6) sorted by relevance
401 rcs->used_vram_kb += bo->base.size / 1024; in radeon_drm_cs_add_buffer()421 rcs->used_vram_kb < cs->ws->info.vram_size_kb * 0.8; in radeon_drm_cs_validate()443 rcs->used_vram_kb = 0; in radeon_drm_cs_validate()722 rcs->used_vram_kb = 0; in radeon_drm_cs_flush()
48 vram += (uint64_t)cs->used_vram_kb * 1024; in radeon_cs_memory_below_limit()
231 uint64_t vram = (uint64_t)ctx->dma.cs.used_vram_kb * 1024; in r600_need_dma_space()267 ctx->dma.cs.used_vram_kb + ctx->dma.cs.used_gart_kb > 64 * 1024 || in r600_need_dma_space()
210 uint32_t used_vram_kb; member
529 rcs->used_vram_kb += bo->base.size / 1024; in amdgpu_lookup_or_add_real_buffer()634 rcs->used_vram_kb += backing->bo->base.size / 1024; in amdgpu_lookup_or_add_sparse_buffer()1787 rcs->used_vram_kb = 0; in amdgpu_cs_flush()
1887 return kb + cs->used_vram_kb + cs->used_gart_kb < screen->max_memory_usage_kb; in radeon_cs_memory_below_limit()