Searched refs:max_heap_size_kb (Results 1 – 6 of 6) sorted by relevance
365 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()
253 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()
133 uint32_t max_heap_size_kb; member
889 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()
994 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()
351 return MIN2(rscreen->b.info.max_heap_size_kb * 1024ull / 4, INT_MAX); in r600_get_param()