[Mesa-dev] [PATCH 00/14] BSD portability (Meson, ANV, RADV, VC4/5, SWR)

Dylan Baker dylan at pnwbakers.com
Tue Jan 16 21:59:15 UTC 2018


Just wanted to see how things were going on this, especially for the meson bits
as I'd like to get them merged before the 18.0 merge window closes.

Quoting Greg V (2017-12-31 08:55:14)
> Hello everyone and happy new year! :)
> 
> This set of patches makes the Meson build work on FreeBSD, including 
> RADV, ANV, wayland-egl, VAAPI, VDPAU.
> 
> I also managed to get SWR working, but I haven't included the CPU 
> topology detection code in here. CPU topology is exposed as XML on 
> FreeBSD, so my implementation uses TinyXML2, which is a new dependency.
> And I couldn't even figure out how to link to it with all the libtool
> stuff. Had to test it with LD_PRELOAD :D
> This will be much easier to do with Meson.
> 
> Greg V (14):
>   util: fix ElfW macro
>   vc4, vc5: add ETIME fallback define
>   radv: add ETIME fallback define
>   anv: add ETIME fallback define
>   anv: use POSIX sysconf to get memory info on non-glibc systems
>   anv: remove unused Linux-specific include
>   anv: FreeBSD support in the allocator
>   meson: fix BSD build
>   meson: do not redeclare pkg-config dependencies (yet)
>   meson: handle LLVM 'x.x.xgit-revision' versions
>   meson: fix missing dependencies
>   swr: build on FreeBSD/DragonFlyBSD
>   swr: fix clang 5 null cast warning
>   meson: glsl: add missing nir header dependency
> 
>  meson.build                                        | 74 ++++++++++++----------
>  src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c      |  3 +
>  src/compiler/glsl/meson.build                      |  2 +-
>  src/gallium/drivers/radeonsi/meson.build           |  2 +-
>  src/gallium/drivers/swr/rasterizer/common/os.h     |  3 +-
>  .../drivers/swr/rasterizer/core/threads.cpp        |  4 +-
>  .../swr/rasterizer/memory/TilingFunctions.h        |  6 +-
>  src/gallium/drivers/swr/swr_fence.cpp              |  2 +
>  src/gallium/drivers/vc4/vc4_bufmgr.c               |  4 ++
>  src/gallium/drivers/vc5/vc5_bufmgr.c               |  4 ++
>  src/intel/vulkan/anv_allocator.c                   | 56 ++++++++++++++++
>  src/intel/vulkan/anv_device.c                      | 11 ++++
>  src/intel/vulkan/anv_gem.c                         |  4 ++
>  src/intel/vulkan/anv_queue.c                       |  5 +-
>  src/mesa/meson.build                               |  1 +
>  src/util/build_id.c                                |  6 +-
>  16 files changed, 144 insertions(+), 43 deletions(-)
> 
> -- 
> 2.15.1
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180116/0c7be8fb/attachment.sig>


More information about the mesa-dev mailing list