Home
last modified time | relevance | path

Searched refs:vram_size (Results 1 – 25 of 31) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_cs.h52 if (vram > screen->info.vram_size) in radeon_cs_memory_below_limit()
53 gtt += vram - screen->info.vram_size; in radeon_cs_memory_below_limit()
Dr600_pipe_common.c989 rscreen->info.vram_size)); in r600_get_compute_param()
1135 info->total_device_memory = rscreen->info.vram_size / 1024; in r600_query_memory_info()
1282 printf("vram_size = %i MB\n", (int)DIV_ROUND_UP(rscreen->info.vram_size, 1024*1024)); in r600_common_screen_init()
Dr600_pipe.c522 return rscreen->b.info.vram_size >> 20; in r600_get_param()
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_winsys.c365 ws->info.vram_size = gem_info.vram_size; in do_winsys_init()
374 ws->info.vram_size_kb = DIV_ROUND_UP(ws->info.vram_size, 1024); in do_winsys_init()
379 ws->info.max_alloc_size = ws->info.vram_size * 0.7; in do_winsys_init()
854 MIN2(ws->info.vram_size, ws->info.gart_size), NULL, in radeon_drm_winsys_create()
/third_party/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_screen.c247 const int vram_shift = util_logbase2_ceil64(dev->vram_size); in nouveau_screen_init()
291 if (dev->vram_size > 0) in nouveau_screen_init()
/third_party/mesa3d/src/amd/common/
Dac_gpu_info.c499 info->vram_size = fix_vram_size(meminfo.vram.total_heap_size); in ac_query_gpu_info()
529 info->vram_size = fix_vram_size(vram.heap_size); in ac_query_gpu_info()
534 info->vram_size_kb = DIV_ROUND_UP(info->vram_size, 1024); in ac_query_gpu_info()
553 info->all_vram_visible = info->vram_size * 0.9 < info->vram_vis_size; in ac_query_gpu_info()
671 info->max_alloc_size = info->vram_size * 0.8; in ac_query_gpu_info()
754 info->num_tcc_blocks = info->vram_size / (512 * 1024 * 1024); in ac_query_gpu_info()
1180 fprintf(f, " vram_size = %i MB\n", (int)DIV_ROUND_UP(info->vram_size, 1024 * 1024)); in ac_print_gpu_info()
Dac_gpu_info.h100 uint64_t vram_size; member
Dac_rgp.c344 int64_t vram_size; member
497 chunk->vram_size = rad_info->vram_size; in ac_sqtt_fill_asic_info()
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_screen.c187 value[0] = screen->device->vram_size >> 20; in nouveau_query_renderer_integer()
/third_party/libdrm/nouveau/
Dnouveau.h68 uint64_t vram_size; member
Dnouveau.c424 nvdev->base.vram_size = v; in nouveau_device_new()
438 (nvdev->base.vram_size * nvdev->vram_limit_percent) / 100; in nouveau_device_new()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_screen.c410 return dev->vram_size >> 20; in nv50_screen_get_param()
1176 screen->max_tls_space = dev->vram_size / size_of_one_temp * ONE_TEMP_SIZE; in nv50_screen_create()
1190 screen->TPs, screen->MPsInTP, dev->vram_size >> 20, tls_size >> 10); in nv50_screen_create()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_get.c339 return sscreen->info.vram_size >> 20; in si_get_param()
821 MIN2(4 * max_mem_alloc_size, MAX2(sscreen->info.gart_size, sscreen->info.vram_size)); in si_get_compute_param()
/third_party/mesa3d/docs/relnotes/
D19.2.1.rst123 - ac: fix incorrect vram_size reported by the kernel
D10.2.5.rst138 - winsys/radeon: fix vram_size overflow with Hawaii
/third_party/libdrm/amdgpu/
Damdgpu_gpu_info.c263 info->heap_size = vram_gtt_info.vram_size; in amdgpu_query_heap_info()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_screen.c229 return r300screen->info.vram_size >> 20; in r300_get_param()
Dr300_context.c510 r300->screen->info.vram_size >> 20,
/third_party/libdrm/include/drm/
Damdgpu_drm.h877 __u64 vram_size; member
Dradeon_drm.h801 __u64 vram_size; member
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_winsys.c446 (aws->info.vram_size + aws->info.gart_size) / 8, aws, in amdgpu_winsys_create()
/third_party/mesa3d/include/drm-uapi/
Damdgpu_drm.h917 __u64 vram_size; member
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_screen.c277 return dev->vram_size >> 20; in nv30_screen_get_param()
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_screen.c516 value[0] = gem_info.vram_size >> 20; in radeonQueryRendererInteger()
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_screen.c516 value[0] = gem_info.vram_size >> 20; in radeonQueryRendererInteger()

12