Home
last modified time | relevance | path

Searched refs:max_heap_size_kb (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_winsys.c365 ws->info.max_heap_size_kb = ws->info.vram_size_kb; in do_winsys_init()
367 ws->info.max_heap_size_kb = ws->info.gart_size_kb; in do_winsys_init()
372 ws->info.max_heap_size_kb = MIN2(ws->info.max_heap_size_kb, 4 * 1024 * 1024); /* 4 GB */ in do_winsys_init()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_get.c253 unsigned max_size = MIN2((sscreen->info.max_heap_size_kb * 1024ull) / 4, UINT32_MAX); in si_get_param()
264 return sscreen->info.max_heap_size_kb / 1024 / 4; in si_get_param()
883 MIN2(4 * max_mem_alloc_size, sscreen->info.max_heap_size_kb * 1024ull); in si_get_compute_param()
913 *max_mem_alloc_size = (sscreen->info.max_heap_size_kb / 4) * 1024ull; in si_get_compute_param()
/third_party/mesa3d/src/amd/common/
Dac_gpu_info.h133 uint32_t max_heap_size_kb; member
Dac_gpu_info.c889 info->max_heap_size_kb = info->vram_size_kb; in ac_query_gpu_info()
891 info->max_heap_size_kb = info->gart_size_kb; in ac_query_gpu_info()
1493 fprintf(f, " max_heap_size_kb = %i MB\n", (int)DIV_ROUND_UP(info->max_heap_size_kb, 1024)); in ac_print_gpu_info()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_pipe_common.c994 rscreen->info.max_heap_size_kb * 1024ull); in r600_get_compute_param()
1018 *max_mem_alloc_size = (rscreen->info.max_heap_size_kb / 4) * 1024ull; in r600_get_compute_param()
1293 (int)DIV_ROUND_UP(rscreen->info.max_heap_size_kb, 1024)); in r600_common_screen_init()
Dr600_pipe.c351 return MIN2(rscreen->b.info.max_heap_size_kb * 1024ull / 4, INT_MAX); in r600_get_param()