Searched refs:system_memory (Results 1 – 9 of 9) sorted by relevance
257 uint64_t system_memory; in softpipe_get_param() local259 if (!os_get_total_physical_memory(&system_memory)) in softpipe_get_param()266 system_memory = MIN2(system_memory, 2048 << 20); in softpipe_get_param()268 return (int)(system_memory >> 20); in softpipe_get_param()
285 uint64_t system_memory; in i915_get_param() local287 if (!os_get_total_physical_memory(&system_memory)) in i915_get_param()290 return MIN2(gpu_mappable_megabytes, (int)(system_memory >> 20)); in i915_get_param()
271 uint64_t system_memory; in llvmpipe_get_param() local273 if (!os_get_total_physical_memory(&system_memory)) in llvmpipe_get_param()280 system_memory = MIN2(system_memory, 2048 << 20); in llvmpipe_get_param()282 return (int)(system_memory >> 20); in llvmpipe_get_param()
192 uint64_t system_memory; in vc4_screen_get_param() local194 if (!os_get_total_physical_memory(&system_memory)) in vc4_screen_get_param()197 return (int)(system_memory >> 20); in vc4_screen_get_param()
581 uint64_t system_memory; in lima_screen_create() local594 os_get_total_physical_memory(&system_memory)) in lima_screen_create()595 lima_plb_pp_stream_cache_size = system_memory >> 10; in lima_screen_create()
252 uint64_t system_memory; in v3d_screen_get_param() local254 if (!os_get_total_physical_memory(&system_memory)) in v3d_screen_get_param()257 return (int)(system_memory >> 20); in v3d_screen_get_param()
245 uint64_t system_memory; in panfrost_get_param() local247 if (!os_get_total_physical_memory(&system_memory)) in panfrost_get_param()250 return (int)(system_memory >> 20); in panfrost_get_param()
246 uint64_t system_memory; in etna_screen_get_param() local248 if (!os_get_total_physical_memory(&system_memory)) in etna_screen_get_param()249 system_memory = (uint64_t)4096 << 20; in etna_screen_get_param()251 return MIN2(system_memory / 32, 64 * 1024 * 1024); in etna_screen_get_param()
328 uint64_t system_memory; in swr_get_param() local330 if (!os_get_total_physical_memory(&system_memory)) in swr_get_param()333 return (int)(system_memory >> 20); in swr_get_param()