Home
last modified time | relevance | path

Searched refs:vram_size_kb (Results 1 – 18 of 18) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_cs.h52 if (vram > (uint64_t)screen->info.vram_size_kb * 1024) in radeon_cs_memory_below_limit()
53 gtt += vram - (uint64_t)screen->info.vram_size_kb * 1024; in radeon_cs_memory_below_limit()
Dr600_pipe_common.c1140 info->total_device_memory = rscreen->info.vram_size_kb; in r600_query_memory_info()
1290 printf("vram_size = %i MB\n", (int)DIV_ROUND_UP(rscreen->info.vram_size_kb, 1024)); in r600_common_screen_init()
Dr600_pipe.c521 return rscreen->b.info.vram_size_kb >> 10; in r600_get_param()
Dr600_query.c2058 info->max_value.u64 = (uint64_t)rscreen->info.vram_size_kb * 1024; in r600_get_driver_query_info()
/third_party/mesa3d/src/amd/common/
Dac_gpu_info.c740 info->vram_size_kb = DIV_ROUND_UP(fix_vram_size(meminfo.vram.total_heap_size), 1024); in ac_query_gpu_info()
751 info->all_vram_visible = info->vram_size_kb * 0.9 < info->vram_vis_size_kb; in ac_query_gpu_info()
889 info->max_heap_size_kb = info->vram_size_kb; in ac_query_gpu_info()
966 info->num_tcc_blocks = info->vram_size_kb / (512 * 1024); in ac_query_gpu_info()
1422 DIV_ROUND_UP(info->vram_size_kb, (1024 * 1024)), in ac_print_gpu_info()
1423 DIV_ROUND_UP(info->vram_size_kb, 1024)); in ac_print_gpu_info()
1490 fprintf(f, " vram_size = %i MB\n", (int)DIV_ROUND_UP(info->vram_size_kb, 1024)); in ac_print_gpu_info()
Dac_gpu_info.h130 uint32_t vram_size_kb; member
Dac_rgp.c490 chunk->vram_size = (uint64_t)rad_info->vram_size_kb * 1024; in ac_sqtt_fill_asic_info()
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_winsys.c359 ws->info.vram_size_kb = DIV_ROUND_UP(gem_info.vram_size, 1024); in do_winsys_init()
365 ws->info.max_heap_size_kb = ws->info.vram_size_kb; in do_winsys_init()
821 (uint64_t)MIN2(ws->info.vram_size_kb, ws->info.gart_size_kb) * 1024, NULL, in radeon_drm_winsys_create()
Dradeon_drm_cs.c432 rcs->used_vram_kb < cs->ws->info.vram_size_kb * 0.8; in radeon_drm_cs_validate()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_get.c390 return sscreen->info.vram_size_kb >> 10; in si_get_param()
974 info->total_device_memory = sscreen->info.vram_size_kb; in si_query_memory_info()
Dsi_pipe.c1278 sscreen->max_memory_usage_kb = sscreen->info.vram_size_kb + sscreen->info.gart_size_kb / 4 * 3; in radeonsi_screen_create_impl()
Dsi_query.c1886 info->max_value.u64 = (uint64_t)sscreen->info.vram_size_kb * 1024; in si_get_driver_query_info()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_screen.c233 return r300screen->info.vram_size_kb >> 10; in r300_get_param()
Dr300_context.c524 r300->screen->info.vram_size_kb >> 10,
Dr300_texture.c1077 tex->tex.size_in_bytes >= (uint64_t)rscreen->info.vram_size_kb * 1024) { in r300_texture_create_object()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_winsys.c456 ((uint64_t)aws->info.vram_size_kb + aws->info.gart_size_kb) * 1024 / 8, aws, in amdgpu_winsys_create()
/third_party/mesa3d/src/amd/vulkan/
Dradv_device.c167 return MIN2((uint64_t)device->rad_info.vram_size_kb * 1024, (uint64_t)ov << 20); in radv_get_adjusted_vram_size()
168 return (uint64_t)device->rad_info.vram_size_kb * 1024; in radv_get_adjusted_vram_size()
/third_party/mesa3d/docs/relnotes/
D22.2.0.rst4043 - ac/gpu_info: clamp gart_size_kb and vram_size_kb to fix buggy kernel driver