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.c266 uint64_t system_memory; in softpipe_get_param() local
268 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()
/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.c191 uint64_t system_memory; in vc4_screen_get_param() local
193 if (!os_get_total_physical_memory(&system_memory)) in vc4_screen_get_param()
196 return (int)(system_memory >> 20); in vc4_screen_get_param()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_screen.c482 uint64_t system_memory; in i915_get_param() local
484 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()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_screen.c640 uint64_t system_memory; in lima_screen_create() local
654 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()
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_screen.c253 uint64_t system_memory; in v3d_screen_get_param() local
255 if (!os_get_total_physical_memory(&system_memory)) in v3d_screen_get_param()
258 return (int)(system_memory >> 20); in v3d_screen_get_param()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_screen.c265 uint64_t system_memory; in panfrost_get_param() local
267 if (!os_get_total_physical_memory(&system_memory)) in panfrost_get_param()
270 return (int)(system_memory >> 20); in panfrost_get_param()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_screen.c251 uint64_t system_memory; in etna_screen_get_param() local
253 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()
/third_party/mesa3d/src/gallium/drivers/swr/
Dswr_screen.cpp331 uint64_t system_memory; in swr_get_param() local
333 if (!os_get_total_physical_memory(&system_memory)) in swr_get_param()
336 return (int)(system_memory >> 20); in swr_get_param()
/third_party/mesa3d/src/gallium/drivers/asahi/
Dagx_pipe.c831 uint64_t system_memory; in agx_get_param() local
833 if (!os_get_total_physical_memory(&system_memory)) in agx_get_param()
836 return (int)(system_memory >> 20); in agx_get_param()