Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_screen.c257 uint64_t system_memory; in softpipe_get_param() local
259 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()
/external/mesa3d/src/gallium/drivers/i915/
Di915_screen.c285 uint64_t system_memory; in i915_get_param() local
287 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()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_screen.c271 uint64_t system_memory; in llvmpipe_get_param() local
273 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()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_screen.c192 uint64_t system_memory; in vc4_screen_get_param() local
194 if (!os_get_total_physical_memory(&system_memory)) in vc4_screen_get_param()
197 return (int)(system_memory >> 20); in vc4_screen_get_param()
/external/mesa3d/src/gallium/drivers/lima/
Dlima_screen.c581 uint64_t system_memory; in lima_screen_create() local
594 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()
/external/mesa3d/src/gallium/drivers/v3d/
Dv3d_screen.c252 uint64_t system_memory; in v3d_screen_get_param() local
254 if (!os_get_total_physical_memory(&system_memory)) in v3d_screen_get_param()
257 return (int)(system_memory >> 20); in v3d_screen_get_param()
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_screen.c245 uint64_t system_memory; in panfrost_get_param() local
247 if (!os_get_total_physical_memory(&system_memory)) in panfrost_get_param()
250 return (int)(system_memory >> 20); in panfrost_get_param()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_screen.c246 uint64_t system_memory; in etna_screen_get_param() local
248 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()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_screen.cpp328 uint64_t system_memory; in swr_get_param() local
330 if (!os_get_total_physical_memory(&system_memory)) in swr_get_param()
333 return (int)(system_memory >> 20); in swr_get_param()