Rebased, updated and improved patches. Now with util headers for anonymous fds (memfd/SHM_ANON/mkostemp) and physical memory size, reducing code duplication across the codebase.
A few other meson patches were sent as https://patchwork.freedesktop.org/series/36714/ Greg V (5): meson: fix missing dependencies util: emulate futex on FreeBSD using umtx util: add anon_file.h for all memfd/temp file usage util: add phys_memory.h for all memory measurements anv: add MAP_POPULATE fallback define for portability src/egl/drivers/dri2/platform_wayland.c | 116 +-------------------- src/gallium/auxiliary/os/os_misc.c | 60 ----------- src/gallium/auxiliary/os/os_misc.h | 9 +- src/gallium/drivers/radeonsi/meson.build | 2 +- src/intel/vulkan/anv_allocator.c | 25 ++--- src/intel/vulkan/anv_device.c | 12 ++- src/intel/vulkan/anv_gem_stubs.c | 15 +-- src/mesa/drivers/dri/i915/intel_screen.c | 9 +- src/mesa/drivers/dri/i965/intel_screen.c | 9 +- src/mesa/drivers/dri/swrast/swrast.c | 23 +---- src/mesa/meson.build | 2 +- src/util/Makefile.sources | 2 + src/util/anon_file.h | 169 +++++++++++++++++++++++++++++++ src/util/futex.h | 22 ++++ src/util/meson.build | 2 + src/util/phys_memory.h | 81 +++++++++++++++ 16 files changed, 306 insertions(+), 252 deletions(-) create mode 100644 src/util/anon_file.h create mode 100644 src/util/phys_memory.h -- 2.15.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev