Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_screen.c269 uint64_t system_memory; in softpipe_get_param() local
271 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()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_screen.c280 uint64_t system_memory; in llvmpipe_get_param() local
282 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()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_screen.c188 uint64_t system_memory; in vc4_screen_get_param() local
190 if (!os_get_total_physical_memory(&system_memory)) in vc4_screen_get_param()
193 return (int)(system_memory >> 20); in vc4_screen_get_param()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_screen.c483 uint64_t system_memory; in i915_get_param() local
485 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()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_screen.c657 uint64_t system_memory; in lima_screen_create() local
671 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()
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_screen.c265 uint64_t system_memory; in v3d_screen_get_param() local
267 if (!os_get_total_physical_memory(&system_memory)) in v3d_screen_get_param()
270 return (int)(system_memory >> 20); in v3d_screen_get_param()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_screen.c267 uint64_t system_memory; in panfrost_get_param() local
269 if (!os_get_total_physical_memory(&system_memory)) in panfrost_get_param()
272 return (int)(system_memory >> 20); in panfrost_get_param()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_screen.c252 uint64_t system_memory; in etna_screen_get_param() local
254 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()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_screen.c525 uint64_t system_memory; in fd_screen_get_param() local
527 if (!os_get_total_physical_memory(&system_memory)) in fd_screen_get_param()
530 return (int)(system_memory >> 20); in fd_screen_get_param()
/third_party/mesa3d/src/gallium/drivers/asahi/
Dagx_pipe.c835 uint64_t system_memory; in agx_get_param() local
837 if (!os_get_total_physical_memory(&system_memory)) in agx_get_param()
840 return (int)(system_memory >> 20); in agx_get_param()