Re: [Mesa-dev] [PATCH] mapi: Fix build with clang

2016-01-25 Thread Armin K.
On 25.1.2016 3:57, Matt Turner wrote: On Sun, Jan 24, 2016 at 2:53 AM, Armin K wrote: From: Tomasz Paweł Gajc Currently, building with clang fails due to: error in backend: symbol 'x86_64_entry_start' is already defined This patch fixes it. Bugzilla: https://bugs.freed

[Mesa-dev] [PATCH] mapi: Fix build with clang

2016-01-24 Thread Armin K
From: Tomasz Paweł Gajc Currently, building with clang fails due to: error in backend: symbol 'x86_64_entry_start' is already defined This patch fixes it. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89599 --- src/mapi/entry_x86-64_tls.h | 4 ++-- src/mapi/entry_x86_tls.h| 4 ++-

Re: [Mesa-dev] recent build breakage w.r.t. dri3

2014-05-02 Thread Armin K.
rsive] Error 1 > > It would be great if someone could check on this. > > -Brian > ___ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/mesa-dev Does the attached patch fix th

Re: [Mesa-dev] classic dri driver cleanup broke --disable-dri

2014-02-20 Thread Armin K.
On 02/20/2014 05:38 PM, Brad King wrote: > Hi Folks, > > Since commit ee55500c (configure: cleanup classic dri drivers handling, > 2014-02-04) when I build from source using > > $ ./autogen.sh --disable-dri > > it fails with this error message: > > configure: error: classic DRI driver 'yes' d

Re: [Mesa-dev] Potential fix for #70410

2014-02-04 Thread Armin K.
On 02/04/2014 05:24 PM, Krzysztof A. Sobiecki wrote: > A small patch to work around a llvm-config-3.5 change, with a newline > hack. > > > > > > > ___ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/li

[Mesa-dev] [PATCH] pipe-loader: Fix build

2014-01-19 Thread Armin K
pipe_loader_drm.c: In function 'pipe_loader_drm_probe_fd': pipe_loader_drm.c:120:4: error: implicit declaration of function 'loader_get_pci_id_for_fd' [-Werror=implicit-function-declaration] --- src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [Mesa-dev] [PATCH] glx: Back DRI3 enablement out of the stable branch.

2013-11-12 Thread Armin K.
On 13.11.2013 1:08, Eric Anholt wrote: After more testing (everyone else trying to build the stack is having as much trouble as I had, even after the problems I had were fixed), it really feels like dri3 is not something we're ready to support in this stable branch. The .c/.h code will remain he

Re: [Mesa-dev] [PATCH] glx: conditionaly build dri3 and present loader (v3)

2013-11-09 Thread Armin K.
On 11/09/2013 01:00 AM, Matt Turner wrote: > On Fri, Nov 8, 2013 at 3:06 PM, Armin K wrote: >> This patch makes it possible to disable DRI3 if desired. > > Reviewed-by: Matt Turner > > Unless non-Linux users still need to be able to disable DRI3, by the > time Mesa 10.

Re: [Mesa-dev] [PATCH] glx: conditionaly build dri3 and present loader (v3)

2013-11-08 Thread Armin K.
On 11/09/2013 01:15 AM, Ian Romanick wrote: > On 11/08/2013 03:06 PM, Armin K wrote: >> This patch makes it possible to disable DRI3 if desired. > > Should we squash this with Jose's patch? > Yes, that would be nice. They do the same thing but for differen

[Mesa-dev] [PATCH] glx: conditionaly build dri3 and present loader (v3)

2013-11-08 Thread Armin K
This patch makes it possible to disable DRI3 if desired. v2: Incorporated changes from Ian Romanick and Aaron Watry Unified libudev check and made libGL link to it only when DRI3 was enabled. v3: Correct misspelled Ian's last name in commit message. Adding Brian Paul to CC since he asked if DR

[Mesa-dev] [PATCH] glx: conditionaly build dri3 and present loader (v2)

2013-11-08 Thread Armin K
This patch makes it possible to disable DRI3 if desired. v2: Incorporated changes from Ian Rommnick and Aaron Watry Unified libudev check and made libGL link to it only when DRI3 was enabled. Adding Brian Paul to CC since he asked if DRI3 stuff can be put behind some sort of config option. Test

Re: [Mesa-dev] [PATCH] i965: Make the driver compile until a proper libdrm can be released.

2013-11-08 Thread Armin K.
On 11/08/2013 07:49 PM, Eric Anholt wrote: > No depending on unreleased code. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71391 > --- > src/mesa/drivers/dri/i965/brw_context.c | 8 +++- > src/mesa/drivers/dri/i965/brw_reset.c | 7 +++ > 2 files changed, 10 insertions(+), 5 d

[Mesa-dev] [PATCH] glx: conditionaly build dri3 and present loader

2013-11-08 Thread Armin K
This patch makes it possible to disable dri3 if desired. I am not sure if first set of changes for src/glx/glxext.c was necessary. Feel free to modify it as you may please. Tested with: ./configure --disable-dri3 --with-dri-drivers=i965 \ --with-gallium-drivers= --disable-vdpau --disable-egl \ -

Re: [Mesa-dev] [PATCH] i965: Do not set bilinear_filter flag in case of multisample blits

2013-10-26 Thread Armin K.
On 10/20/2013 08:12 PM, Armin K. wrote: > On 10/19/2013 02:24 AM, Anuj Phogat wrote: >> Setting bilinear_filter flag in case of multisample blits with >> GL_LINEAR filter causes incorrect behavior in translate_dst_to_src() >> function. This broke Modern Warfare (1, 2 and 3

Re: [Mesa-dev] [PATCH] i965: Do not set bilinear_filter flag in case of multisample blits

2013-10-20 Thread Armin K.
IVB, no Piglit regressions. Trace file of the game > (taken with apitrace) works fine with this patch. > > Cc: mesa-sta...@lists.freedesktop.org > Signed-off-by: Anuj Phogat > Reported-by: Armin K Tested-by: Armin K This patch fixes the issue. > --- > src/mesa/drivers/dri/i965

Re: [Mesa-dev] [Demos] EGLUT Wayland patch

2013-09-11 Thread Armin K.
On 09/11/2013 10:46 AM, Tarnyko wrote: > Hi folks, > Could someone review the following patch ? > https://bugs.freedesktop.org/show_bug.cgi?id=69135 > As of today, the Wayland EGL demo doesn't compile anymore, because of > some API breakage between 1.0 and 1.2. > Patch solves this ; some improvemen

[Mesa-dev] [PATCH] eglut/wayland: Port to 1.0 API.

2013-08-26 Thread Armin K
--- src/egl/eglut/eglut_wayland.c | 129 +++--- 1 file changed, 97 insertions(+), 32 deletions(-) diff --git a/src/egl/eglut/eglut_wayland.c b/src/egl/eglut/eglut_wayland.c index 61207d2..809d8b4 100644 --- a/src/egl/eglut/eglut_wayland.c +++ b/src/egl/eglut/eg

Re: [Mesa-dev] [PATCH] osmesa: Symlink shared library to LIB_DIR

2013-08-21 Thread Armin K.
On 21.8.2013 18:07, Brian Paul wrote: On 08/21/2013 08:44 AM, Armin K wrote: --- src/mesa/drivers/osmesa/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/osmesa/Makefile.am b/src/mesa/drivers/osmesa/Makefile.am index a1c0bb5..d09c18e 100644 --- a/src/mesa

[Mesa-dev] [PATCH] osmesa: Symlink shared library to LIB_DIR

2013-08-21 Thread Armin K
--- src/mesa/drivers/osmesa/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/osmesa/Makefile.am b/src/mesa/drivers/osmesa/Makefile.am index a1c0bb5..d09c18e 100644 --- a/src/mesa/drivers/osmesa/Makefile.am +++ b/src/mesa/drivers/osmesa/Makefile.am @@ -56,6 +56,7 @@

Re: [Mesa-dev] [PATCH] build: Add --enable-gallium-osmesa flag.

2013-08-21 Thread Armin K.
On 08/21/2013 04:06 PM, Brian Paul wrote: > On 08/20/2013 03:18 PM, Matt Turner wrote: >> The Gallium implementation is apparently not ready for regular >> consumption, so as much as I hate adding more build-time options, here's >> another. >> > > The intention was for the old/swrast version of OS

Re: [Mesa-dev] [Mesa-stable] Bison 3 fixes

2013-08-15 Thread Armin K.
On 16.8.2013 0:20, Ian Romanick wrote: On 08/15/2013 06:55 AM, Armin K. wrote: Can we have Bison 3 fixes in 9.2 branch so they make it into 9.2 release? eb7c8c7fb6e49a04f3fe84a6d438160dc4a14ac0 f043381334a0760ec118d07b6fb7785b5692572a de917b4c4c4dfc949d5f8e3d9eb2dd48b63a3de5

[Mesa-dev] [PATCH] osmesa: Copy shared library to LIB_DIR to fix two symlinks

2013-08-15 Thread Armin K
--- src/mesa/drivers/osmesa/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/osmesa/Makefile.am b/src/mesa/drivers/osmesa/Makefile.am index a1c0bb5..d625faa 100644 --- a/src/mesa/drivers/osmesa/Makefile.am +++ b/src/mesa/drivers/osmesa/Makefile.am @@ -56,6 +56,7 @@

Re: [Mesa-dev] Bison 3 fixes

2013-08-15 Thread Armin K.
On 08/15/2013 03:55 PM, Armin K. wrote: > Can we have Bison 3 fixes in 9.2 branch so they make it into 9.2 release? > > eb7c8c7fb6e49a04f3fe84a6d438160dc4a14ac0 > f043381334a0760ec118d07b6fb7785b5692572a > de917b4c4c4dfc949d5f8e3d9eb2dd48b63a3de5 > 6d2a9220b832d9a0c0cf35

[Mesa-dev] Bison 3 fixes

2013-08-15 Thread Armin K.
Can we have Bison 3 fixes in 9.2 branch so they make it into 9.2 release? eb7c8c7fb6e49a04f3fe84a6d438160dc4a14ac0 f043381334a0760ec118d07b6fb7785b5692572a de917b4c4c4dfc949d5f8e3d9eb2dd48b63a3de5 6d2a9220b832d9a0c0cf35fcc5b9de1542af267d 5ffa28df4e4cc22481b4ed41c78632f35765f41d ___

[Mesa-dev] [PATCH v2] gbm: fix linking

2013-08-11 Thread Armin K
Link to internal libwayland-drm library if Wayland EGL platform is enabled. The library needs to be built before gbm. Link to libdrm if gbm_dri is enabled, otherwise library will report undefined references to libdrm symbols when using libgbm without libdrm. Bugzilla: https://bugs.freedesktop.org

Re: [Mesa-dev] [PATCH] gbm: fix linking

2013-08-10 Thread Armin K.
On 08/10/2013 09:26 PM, Armin K wrote: > Link to internal libwayland-drm library if Wayland > EGL platform is enabled. > > Link to libdrm if gbm_dri is enabled. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=67962 > --- > src/gbm/Makefile.am | 3 ++- > 1 file change

[Mesa-dev] [PATCH] gbm: fix linking

2013-08-10 Thread Armin K
Link to internal libwayland-drm library if Wayland EGL platform is enabled. Link to libdrm if gbm_dri is enabled. --- src/gbm/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gbm/Makefile.am b/src/gbm/Makefile.am index e22c55c..1282b14 100644 --- a/src/gbm/Mak

Re: [Mesa-dev] [PATCH] build: fix out-of-tree builds in gallium/auxiliary

2013-08-06 Thread Armin K.
You should probably use $(MKDIR_P) with full path, see other Makefile.am's for an example. On 08/06/2013 01:01 PM, Ross Burton wrote: > The rules were writing files to e.g. util/u_indices_gen.py, but in an > out-of-tree build this directory doesn't exist in the build directory. So, > create the d

Re: [Mesa-dev] [PATCH] gallium/vl: add prime support

2013-07-25 Thread Armin K.
file changed, 19 insertions(+), 1 deletion(-) > Works with mplayer2 using Radeon HD 6470M on 3.11 kernel. For this and libvdpau patches, Tested-by: Armin K. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH mesa 0/3] Wayland: update to 1.2 server API

2013-07-18 Thread Armin K.
On 07/18/2013 02:11 PM, Ander Conselvan de Oliveira wrote: > Hi, > > Wayland 1.2 server API changed a little bit. The change that affects > mesa the most is the deprecation of struct wl_buffer. This series > updates all EGL code to use the new API. > > The motivation for the first patch was to sp

Re: [Mesa-dev] Mesa 9.1.3 soon?

2013-05-15 Thread Armin K.
On 05/15/2013 10:47 AM, EoD wrote: On 13/05/13 21:02, Ian Romanick wrote: I've just picked over a bunch of commits to the 9.1 branch. There are a few commits (some fairly old) that wouldn't pick cleanly. Hopefully someone that knows that code can either resolve the conflicts or add the commit

Re: [Mesa-dev] glxgears performance higher with software renderer compared to h/w drivers

2013-05-06 Thread Armin K.
On 05/06/2013 07:15 PM, Divick Kishore wrote: Hi Patrick, thanks for the reply. Could you guide me on how to build llvmpipe driver? Thanks & Regards, Divick ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedes

Re: [Mesa-dev] [PATCH] gallium: Fix build with LLVM >= r180881

2013-05-02 Thread Armin K.
On 05/02/2013 04:56 PM, Tom Stellard wrote: From: Tom Stellard --- src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 9 - src/gallium/drivers/radeon/radeon_llvm_emit.cpp | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.

[Mesa-dev] [PATCH] radeon: Fix build with LLVM 3.3

2013-05-02 Thread Armin K
--- src/gallium/drivers/radeon/radeon_llvm_emit.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeon/radeon_llvm_emit.cpp b/src/gallium/drivers/radeon/radeon_llvm_emit.cpp index 55dad9b..e0ea31d 100644 --- a/src/gallium/drivers/radeon/radeon_llvm_em

[Mesa-dev] [PATCH] gallivm: Fix build with LLVM 3.3

2013-05-02 Thread Armin K
--- src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp index 717afa7..a531d98 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp

Re: [Mesa-dev] [PATCH] Fix Clover build with latest LLVM 3.3 snapshot

2013-03-31 Thread Armin K.
Dana 31.3.2013 14:21, Mike Lothian je napisao: I've already posted this Clover seems to be working as well as it normally does Doh, and I thought I looked at mesa-dev for a patch. It's hard to find it on such high traffic mailing list. ___ mesa-

[Mesa-dev] [PATCH] Fix Clover build with latest LLVM 3.3 snapshot

2013-03-31 Thread Armin K
Build tested only. --- src/gallium/state_trackers/clover/llvm/invocation.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp index 2785d10..7971bd9 100644 --- a/src/