| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/ |
| si_dma_cs.c | 130 uint64_t vram = ctx->dma_cs->used_vram; local 134 vram += dst->vram_usage; 138 vram += src->vram_usage; 169 !radeon_cs_memory_below_limit(ctx->screen, ctx->dma_cs, vram, gtt))) {
|
| si_pipe.h | 113 /* For const_uploader, upload data via GTT and copy to VRAM on context flush via SDMA. */ 861 uint64_t vram; member in struct:si_context 934 union pipe_color_union *border_color_map; /* in VRAM (slow access), little endian */ 1091 /* For uploading data via GTT and copy to VRAM on context flush via SDMA. */ 1457 sctx->vram += si_resource(r)->vram_usage; 1671 * Return true if there is enough memory in VRAM and GTT for the buffers 1674 * \param vram VRAM memory size not added to the buffer list yet 1680 uint64_t vram, uint64_t gtt) 1682 vram += cs->used_vram [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/amd/common/ |
| ac_gpu_info.c | 264 info->vram_size = meminfo.vram.total_heap_size; 272 struct amdgpu_heap_info vram, vram_vis, gtt; local 274 r = amdgpu_query_heap_info(dev, AMDGPU_GEM_DOMAIN_VRAM, 0, &vram); 276 fprintf(stderr, "amdgpu: amdgpu_query_heap_info(vram) failed.\n"); 295 info->vram_size = vram.heap_size; 342 /* Set which chips have dedicated VRAM. */ 346 /* The kernel can split large buffers in VRAM but not in GTT, so large
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/ |
| r600_pipe_common.c | 231 uint64_t vram = (uint64_t)ctx->dma.cs.used_vram_kb * 1024; local 235 vram += dst->vram_usage; 239 vram += src->vram_usage; 268 !radeon_cs_memory_below_limit(ctx->screen, &ctx->dma.cs, vram, gtt)) { 1143 * 2) The memory usage can be really low if big VRAM evictions are 1144 * taking place, but the real usage is well above the size of VRAM.
|
| r600_pipe_common.h | 520 uint64_t vram; member in struct:r600_common_context 844 rctx->vram += res->vram_usage;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/ |
| r600_pipe_common.c | 254 uint64_t vram = ctx->dma.cs->used_vram; local 258 vram += dst->vram_usage; 262 vram += src->vram_usage; 291 !radeon_cs_memory_below_limit(ctx->screen, ctx->dma.cs, vram, gtt)) { 1224 * 2) The memory usage can be really low if big VRAM evictions are 1225 * taking place, but the real usage is well above the size of VRAM.
|
| r600_pipe_common.h | 531 uint64_t vram; member in struct:r600_common_context 834 rctx->vram += res->vram_usage;
|
| /xsrc/external/mit/libdrm/dist/nouveau/ |
| nouveau.h | 246 uint32_t vram; member in struct:nv04_fifo
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/ |
| zink_screen.c | 1712 /* VRAM */ 1725 /* VRAM */ 2026 unsigned vram = screen->heap_map[ZINK_HEAP_DEVICE_LOCAL]; local 2027 /* determine if vis vram is roughly equal to total vram */ 2029 screen->info.mem_props.memoryHeaps[screen->info.mem_props.memoryTypes[vram].heapIndex].size * 0.9)
|
| /xsrc/external/mit/MesaLib/dist/src/amd/common/ |
| ac_gpu_info.c | 69 struct drm_amdgpu_heap_info vram; member in struct:drm_amdgpu_memory_info 292 /* The VRAM size is underreported, so we need to fix it, because 499 info->vram_size = fix_vram_size(meminfo.vram.total_heap_size); 507 struct amdgpu_heap_info vram, vram_vis, gtt; local 509 r = amdgpu_query_heap_info(dev, AMDGPU_GEM_DOMAIN_VRAM, 0, &vram); 511 fprintf(stderr, "amdgpu: amdgpu_query_heap_info(vram) failed.\n"); 529 info->vram_size = fix_vram_size(vram.heap_size); 664 /* Set which chips have dedicated VRAM. */ 667 /* The kernel can split large buffers in VRAM but not in GTT, so large
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/ |
| iris_bufmgr.c | 228 struct iris_memregion vram, sys; member in struct:iris_bufmgr 918 /* If we have vram size, we have multiple memory regions and should choose 921 if (bufmgr->vram.size > 0) { 928 /* For vram allocations, still use system memory as a fallback. */ 929 regions[nregions++] = bufmgr->vram.region; 973 if (bufmgr->vram.size == 0) { 1000 bool local = bufmgr->vram.size > 0 && 1019 (bufmgr->vram.size > 0 && !local) || 1075 !bufmgr->has_llc && bufmgr->vram.size == 0) { 1445 assert(bufmgr->vram.size == 0) [all...] |
| /xsrc/external/mit/xf86-video-qxl/dist/src/ |
| qxl.h | 229 void * vram; /* Surface RAM */ member in struct:_qxl_screen_t
|
| /xsrc/external/mit/MesaLib/dist/include/drm-uapi/ |
| amdgpu_drm.h | 111 /* Flag that CPU access will be required for the case of VRAM domain */ 113 /* Flag that CPU access will not work, this VRAM domain is invisible */ 117 /* Flag that the memory should be in VRAM and cleared */ 119 /* Flag that allocating the BO should use linear VRAM */ 221 /* indicate vram lost occured after ctx created */ 734 /* the used VRAM size */ 740 /* Query information about VRAM and GTT domains */ 746 /* visible vram usage */ 750 /* Query memory about VRAM and GTT domains */ 784 /* Number of VRAM page faults on CPU access. * 945 struct drm_amdgpu_heap_info vram; member in struct:drm_amdgpu_memory_info [all...] |
| /xsrc/external/mit/libdrm/dist/include/drm/ |
| amdgpu_drm.h | 122 /* Flag that CPU access will be required for the case of VRAM domain */ 124 /* Flag that CPU access will not work, this VRAM domain is invisible */ 128 /* Flag that the memory should be in VRAM and cleared */ 130 /* Flag that allocating the BO should use linear VRAM */ 260 /* indicate vram lost occurred after ctx created */ 1109 /* the used VRAM size */ 1115 /* Query information about VRAM and GTT domains */ 1121 /* visible vram usage */ 1125 /* Query memory about VRAM and GTT domains */ 1165 /* Number of VRAM page faults on CPU access. * 1331 struct drm_amdgpu_heap_info vram; member in struct:drm_amdgpu_memory_info [all...] |
| /xsrc/external/mit/MesaLib/dist/src/intel/vulkan/ |
| anv_private.h | 945 struct anv_memregion vram; member in struct:anv_physical_device
|