meson: updated with suggestions from review.

anon_file: added a debug_name argument for anv, removed posix_fallocate 
and retry loops that were copy-pasted from weston, etc.

SWR: since there's an environment variable KNOB_MAX_WORKER_THREADS that 
lets it work without topology, it's fine to build on FreeBSD/DragonFly 
as is (with this patch only).

ETIME discussion on FreeBSD bugzilla: 
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225324

Greg V (12):
  meson: fix missing dependencies
  meson: fix BSD build
  meson: glsl: add missing nir header dependency
  meson: fix getting cflags from pkg-config
  meson: handle LLVM 'x.x.xgit-revision' versions
  util: add phys_memory.h for all memory measurements
  util: add anon_file.h for all memfd/temp file usage
  util: emulate futex on FreeBSD using umtx
  anv: remove unused Linux-specific include
  anv: add MAP_POPULATE fallback define for portability
  swr: support FreeBSD/DragonFlyBSD
  clover: fix build with LLVM 5

 configure.ac                                       |   2 +-
 meson.build                                        |  76 ++++++-----
 src/compiler/glsl/meson.build                      |   2 +-
 src/egl/drivers/dri2/platform_wayland.c            | 118 +---------------
 src/gallium/auxiliary/os/os_misc.c                 |  60 ---------
 src/gallium/auxiliary/os/os_misc.h                 |   9 +-
 src/gallium/drivers/radeonsi/meson.build           |   2 +-
 src/gallium/drivers/swr/rasterizer/common/os.h     |   3 +-
 .../drivers/swr/rasterizer/core/threads.cpp        |   4 +-
 src/gallium/drivers/swr/swr_fence.cpp              |   2 +
 .../state_trackers/clover/llvm/metadata.hpp        |   2 +-
 src/intel/vulkan/anv_allocator.c                   |  25 ++--
 src/intel/vulkan/anv_device.c                      |  12 +-
 src/intel/vulkan/anv_gem_stubs.c                   |  15 +--
 src/intel/vulkan/anv_queue.c                       |   1 -
 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                               | 150 +++++++++++++++++++++
 src/util/futex.h                                   |  22 +++
 src/util/meson.build                               |   2 +
 src/util/phys_memory.h                             |  81 +++++++++++
 24 files changed, 339 insertions(+), 294 deletions(-)
 create mode 100644 src/util/anon_file.h
 create mode 100644 src/util/phys_memory.h

-- 
2.15.1

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to