mesa/src/gallium/auxiliary
Marek Olšák e97af11ba9 winsys/amdgpu,pb_slab: add slabs with 3/4 of power of two sizes to save memory
Instead of aligning slab allocations to powers of two (e.g. 129K -> 256K),
implement slab allocations with 3/4 of power of two sizes to reduce
overallocation. (e.g. 129K -> 192K)

The limitation is that the alignment must be 1/3rd of the allocation size.

DeusExMD allocates 2.1 GB of VRAM. Without this, slabs waste 194 MB due
to alignment, i.e. 9.2%. This commit reduces the waste to 102 MB, i.e. 4.9%.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8683>
2021-02-03 21:53:34 +00:00
..
cso_cache gallium,u_threaded: add pipe_draw_info::take_index_buffer_ownership 2021-01-27 23:53:35 +00:00
draw gallium: add take_ownership param into set_vertex_buffers to eliminate atomics 2021-01-27 23:53:35 +00:00
driver_ddebug gallium: add take_ownership param into set_vertex_buffers to eliminate atomics 2021-01-27 23:53:35 +00:00
driver_noop gallium: add take_ownership param into set_vertex_buffers to eliminate atomics 2021-01-27 23:53:35 +00:00
driver_rbug gallium: add take_ownership param into set_vertex_buffers to eliminate atomics 2021-01-27 23:53:35 +00:00
driver_trace gallium: add take_ownership param into set_vertex_buffers to eliminate atomics 2021-01-27 23:53:35 +00:00
gallivm llvmpipe: handle firstvertex for vulkan draw parameters 2021-01-27 23:36:52 +00:00
hud gallium: add take_ownership param into set_vertex_buffers to eliminate atomics 2021-01-27 23:53:35 +00:00
indices gallium: fix draw info setup in draw and utilities 2021-01-04 19:22:33 -05:00
nir compiler: Use util/bitset.h for system_values_read 2021-01-26 20:20:47 +00:00
os os: Fix open result check. 2020-11-02 18:37:00 +00:00
pipe-loader drisw: Use debug_screen_wrap like everybody else 2021-01-04 22:28:17 +00:00
pipebuffer winsys/amdgpu,pb_slab: add slabs with 3/4 of power of two sizes to save memory 2021-02-03 21:53:34 +00:00
postprocess gallium: add take_ownership param into set_vertex_buffers to eliminate atomics 2021-01-27 23:53:35 +00:00
rbug rbug: Fix use of alloca() without #include "c99_alloca.h" 2019-10-25 16:04:34 +01:00
renderonly gallium: rename 'state tracker' to 'frontend' 2020-05-13 13:46:53 -04:00
rtasm util: don't include p_defines.h and u_pointer.h from gallium 2020-03-27 21:00:10 +00:00
target-helpers drisw: Use debug_screen_wrap like everybody else 2021-01-04 22:28:17 +00:00
tessellator gallium/tessellator: Fix warning suppression 2021-01-29 05:17:38 +00:00
tgsi gallium/tgsi: garbage collect unused TGSI_UTIL_SIGN_MODE. 2021-01-13 22:52:10 +00:00
translate gallium/util: remove empty file u_half.h 2020-10-06 21:07:11 -04:00
util gallium/u_vbuf: skip non-indirect draws with 0 vertices 2021-02-02 19:53:44 -05:00
vl gallium: add take_ownership param into set_vertex_buffers to eliminate atomics 2021-01-27 23:53:35 +00:00
Android.mk android: fix build failure with libbacktrace 2020-12-11 10:41:14 +00:00
Makefile.sources android: gallium/aux: Add GPU tracepoint mechanism 2020-12-07 13:10:32 +00:00
meson.build gallium/aux: Split u_tracepoints.[ch] generation 2020-12-08 16:02:10 +00:00
SConscript gallium/aux: Update scons build for u_tracepoints.[ch] 2020-12-08 16:02:10 +00:00