Searched refs:system_memory (Results 1 – 10 of 10) sorted by relevance
266 uint64_t system_memory; in softpipe_get_param() local268 if (!os_get_total_physical_memory(&system_memory)) in softpipe_get_param()275 system_memory = MIN2(system_memory, 2048 << 20); in softpipe_get_param()277 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()
191 uint64_t system_memory; in vc4_screen_get_param() local193 if (!os_get_total_physical_memory(&system_memory)) in vc4_screen_get_param()196 return (int)(system_memory >> 20); in vc4_screen_get_param()
482 uint64_t system_memory; in i915_get_param() local484 if (!os_get_total_physical_memory(&system_memory)) in i915_get_param()487 return MIN2(gpu_mappable_megabytes, (int)(system_memory >> 20)); in i915_get_param()
640 uint64_t system_memory; in lima_screen_create() local654 os_get_total_physical_memory(&system_memory)) in lima_screen_create()655 lima_plb_pp_stream_cache_size = system_memory >> 10; in lima_screen_create()
253 uint64_t system_memory; in v3d_screen_get_param() local255 if (!os_get_total_physical_memory(&system_memory)) in v3d_screen_get_param()258 return (int)(system_memory >> 20); in v3d_screen_get_param()
265 uint64_t system_memory; in panfrost_get_param() local267 if (!os_get_total_physical_memory(&system_memory)) in panfrost_get_param()270 return (int)(system_memory >> 20); in panfrost_get_param()
251 uint64_t system_memory; in etna_screen_get_param() local253 if (!os_get_total_physical_memory(&system_memory)) in etna_screen_get_param()254 system_memory = (uint64_t)4096 << 20; in etna_screen_get_param()256 return MIN2(system_memory / 32, 64 * 1024 * 1024); in etna_screen_get_param()
331 uint64_t system_memory; in swr_get_param() local333 if (!os_get_total_physical_memory(&system_memory)) in swr_get_param()336 return (int)(system_memory >> 20); in swr_get_param()
831 uint64_t system_memory; in agx_get_param() local833 if (!os_get_total_physical_memory(&system_memory)) in agx_get_param()836 return (int)(system_memory >> 20); in agx_get_param()