Searched refs:system_memory (Results 1 – 6 of 6) sorted by relevance
229 uint64_t system_memory; in softpipe_get_param() local231 if (!os_get_total_physical_memory(&system_memory)) in softpipe_get_param()238 system_memory = MIN2(system_memory, 2048 << 20); in softpipe_get_param()240 return (int)(system_memory >> 20); in softpipe_get_param()
278 uint64_t system_memory; in llvmpipe_get_param() local280 if (!os_get_total_physical_memory(&system_memory)) in llvmpipe_get_param()287 system_memory = MIN2(system_memory, 2048 << 20); in llvmpipe_get_param()289 return (int)(system_memory >> 20); in llvmpipe_get_param()
396 uint64_t system_memory; in i915_get_param() local398 if (!os_get_total_physical_memory(&system_memory)) in i915_get_param()401 return MIN2(gpu_mappable_megabytes, (int)(system_memory >> 20)); in i915_get_param()
302 uint64_t system_memory; in vc5_screen_get_param() local304 if (!os_get_total_physical_memory(&system_memory)) in vc5_screen_get_param()307 return (int)(system_memory >> 20); in vc5_screen_get_param()
343 uint64_t system_memory; in vc4_screen_get_param() local345 if (!os_get_total_physical_memory(&system_memory)) in vc4_screen_get_param()348 return (int)(system_memory >> 20); in vc4_screen_get_param()
357 uint64_t system_memory; in swr_get_param() local359 if (!os_get_total_physical_memory(&system_memory)) in swr_get_param()362 return (int)(system_memory >> 20); in swr_get_param()