Searched refs:system_memory (Results 1 – 10 of 10) sorted by relevance
269 uint64_t system_memory; in softpipe_get_param() local271 if (!os_get_total_physical_memory(&system_memory)) in softpipe_get_param()278 system_memory = MIN2(system_memory, 2048 << 20); in softpipe_get_param()280 return (int)(system_memory >> 20); in softpipe_get_param()
280 uint64_t system_memory; in llvmpipe_get_param() local282 if (!os_get_total_physical_memory(&system_memory)) in llvmpipe_get_param()289 system_memory = MIN2(system_memory, 2048 << 20); in llvmpipe_get_param()291 return (int)(system_memory >> 20); in llvmpipe_get_param()
188 uint64_t system_memory; in vc4_screen_get_param() local190 if (!os_get_total_physical_memory(&system_memory)) in vc4_screen_get_param()193 return (int)(system_memory >> 20); in vc4_screen_get_param()
483 uint64_t system_memory; in i915_get_param() local485 if (!os_get_total_physical_memory(&system_memory)) in i915_get_param()488 return MIN2(gpu_mappable_megabytes, (int)(system_memory >> 20)); in i915_get_param()
657 uint64_t system_memory; in lima_screen_create() local671 os_get_total_physical_memory(&system_memory)) in lima_screen_create()672 lima_plb_pp_stream_cache_size = system_memory >> 10; in lima_screen_create()
265 uint64_t system_memory; in v3d_screen_get_param() local267 if (!os_get_total_physical_memory(&system_memory)) in v3d_screen_get_param()270 return (int)(system_memory >> 20); in v3d_screen_get_param()
267 uint64_t system_memory; in panfrost_get_param() local269 if (!os_get_total_physical_memory(&system_memory)) in panfrost_get_param()272 return (int)(system_memory >> 20); in panfrost_get_param()
252 uint64_t system_memory; in etna_screen_get_param() local254 if (!os_get_total_physical_memory(&system_memory)) in etna_screen_get_param()255 system_memory = (uint64_t)4096 << 20; in etna_screen_get_param()257 return MIN2(system_memory / 32, 64 * 1024 * 1024); in etna_screen_get_param()
525 uint64_t system_memory; in fd_screen_get_param() local527 if (!os_get_total_physical_memory(&system_memory)) in fd_screen_get_param()530 return (int)(system_memory >> 20); in fd_screen_get_param()
835 uint64_t system_memory; in agx_get_param() local837 if (!os_get_total_physical_memory(&system_memory)) in agx_get_param()840 return (int)(system_memory >> 20); in agx_get_param()