Re: [Mesa-dev] [PATCH] meson: Check for actual LLVM required versions

2018-02-02 Thread Dylan Baker
Quoting Bas Nieuwenhuizen (2018-02-02 11:54:58) > Reviewed-by: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> > > On Fri, Feb 2, 2018 at 7:55 PM, Dylan Baker <dy...@pnwbakers.com> wrote: > > Currently we always check for 3.9.0, which is pretty safe since > > everyt

[Mesa-dev] [PATCH v3 4/9] meson: Actually link xvmc target with libxvmc

2018-02-02 Thread Dylan Baker
Unlike vdpau this is required. Fixes: 22a817af8a89eb3c7 ("meson: build gallium xvmc state tracker") Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> --- meson.build | 3 --- 1 file changed, 3 deletions(-) diff --git a/meson.build b/meson.build index 2df2497..4f280d9 100644 -

[Mesa-dev] [PATCH v3 1/9] meson: use va-api version reported by pkg-config

2018-02-02 Thread Dylan Baker
Fixes: 5a785d51a6d6 ("meson: build gallium va state tracker") Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> --- meson.build | 2 +- src/gallium/state_trackers/va/meson.build | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --g

[Mesa-dev] [PATCH v3 3/9] meson: actually link with libomxil-bellagio

2018-02-02 Thread Dylan Baker
This state tracker actually needs to link, unlike vdpau. Fixes: 1d36dc674d528b93b ("meson: build gallium omx state tracker") Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> --- meson.build | 5 - 1 file changed, 5 deletions(-) diff --git a/meson.build b/meson.bui

[Mesa-dev] [PATCH v3 2/9] meson: link dri3 xcb libs into vlwinsys instead of into each target

2018-02-02 Thread Dylan Baker
This makes the dependencies easier to manage, since each media target doesn't need to worry about linking to half a dozen libraries. Fixes: b1b65397d0c4978e3 ("meson: Build gallium auxiliary") Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> --- src/gallium/auxil

[Mesa-dev] [PATCH v3 5/9] meson: fix vdpau target linkage

2018-02-02 Thread Dylan Baker
The VDPAU state tracker needs to be linked with whole-archive (autotools does this). Because we are linking the whole archive we alos need to link with libswdri and libswkmsdri if those have been enabled. Fixes: 68076b87474e7959 ("meson: build gallium vdpau state tracker") Signed-off

[Mesa-dev] [PATCH v3 6/9] meson: fix va target linkage

2018-02-02 Thread Dylan Baker
The state tracker needs to be linked with whole-archive (like autotools). As a result there are symbols from libswdri and libswkmsdri that are needed, so link those as well. Fixes: 5a785d51a6d6 ("meson: build gallium va state tracker") Signed-off-by: Dylan Baker <dylan.c.ba...@intel.

[Mesa-dev] [PATCH v3 0/9] meson: fix gallium media target linkage

2018-02-02 Thread Dylan Baker
the remaining bits into patches that fix one problem. Dylan Baker (9): meson: use va-api version reported by pkg-config meson: link dri3 xcb libs into vlwinsys instead of into each target meson: actually link with libomxil-bellagio meson: Actually link xvmc target with libxvmc meson: fix vdpau

[Mesa-dev] [PATCH v3 7/9] meson: Fix omx-bellagio target linkage

2018-02-02 Thread Dylan Baker
This needs to use --whole-archive (link_whole in meson) to properly expose symbols. Fixes: 1d36dc674d528b93b ("meson: build gallium omx state tracker") Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> --- src/gallium/targets/omx-bellagio/meson.build | 13 +++-- 1

[Mesa-dev] [PATCH v3 8/9] meson: Fix xa target linkage

2018-02-02 Thread Dylan Baker
This needs to use --whole-archive (link_whole in meson) to properly expose symbols. Fixes: 0ba909f0f111824 ("meson: build gallium xa state tracker") Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> --- src/gallium/targets/xa/meson.build | 13 +++-- 1 file changed, 11

[Mesa-dev] [PATCH v3 9/9] meson: fix xvmc target linkage

2018-02-02 Thread Dylan Baker
This needs to link the state tracker with --whole-archive to expose the right symbols. Fixes: 22a817af8a89eb3c7 ("meson: build gallium xvmc state tracker") Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> --- src/gallium/targets/xvmc/meson.build | 13 +++-- 1

Re: [Mesa-dev] [PATCH 2/9] glsl: add u64->fp64 and i64->fp64 builtins.

2018-02-01 Thread Dylan Baker
There are changes from Makefile.sources that need be ported to corresponding meson.build files as well. It looks like builtin_float64.h is generated from float64.glsl, is that right? I'm not very happy about checking in a generated file for all of the reasons that we don't check generated files

Re: [Mesa-dev] [Mesa-stable] [PATCH 1/2] meson/swr: re-shuffle generated files

2018-02-01 Thread Dylan Baker
With the below nits fixed, for the series: Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Quoting George Kyriazis (2018-02-01 08:54:14) > Move generated files from codegen/meson.build to other directories, in order > to satisfy generated include file dependencies > > Add

Re: [Mesa-dev] [PATCH 1/6] meson: find python2 on macOS

2018-02-01 Thread Dylan Baker
Quoting Emil Velikov (2018-02-01 03:49:12) > On 28 January 2018 at 14:24, Jon Turney <jon.tur...@dronecode.org.uk> wrote: > > From: Dylan Baker <dy...@pnwbakers.com> > > > > --- > > meson.build | 8 +++- > > 1 file changed, 7 insertions(+), 1 d

Re: [Mesa-dev] [Test Patch] Meson: ensure vdpau has proper symbolsexposed

2018-02-01 Thread Dylan Baker
Emil had requested some changes, and it's on my list to get these respun today and back on the list. I'll CC you on them. Thanks for reminding me :) Dylan Quoting Marc Dietrich (2018-02-01 02:44:25) > Am Mittwoch, 17. Januar 2018, 18:41:00 CET schrieb Dylan Baker: > > I dug into what

Re: [Mesa-dev] [PATCH mesa 1/2] meson: centralise the libdrm versions information

2018-02-01 Thread Dylan Baker
Quoting Emil Velikov (2018-01-31 03:42:00) > On 30 January 2018 at 21:31, Dylan Baker <dy...@pnwbakers.com> wrote: > > Quoting Emil Velikov (2018-01-30 10:43:06) > >> On 29 January 2018 at 18:57, Dylan Baker <dy...@pnwbakers.com> wrote: > >> > Q

Re: [Mesa-dev] [PATCH mesa v2 1/2] meson: centralise the libdrm versions information

2018-02-01 Thread Dylan Baker
+69,7 @@ endif > if with_dri >dri_req_private = [] >if dep_libdrm.found() > -dri_req_private = ['libdrm >= 2.4.75'] # FIXME: don't hardcode this > +dri_req_private += 'libdrm >= ' + libdrm_version >endif > >

Re: [Mesa-dev] [PATCH libdrm] meson: fix libdrm_nouveau pkgconfig include directories

2018-02-01 Thread Dylan Baker
Thanks! Quoting Eric Engestrom (2018-01-31 03:14:50) > On Thursday, 2018-01-25 16:14:45 -0800, Dylan Baker wrote: > > Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> > > Reviewed-by: Eric Engestrom <eric.engest...@imgtec.com> > > > --- > > &g

Re: [Mesa-dev] [PATCH 2/9] glsl: add u64->fp64 and i64->fp64 builtins.

2018-02-01 Thread Dylan Baker
Quoting Elie Tournier (2018-02-01 12:13:53) > On Thu, Feb 01, 2018 at 10:00:12AM -0800, Dylan Baker wrote: > > There are changes from Makefile.sources that need be ported to corresponding > > meson.build files as well. > Oh yes, nice spot. I will do it on my loc

Re: [Mesa-dev] [PATCH] meson: better defaults for osx, windows and cygwin

2018-02-03 Thread Dylan Baker
Quoting Jon Turney (2018-02-03 05:49:40) > set suitable defaults for 'dri-drivers', 'gallium-drivers', 'vulkan-drivers' > and 'platforms' options for osx, windows and cygwin, adding cygwin where > appropriate. > > Signed-off-by: Jon Turney > --- > meson.build | 15

Re: [Mesa-dev] [PATCH] r600/fp64: Fix build.

2018-02-05 Thread Dylan Baker
I just wrote the same patch: Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Quoting Vinson Lee (2018-02-05 15:24:45) > CC r600_shader.lo > r600_shader.c: In function ‘egcm_int_to_double’: > r600_shader.c:4543:12: error: ‘ctx’ is a pointer; did you mean to use ‘->’?

Re: [Mesa-dev] [PATCH] r600/fp64: Fix build.

2018-02-05 Thread Dylan Baker
This is turning our CI red, so I'm going to go ahead and push this. Quoting Vinson Lee (2018-02-05 15:24:45) > CC r600_shader.lo > r600_shader.c: In function ‘egcm_int_to_double’: > r600_shader.c:4543:12: error: ‘ctx’ is a pointer; did you mean to use ‘->’? > if (ctx.bc->chip_class

Re: [Mesa-dev] [PATCH] Haiku: convert to autotools

2018-02-05 Thread Dylan Baker
Quoting kallisti5 (2018-02-05 15:36:06) > On 2018-02-05 16:14, kallisti5 wrote: > > On 2018-02-05 15:39, Dylan Baker wrote: > >> Quoting kallisti5 (2018-02-05 12:58:30) > >>> On 2017-10-24 11:47, Emil Velikov wrote: > >>> > Hi Jerome, > >>

Re: [Mesa-dev] [PATCH] Haiku: convert to autotools

2018-02-05 Thread Dylan Baker
Quoting kallisti5 (2018-02-05 14:14:42) > On 2018-02-05 15:39, Dylan Baker wrote: > > Quoting kallisti5 (2018-02-05 12:58:30) > >> On 2017-10-24 11:47, Emil Velikov wrote: > >> > Hi Jerome, > >> > > >> > On 23 October 2017 at 16:

Re: [Mesa-dev] [PATCH] meson: better defaults for osx, windows and cygwin

2018-02-05 Thread Dylan Baker
Quoting Jon Turney (2018-02-03 13:19:20) > On 03/02/2018 18:07, Dylan Baker wrote: > > Quoting Jon Turney (2018-02-03 05:49:40) > >> - if not ['darwin', 'windows'].contains(host_machine.system()) > >> + if not ['darwin', 'windows', 'cygwin'].contains(host_machine.syst

Re: [Mesa-dev] [PATCH] meson: Add build option for tools

2018-02-08 Thread Dylan Baker
Oh, freedreno also has a standalone compiler, os we should probably add a fredreeno option as well. Dylan Quoting Scott D Phillips (2018-02-07 16:55:24) > Add a build option to control building some of the misc tools we > have. Also set the executables to install, presumably you want > that if

Re: [Mesa-dev] [PATCH] meson: Add build option for tools

2018-02-08 Thread Dylan Baker
Quoting Scott D Phillips (2018-02-07 16:55:24) > Add a build option to control building some of the misc tools we > have. Also set the executables to install, presumably you want > that if you're asking for the build. > --- > meson.build | 5 + > meson_options.txt

Re: [Mesa-dev] [PATCH v3 0/9] meson: fix gallium media target linkage

2018-02-08 Thread Dylan Baker
ping. Quoting Dylan Baker (2018-02-02 11:30:36) > The linkage of all of the gallium media targets is broken in various > ways in the meson build. This series should correct that by doing more > what the autotools build does. > > You may note in the last 5 patches the addit

Re: [Mesa-dev] [PATCH v3 0/9] meson: fix gallium media target linkage

2018-02-08 Thread Dylan Baker
Hi Marc, Can I call that a Tested-by? Quoting Marc Dietrich (2018-02-05 04:54:28) > Hi Dylan, > > Am Freitag, 2. Februar 2018, 20:30:36 CET schrieb Dylan Baker: > > The linkage of all of the gallium media targets is broken in various > > ways in the meson build. This

Re: [Mesa-dev] [PATCH] radv: Don't expose VK_KHX_multiview on android.

2018-02-08 Thread Dylan Baker
Quoting Emil Velikov (2018-02-08 14:51:57) > On 2 February 2018 at 21:42, Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> > wrote: > > On Fri, Feb 2, 2018 at 10:31 PM, Dylan Baker <dy...@pnwbakers.com> wrote: > >> Quoting Bas Nieuwenhuizen (2018-02-02 10:14:04) >

Re: [Mesa-dev] [PATCH v3 1/9] meson: use va-api version reported by pkg-config

2018-02-08 Thread Dylan Baker
Quoting Emil Velikov (2018-02-08 14:56:27) > On 2 February 2018 at 19:30, Dylan Baker <dy...@pnwbakers.com> wrote: > > Fixes: 5a785d51a6d6 ("meson: build gallium va state tracker") > > Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> > > --- > &g

Re: [Mesa-dev] [PATCH v3 3/9] meson: actually link with libomxil-bellagio

2018-02-08 Thread Dylan Baker
Quoting Emil Velikov (2018-02-08 15:06:50) > On 2 February 2018 at 19:30, Dylan Baker <dy...@pnwbakers.com> wrote: > > This state tracker actually needs to link, unlike vdpau. > > > > Fixes: 1d36dc674d528b93b ("meson: build gallium omx state tracker") >

Re: [Mesa-dev] [PATCH v3 3/9] meson: actually link with libomxil-bellagio

2018-02-08 Thread Dylan Baker
Quoting Dylan Baker (2018-02-08 15:23:23) > Quoting Emil Velikov (2018-02-08 15:06:50) > > On 2 February 2018 at 19:30, Dylan Baker <dy...@pnwbakers.com> wrote: > > > This state tracker actually needs to link, unlike vdpau. > > > > > > Fixes: 1d36dc67

Re: [Mesa-dev] [PATCH v3 5/9] meson: fix vdpau target linkage

2018-02-08 Thread Dylan Baker
Quoting Emil Velikov (2018-02-08 15:17:16) > On 8 February 2018 at 23:11, Emil Velikov <emil.l.veli...@gmail.com> wrote: > > On 2 February 2018 at 19:30, Dylan Baker <dy...@pnwbakers.com> wrote: > >> The VDPAU state tracker needs to be linked with whole-archive (auto

Re: [Mesa-dev] [PATCH v3 4/9] meson: Actually link xvmc target with libxvmc

2018-02-08 Thread Dylan Baker
Quoting Emil Velikov (2018-02-08 15:09:13) > On 2 February 2018 at 19:30, Dylan Baker <dy...@pnwbakers.com> wrote: > > Unlike vdpau this is required. > > > > Fixes: 22a817af8a89eb3c7 ("meson: build gallium xvmc state tracker") > > Signed-o

Re: [Mesa-dev] [PATCH v3 1/9] meson: use va-api version reported by pkg-config

2018-02-08 Thread Dylan Baker
Quoting Emil Velikov (2018-02-08 15:22:32) > On 8 February 2018 at 23:16, Dylan Baker <dy...@pnwbakers.com> wrote: > > Quoting Emil Velikov (2018-02-08 14:56:27) > >> On 2 February 2018 at 19:30, Dylan Baker <dy...@pnwbakers.com> wrote: > >> > Fixes: 5a

Re: [Mesa-dev] [PATCH v3 2/9] meson: link dri3 xcb libs into vlwinsys instead of into each target

2018-02-08 Thread Dylan Baker
Quoting Emil Velikov (2018-02-08 15:03:37) > On 2 February 2018 at 19:30, Dylan Baker <dy...@pnwbakers.com> wrote: > > This makes the dependencies easier to manage, since each media target > > doesn't need to worry about linking to half a dozen libraries. > > > >

Re: [Mesa-dev] [PATCH] Haiku: convert to autotools

2018-02-06 Thread Dylan Baker
Quoting kallisti5 (2018-02-05 20:24:20) > On 2018-02-05 18:13, Dylan Baker wrote: > > > > Pretty close. I lied, apparently the pthreads fix is in 0.44 > > > > https://github.com/mesonbuild/meson/commit/fc547ad05e5a8e650ae5bc2ecc7d40e4dbcc9f0f > > > > Here'

Re: [Mesa-dev] [PATCH] Haiku: convert to autotools

2018-02-06 Thread Dylan Baker
Quoting Dylan Baker (2018-02-06 15:19:48) > Quoting kallisti5 (2018-02-05 20:24:20) > > On 2018-02-05 18:13, Dylan Baker wrote: > > > > > > Pretty close. I lied, apparently the pthreads fix is in 0.44 > > > > > > https://github.com/mesonbuild/meson/co

[Mesa-dev] [PATCH v4 00/12] meson: fix gallium media target linkage

2018-02-12 Thread Dylan Baker
to take advantage of that change - Make the media drivers take advantage of that change as well Dylan Baker (12): meson: define empty variables for libswdri and libswkmsdri meson: add libswdri and libswkmsdri to link_with unconditionally meson: Unconditionally add libswdri and libswkmsdri

[Mesa-dev] [PATCH v4 07/12] meson: Actually link xvmc target with libxvmc

2018-02-12 Thread Dylan Baker
Unlike vdpau this is required. Fixes: 22a817af8a89eb3c7 ("meson: build gallium xvmc state tracker") Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> --- meson.build | 3 --- 1 file changed, 3 deletions(-) diff --git a/meson.build b/meson.build index b5fa5a8..3925ec4 100644 -

[Mesa-dev] [PATCH v4 11/12] meson: Fix xa target linkage

2018-02-12 Thread Dylan Baker
This needs to use --whole-archive (link_whole in meson) to properly expose symbols. v4: - Always add libswdri and libswkmsdri to link_with list Fixes: 0ba909f0f111824 ("meson: build gallium xa state tracker") Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> --- src/ga

[Mesa-dev] [PATCH v4 05/12] meson: link dri3 xcb libs into vlwinsys instead of into each target

2018-02-12 Thread Dylan Baker
This makes the dependencies easier to manage, since each media target doesn't need to worry about linking to half a dozen libraries. Fixes: b1b65397d0c4978e3 ("meson: Build gallium auxiliary") Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> --- src/gallium/auxil

[Mesa-dev] [PATCH v4 10/12] meson: Fix omx-bellagio target linkage

2018-02-12 Thread Dylan Baker
This needs to use --whole-archive (link_whole in meson) to properly expose symbols. v4: - Always add libswdri and libswkmsdri to link_with Fixes: 1d36dc674d528b93b ("meson: build gallium omx state tracker") Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> --- src/gal

[Mesa-dev] [PATCH v4 08/12] meson: fix vdpau target linkage

2018-02-12 Thread Dylan Baker
meson: build gallium vdpau state tracker") Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> --- src/gallium/targets/vdpau/meson.build | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/gallium/targets/vdpau/meson.build b/src/gallium/targets/vdpau/m

[Mesa-dev] [PATCH v4 03/12] meson: Unconditionally add libswdri and libswkmsdri to dri link_with

2018-02-12 Thread Dylan Baker
Fixes: b154b44ae342 ("meson: build radeonsi gallium driver") Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> --- src/gallium/targets/dri/meson.build | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/gallium/targets/dri/meson.build b/src/gal

[Mesa-dev] [PATCH v4 04/12] meson: use va-api version reported by pkg-config

2018-02-12 Thread Dylan Baker
Fixes: 5a785d51a6d6 ("meson: build gallium va state tracker") Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> --- meson.build | 2 +- src/gallium/state_trackers/va/meson.build | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --g

[Mesa-dev] [PATCH v4 06/12] meson: actually link with libomxil-bellagio

2018-02-12 Thread Dylan Baker
This state tracker actually needs to link, unlike vdpau. Fixes: 1d36dc674d528b93b ("meson: build gallium omx state tracker") Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> --- meson.build | 5 - 1 file changed, 5 deletions(-) diff --git a/meson.build b/meson.bui

[Mesa-dev] [PATCH v4 09/12] meson: fix va target linkage

2018-02-12 Thread Dylan Baker
acker") Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> --- src/gallium/targets/va/meson.build | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/gallium/targets/va/meson.build b/src/gallium/targets/va/meson.build index 1e453c9..57d267e 100644 --- a/src/ga

[Mesa-dev] [PATCH v4 01/12] meson: define empty variables for libswdri and libswkmsdri

2018-02-12 Thread Dylan Baker
this patch Fixes: 66c94b9313a697ce8f2b222f4ba353035e4b8726 ("meson: build gallium winsys for dri, null, and wrapper") Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> --- src/gallium/meson.build | 12 ++-- src/gallium/winsys/sw/dri/meson.build

[Mesa-dev] [PATCH v4 12/12] meson: fix xvmc target linkage

2018-02-12 Thread Dylan Baker
This needs to link the state tracker with --whole-archive to expose the right symbols. v4: - Always add libswdri and libswkmsdri to the link_with list Fixes: 22a817af8a89eb3c7 ("meson: build gallium xvmc state tracker") Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com>

[Mesa-dev] [PATCH v4 02/12] meson: add libswdri and libswkmsdri to link_with unconditionally

2018-02-12 Thread Dylan Baker
Fixes: 6b4c7047d571 ("meson: build gallium nine state_tracker") Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> --- src/gallium/targets/d3dadapter9/meson.build | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/gallium/targets/d3dadapter

[Mesa-dev] [PATCH] meson: use a custom target instead of a generator for i965 oa

2018-02-12 Thread Dylan Baker
i965 and dri stack") CC: Ian Romanick <i...@freedesktop.org> Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> --- src/mesa/drivers/dri/i965/meson.build | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/mesa/drivers/dri/i965/meson.build

Re: [Mesa-dev] [PATCH 3/7] vulkan: Add EXT_acquire_xlib_display

2018-02-12 Thread Dylan Baker
Quoting Keith Packard (2018-02-09 20:45:12) > This extension adds the ability to borrow an X RandR output for > temporary use directly by a Vulkan application. For DRM, we use the > Linux resource leasing mechanism. > > Signed-off-by: Keith Packard > --- > configure.ac

Re: [Mesa-dev] [PATCH 6/7] vulkan: Add new VK_MESA_query_timestamp extension

2018-02-12 Thread Dylan Baker
Quoting Keith Packard (2018-02-09 20:45:15) > This extension adds a single function to query the current GPU > timestamp, just like glGetInteger64v(GL_TIMESTAMP, ). This > function is needed to complete the implementation of > GOOGLE_display_timing, which needs to be able to coorelate GPU and CPU

Re: [Mesa-dev] [PATCH v3 1/9] meson: use va-api version reported by pkg-config

2018-02-09 Thread Dylan Baker
Quoting Emil Velikov (2018-02-08 16:14:39) > On 8 February 2018 at 23:36, Dylan Baker <dy...@pnwbakers.com> wrote: > > Quoting Emil Velikov (2018-02-08 15:22:32) > >> On 8 February 2018 at 23:16, Dylan Baker <dy...@pnwbakers.com> wrote: > >> >

Re: [Mesa-dev] [PATCH] swr: bump minimum supported LLVM version to 4.0

2018-02-13 Thread Dylan Baker
be possible to leave this as 3.9.0 if they like. As long as either Tim or George gives an ack or review, Reviewed-by: Dylan Baker <dy...@pnwbakers.com> signature.asc Description: signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org ht

Re: [Mesa-dev] [PATCH 00/16] Prepare to add Ice Lake (ICL) support

2018-02-13 Thread Dylan Baker
For the build system changes: Reviewed-by: Dylan Baker <dy...@pnwbakers.com> I'm pretty sure that the autotools is correct, and the meson looks good. I think the android.mk is good, but I'm not really an expert on android.mk Dylan Quoting Anuj Phogat (2018-02-13 11:15:00) > This series

Re: [Mesa-dev] [PATCH] Haiku: convert to autotools

2018-02-05 Thread Dylan Baker
Quoting kallisti5 (2018-02-05 12:58:30) > On 2017-10-24 11:47, Emil Velikov wrote: > > Hi Jerome, > > > > On 23 October 2017 at 16:58, Jerome Duval > > wrote: > >> * configure.ac: > >> -pthread is not available on Haiku. > >> Haiku doesn't require --enable-dri > >>

Re: [Mesa-dev] [PATCH 2/2] radv: implement AMD_gcn_shader extension

2018-02-20 Thread Dylan Baker
Quoting Daniel Schürmann (2018-02-20 11:06:37) > From: Dave Airlie > > Signed-off-by: Daniel Schürmann > --- > src/amd/common/ac_nir_to_llvm.c | 51 +++ > src/amd/vulkan/radv_extensions.py | 1 + >

Re: [Mesa-dev] [PATCH 3/3] meson: Only GLX_USE_TLS when glx is in use

2018-02-20 Thread Dylan Baker
@ if with_glvnd >endif > endif > > +if with_glx != 'disabled' > + pre_args += '-DGLX_USE_TLS' > +endif Can we fold this into the above "if with_glx != 'disabled'" check? With that fixed this patch is: Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Dylan signa

[Mesa-dev] [PATCH] meson: Fix GL and EGL pkg-config files with glvnd

2018-02-20 Thread Dylan Baker
ovide many of the header files, which makes it a more involved job. Fixes: a47c525f3281a27 ("meson: build glx") Fixes: 035ec7a2bb2d5e4 ("meson: Add support for EGL glvnd") Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> cc: Daniel Stone <dani...@collabora.com> ---

Re: [Mesa-dev] [PATCH 3/3] meson: Only GLX_USE_TLS when glx is in use

2018-02-20 Thread Dylan Baker
Quoting Dylan Baker (2018-02-20 10:09:53) > Quoting Alexander von Gluck IV (2018-02-19 10:24:43) > > --- > > meson.build | 5 - > > 1 file changed, 4 insertions(+), 1 deletion(-) > > > > diff --git a/meson.build b/meson.build > > index 6fc7ec7fc9..

Re: [Mesa-dev] [PATCH 3/9] meson: remove unreachable with_glx == 'auto' check

2018-02-23 Thread Dylan Baker
latform support and at > least one OpenGL API') >elif with_glx == 'gallium-xlib' > if not with_gallium >error('Gallium-xlib based GLX requires at least one gallium driver') > -- > 2.16.0 This patch is applicable now, Reviewed-by: Dylan Baker <dy...@pnwbakers.com

Re: [Mesa-dev] [RFC PATCH mesa 1/5] meson: give different names to the vars containing dri drivers vs gallium drivers

2018-02-23 Thread Dylan Baker
Quoting Eric Engestrom (2018-02-23 10:08:44) > Signed-off-by: Eric Engestrom > --- > meson.build | 26 +- > 1 file changed, 13 insertions(+), 13 deletions(-) > > diff --git a/meson.build b/meson.build > index

Re: [Mesa-dev] [PATCH 2/9] meson: recommend building the surfaceless platform

2018-02-23 Thread Dylan Baker
.0 I don't have a strong opinion either way. You're absolutely right that it basically is free to build, it's also pretty much useless except for ChromeOS and a few test platforms. Acked-by: Dylan Baker <dy...@pnwbakers.com> signature.asc Description: signature _

Re: [Mesa-dev] [PATCH 4/9] meson: require shared glapi when using DRI based libGL

2018-02-23 Thread Dylan Baker
+ error('dri based GLX requires shared-glapi') > +endif >endif > endif > > -- > 2.16.0 > > ___ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop

Re: [Mesa-dev] [RFC PATCH mesa 2/5] meson: simplify the gbm option code, and avoid changing types

2018-02-23 Thread Dylan Baker
th_gbm = system_has_kms_drm and with_dri # TODO: or gallium The gallium comment can be dropped, it's wrong. Reviewed-by: Dylan Baker <dy...@pnwbakers.com> > else > - with_gbm = false > + with_gbm = _gbm == 'true' > +endif > +if with_gbm and not system_has_kms_drm >

Re: [Mesa-dev] [RFC PATCH mesa 3/5] meson: avoid changing types for the dri3 option

2018-02-23 Thread Dylan Baker
Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Quoting Eric Engestrom (2018-02-23 10:08:46) > Signed-off-by: Eric Engestrom <eric.engest...@imgtec.com> > --- > meson.build | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/mes

Re: [Mesa-dev] [PATCH 6/9] autotools: error out when building with mangling and glvnd

2018-02-23 Thread Dylan Baker
Quoting Emil Velikov (2018-02-23 11:32:05) > From: Emil Velikov > > It's not a thing that can work, nor is a wise idea to attempt. > > Signed-off-by: Emil Velikov > --- > configure.ac | 3 +++ > 1 file changed, 3 insertions(+) > > diff

Re: [Mesa-dev] [RFC PATCH mesa 5/5] WIP - meson: add a message block at the end of the configuration stage

2018-02-23 Thread Dylan Baker
Quoting Eric Engestrom (2018-02-23 10:08:48) > The messages are basically the same as the ones in configure.ac > > Signed-off-by: Eric Engestrom > --- > Sent out because it's as much as I could do before the weekend, and > before I try to figure out the last bits I'd

Re: [Mesa-dev] [RFC PATCH mesa 4/5] meson: store the result of whether we have gallium-extra-hud and lmsensors

2018-02-23 Thread Dylan Baker
Quoting Eric Engestrom (2018-02-23 10:08:47) > Signed-off-by: Eric Engestrom > --- > meson.build | 4 > 1 file changed, 4 insertions(+) > > diff --git a/meson.build b/meson.build > index 6c22601f9e8864f08e08..770fdc7e50653bcfa7c2 100644 > --- a/meson.build > +++

Re: [Mesa-dev] [PATCH 06/11] meson: Move Wayland dmabuf to wayland-drm

2018-02-15 Thread Dylan Baker
, '@INPUT@', '@OUTPUT@'], > +) > -- > 2.14.3 > > ___ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev Reviewed-by: Dylan Baker <dy...@pnwbakers.com> signature.asc Description: signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] meson: freedreno depends on nir

2018-02-16 Thread Dylan Baker
Quoting Emil Velikov (2018-02-16 10:49:05) > On 16 February 2018 at 17:28, Dylan Baker <dy...@pnwbakers.com> wrote: > > Quoting Emil Velikov (2018-02-16 09:23:01) > >> On 16 February 2018 at 17:15, Dylan Baker <dy...@pnwbakers.com> wrote: > >> > This

Re: [Mesa-dev] [PATCH] meson: Add Haiku platform support v3

2018-02-16 Thread Dylan Baker
Quoting Emil Velikov (2018-02-16 10:46:59) > On 16 February 2018 at 17:58, Dylan Baker <dy...@pnwbakers.com> wrote: > > Emil, > > > > If meson is going to work for their needs it seems silly to merge autotools > > support, when the plan is to drop autot

Re: [Mesa-dev] [PATCH] meson: Add Haiku platform support v3

2018-02-16 Thread Dylan Baker
Quoting Alexander von Gluck IV (2018-02-16 11:08:33) > February 16, 2018 11:49 AM, "Emil Velikov" wrote: > > Hi Alexander, > > > > Did you drop the ball on the autotools patches? I could re-spin them > > but have no way to test. > > I've been focused on meson since

Re: [Mesa-dev] [PATCH] meson: Add Haiku platform support

2018-02-16 Thread Dylan Baker
Quoting Alexander von Gluck IV (2018-02-15 16:58:35) > February 15, 2018 6:36 PM, "Dylan Baker" <dy...@pnwbakers.com> wrote: > > > Quoting Alexander von Gluck IV (2018-02-15 16:04:37) > > > >> I'm actually not 100% sure here. I have missing symbols at

Re: [Mesa-dev] [PATCH] meson: Add Haiku platform support v3

2018-02-16 Thread Dylan Baker
Emil, If meson is going to work for their needs it seems silly to merge autotools support, when the plan is to drop autotools from mesa in the coming year. Dylan Quoting Emil Velikov (2018-02-16 09:49:37) > Hi Alexander, > > Did you drop the ball on the autotools patches? I could re-spin them

[Mesa-dev] [PATCH] meson: freedreno depends on nir

2018-02-16 Thread Dylan Baker
This fixes a race condition in building targets that link in freedreno. cc: Mark Janes <mark.a.ja...@intel.com> Fixes: 0bbecc5a8548883f76a7 ("meson: define driver dependencies") Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> --- src/gallium/drivers/freedreno/mes

Re: [Mesa-dev] [PATCH] meson: freedreno depends on nir

2018-02-16 Thread Dylan Baker
Quoting Emil Velikov (2018-02-16 09:23:01) > On 16 February 2018 at 17:15, Dylan Baker <dy...@pnwbakers.com> wrote: > > This fixes a race condition in building targets that link in freedreno. > > > > cc: Mark Janes <mark.a.ja...@intel.com> > > Fixes: 0bbe

Re: [Mesa-dev] [PATCH v4 02/12] meson: add libswdri and libswkmsdri to link_with unconditionally

2018-02-15 Thread Dylan Baker
Quoting Emil Velikov (2018-02-15 09:37:01) > On 12 February 2018 at 19:27, Dylan Baker <dy...@pnwbakers.com> wrote: > > Fixes: 6b4c7047d571 ("meson: build gallium nine state_tracker") > > Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> > > --- >

Re: [Mesa-dev] [PATCH] meson: Add Haiku platform support

2018-02-15 Thread Dylan Baker
eson 0.44.0 or greater.') > @@ -153,6 +156,9 @@ endif > if with_gallium_st_nine >subdir('state_trackers/nine') > endif > +if with_platform_haiku > + subdir('state_trackers/hgl') > +endif > if with_gallium_opencl ># TODO: this isn't really clover specif

Re: [Mesa-dev] [PATCH] meson: Add Haiku platform support v3

2018-02-16 Thread Dylan Baker
Quoting Emil Velikov (2018-02-16 13:55:06) > On 16 February 2018 at 19:28, Dylan Baker <dy...@pnwbakers.com> wrote: > > Quoting Alexander von Gluck IV (2018-02-16 11:08:33) > >> February 16, 2018 11:49 AM, "Emil Velikov" <emil.l.veli...@gmail.

Re: [Mesa-dev] [PATCH] meson: Add Haiku platform support v3

2018-02-16 Thread Dylan Baker
Quoting Emil Velikov (2018-02-16 14:07:26) > On 16 February 2018 at 19:08, Alexander von Gluck IV > wrote: > > February 16, 2018 11:49 AM, "Emil Velikov" wrote: > >> Hi Alexander, > >> > >> Did you drop the ball on the autotools patches? I could

Re: [Mesa-dev] [PATCH] meson: Add Haiku platform support v4

2018-02-16 Thread Dylan Baker
doing that as a follow up. Reviewed-by: Dylan Baker <dy...@pnwbakers.com> signature.asc Description: signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] meson: Add Haiku platform support v3

2018-02-16 Thread Dylan Baker
Quoting Emil Velikov (2018-02-16 14:21:52) > On 16 February 2018 at 22:12, Dylan Baker <dy...@pnwbakers.com> wrote: > > Quoting Emil Velikov (2018-02-16 13:55:06) > >> On 16 February 2018 at 19:28, Dylan Baker <dy...@pnwbakers.com> wrote: > >> > Quoting A

Re: [Mesa-dev] [Mesa-stable] [PATCH] meson: gallium: add idep_nir dependency where it's used

2018-02-16 Thread Dylan Baker
d thus libnir > - disable the linker garbage collector - since it would otherwise > discard tgsi_to_nir.c > - observe the link-time errors, since the NIR references pulled by > tgsi_to_nir.c are unresolved. > > Cc: 18.0 <mesa-sta...@lists.freedesktop.org> > Cc: Dylan

Re: [Mesa-dev] [PATCH] meson: Add Haiku platform support

2018-02-15 Thread Dylan Baker
Quoting Alexander von Gluck IV (2018-02-15 16:04:37) > I'm actually not 100% sure here. I have missing symbols at link without both > included. More investigation needed on my part. That may be my fault, on Linux and the BSDs have have to have shared_glapi because you need it to do GLES, but if

Re: [Mesa-dev] [PATCH v3 3/4] meson: build clover

2018-01-02 Thread Dylan Baker
ping. Quoting Dylan Baker (2017-12-15 10:54:18) > This has only been compile tested. > > v2: - Have a single option for opencl (Eric E) > - fix typo "tgis" -> "tgsi" (Curro) > - Don't add "lib" to pipe loader libraries, which matches the &g

Re: [Mesa-dev] [PATCH 1/3] Add meson build system

2018-01-03 Thread Dylan Baker
Quoting Igor Gnatenko (2018-01-03 15:22:36) > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > On Wed, 2018-01-03 at 13:31 -0800, Dylan Baker wrote: > > This patch adds a complete meson build system, including tests and > > install. It has the necessary h

[Mesa-dev] [PATCH 1/3] Add meson build system

2018-01-03 Thread Dylan Baker
This patch adds a complete meson build system, including tests and install. It has the necessary hooks to allow it be used as a subproject for other meson based builds such as mesa. Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> --- .editorconfig | 4 +-

[Mesa-dev] [PATCH 3/3] README: Add note about meson

2018-01-03 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> --- README | 21 ++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/README b/README index 26cab9d..58e55bc 100644 --- a/README +++ b/README @@ -15,9 +15,24 @@ with an older kernel. Com

[Mesa-dev] [PATCH 0/3] Meson build system

2018-01-03 Thread Dylan Baker
as a wrapped dependency wit ext_foo variables. This means it can be used to build a mesa that requires a newer libdrm than the system provides (which can be especially useful if you can't install packages on that system) and for testing. This has been build tested only. Dylan Baker (3): Add meson

[Mesa-dev] [PATCH 2/3] autotools: Include meson.build files in tarball

2018-01-03 Thread Dylan Baker
I have tested that a tarball generated by autotools can be built with meson. Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> --- Makefile.am | 30 +- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 7b86214..6

Re: [Mesa-dev] [PATCH 1/3] Add meson build system

2018-01-03 Thread Dylan Baker
Quoting Dylan Baker (2018-01-03 13:31:28) > diff --git a/freedreno/meson.build b/freedreno/meson.build > new file mode 100644 > index 000..47d6e44 > --- /dev/null > +++ b/freedreno/meson.build > @@ -0,0 +1,82 @@ > +# Copyright © 2017 Intel Corporation > + > +# P

Re: [Mesa-dev] [PATCH] meson: nir_control_flow_test needs to depend on nir_builder_opcodes_h

2018-01-03 Thread Dylan Baker
iring everything which depends on nir gather > up a bunch of random generator dependencies seems a bit fragile. > > On Wed, Jan 3, 2018 at 9:28 AM, Dylan Baker <dy...@pnwbakers.com> wrote: > > Fixes a race condition in the build which causes sporadic failures when > -Db

[Mesa-dev] [PATCH] meson: nir_control_flow_test needs to depend on nir_builder_opcodes_h

2018-01-03 Thread Dylan Baker
Fixes a race condition in the build which causes sporadic failures when -Dbuild-tests=true and a significant number of cores is present. Fixes: d1992255bb29 ("meson: Add build Intel "anv" vulkan driver") CC: Mark Janes <mark.a.ja...@intel.com> Signed-off-by: Dylan Bake

Re: [Mesa-dev] [PATCH] meson: fix building without GL

2018-02-26 Thread Dylan Baker
Quoting Emil Velikov (2018-02-26 09:11:35) > On 26 February 2018 at 16:46, Dylan Baker <dy...@pnwbakers.com> wrote: > > libgl will be undefined if with_glx == 'disabled', so move that check > > inside the `if with_glx == 'disabled'` block immediately after that > >

Re: [Mesa-dev] [PATCH] meson: fix building without GL

2018-02-26 Thread Dylan Baker
Quoting Eric Engestrom (2018-02-26 09:13:47) > On Monday, 2018-02-26 16:56:46 +, Eric Engestrom wrote: > > On Monday, 2018-02-26 08:46:54 -0800, Dylan Baker wrote: > > > libgl will be undefined if with_glx == 'disabled', so move that check > > > inside the `if wi

Re: [Mesa-dev] [PATCH] disk cache: Link with -latomic if necessary

2018-02-26 Thread Dylan Baker
Quoting Thierry Reding (2018-02-23 05:18:28) > From: Thierry Reding > > The disk cache implementation uses 64-bit atomic operations. For some > architectures, such as 32-bit ARM, GCC will not be able to translate > these operations into lock-free instructions and will instead

<    9   10   11   12   13   14   15   16   17   18   >