Home
last modified time | relevance | path

Searched refs:system_memory (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_screen.c229 uint64_t system_memory; in softpipe_get_param() local
231 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()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_screen.c278 uint64_t system_memory; in llvmpipe_get_param() local
280 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()
/external/mesa3d/src/gallium/drivers/i915/
Di915_screen.c396 uint64_t system_memory; in i915_get_param() local
398 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()
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_screen.c302 uint64_t system_memory; in vc5_screen_get_param() local
304 if (!os_get_total_physical_memory(&system_memory)) in vc5_screen_get_param()
307 return (int)(system_memory >> 20); in vc5_screen_get_param()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_screen.c343 uint64_t system_memory; in vc4_screen_get_param() local
345 if (!os_get_total_physical_memory(&system_memory)) in vc4_screen_get_param()
348 return (int)(system_memory >> 20); in vc4_screen_get_param()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_screen.cpp357 uint64_t system_memory; in swr_get_param() local
359 if (!os_get_total_physical_memory(&system_memory)) in swr_get_param()
362 return (int)(system_memory >> 20); in swr_get_param()