Re: [Mesa-dev] [Mesa-stable] [PATCH 2/2] radeonsi: set MIP_POINT_PRECLAMP to 0

2017-09-19 Thread Dave Airlie
On 19 September 2017 at 02:38, Marek Olšák wrote: > I commented on patch 1. Other than that, the series is: > > Reviewed-by: Marek Olšák d81bd2f75462646d3803d683a28f6682a2ce3078 Author: Dave Airlie Date: Tue Mar 7 05:08:42 2017 +

[Mesa-dev] [PATCH] radv: only bind specified layer subset to color/depth buffers.

2017-09-19 Thread Dave Airlie
From: Dave Airlie This just fixes something I saw while reading vega traces, but since we never bind a 3D texture for rendering, we only ever want to bind the sublevels here. This causes no regressions on cts on tahiti. Signed-off-by: Dave Airlie ---

Re: [Mesa-dev] [PATCH] Android: move libraries to /vendor

2017-09-19 Thread Tapani Pälli
On 09/20/2017 12:57 AM, Rob Herring wrote: As part of Treble project in Android O, all the device specific files have to be located in a separate vendor partition. This is done by setting LOCAL_PROPRIETARY_MODULE (the name is misleading). This change will not break existing platforms without a

Re: [Mesa-dev] [PATCH 3/5] anv: Fix some comment typos.

2017-09-19 Thread Jason Ekstrand
rb On Tue, Sep 19, 2017 at 11:06 AM, Eric Anholt wrote: > --- > src/intel/vulkan/anv_private.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_ > private.h > index df8de8d9407c..2808a5e991e7

[Mesa-dev] [PATCH] glsl: silence signed/unsigned comparison warning

2017-09-19 Thread Brian Paul
--- src/compiler/glsl/ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/glsl/ir.cpp b/src/compiler/glsl/ir.cpp index 49db56e..18bf1eb 100644 --- a/src/compiler/glsl/ir.cpp +++ b/src/compiler/glsl/ir.cpp @@ -1100,7 +1100,7 @@ ir_constant *

[Mesa-dev] [Bug 101614] OSMesa 17.1.3 simd16intrin build FAIL on Win/MinGW - 'expected initializer before _simd16_setzero_ps ...'

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101614 --- Comment #15 from Trevor SANDY --- Hi Guys ! I would like to come back on this ticket because, for me, the problem I reported is completely fixed by the patch George Kyriazis provided. However, I noticed his patch is

[Mesa-dev] [PATCH] vulkan/wsi/wayland: Implement explicit fencing

2017-09-19 Thread Daniel Stone
Signed-off-by: Daniel Stone --- src/vulkan/Makefile.am | 10 src/vulkan/Makefile.sources | 4 +- src/vulkan/wsi/wsi_common_wayland.c | 100 ++-- 3 files changed, 110 insertions(+), 4 deletions(-) diff --git

[Mesa-dev] [PATCH 2/2] st/va: Implement vaExportSurfaceHandle()

2017-09-19 Thread Mark Thompson
This is a new interface in libva2 to support wider use-cases of passing surfaces to external APIs. In particular, this allows export of NV12 and P010 surfaces. Signed-off-by: Mark Thompson --- Trivial update for a minor change requested on libva side (1/2 identical). Still

[Mesa-dev] [PATCH] Android: move libraries to /vendor

2017-09-19 Thread Rob Herring
As part of Treble project in Android O, all the device specific files have to be located in a separate vendor partition. This is done by setting LOCAL_PROPRIETARY_MODULE (the name is misleading). This change will not break existing platforms without a vendor partition as it will just move files to

[Mesa-dev] [PATCH] anv/entrypoints_gen: Dedent the C code

2017-09-19 Thread Jason Ekstrand
This makes the C code be justified over to the left. --- src/intel/vulkan/anv_entrypoints_gen.py | 392 1 file changed, 196 insertions(+), 196 deletions(-) diff --git a/src/intel/vulkan/anv_entrypoints_gen.py b/src/intel/vulkan/anv_entrypoints_gen.py index

[Mesa-dev] [PATCH] egl/wayland: Make wayland_drm_init declaration match the implementation

2017-09-19 Thread Jason Ekstrand
Fixes: 1d0be5b3fe548ee33d4520092f583c76d42510a6 Cc: Emil Velikov --- src/egl/wayland/wayland-drm/wayland-drm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/egl/wayland/wayland-drm/wayland-drm.h b/src/egl/wayland/wayland-drm/wayland-drm.h

[Mesa-dev] [Bug 102852] Scons: Support the new Scons 3.0.0

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102852 --- Comment #3 from Alex Granni --- Created attachment 134347 --> https://bugs.freedesktop.org/attachment.cgi?id=134347=edit Scons 3.0.0 compatibility patch Fixing this turned out to be very straight forward. Scons

Re: [Mesa-dev] [PATCH] swr/rast: do not crash on NULL strings returned by getenv

2017-09-19 Thread Rowley, Timothy O
I have a bit of a preference for Eric’s version. -Tim On Sep 18, 2017, at 7:10 AM, Emil Velikov > wrote: On 18 September 2017 at 11:48, Eric Engestrom > wrote: On Monday,

[Mesa-dev] [PATCH] swr/rast: remove llvm fence/atomics from generated files

2017-09-19 Thread Tim Rowley
We currently don't use these instructions, and since their API changed in llvm-5.0 having them in the autogen files broke the mesa release tarballs which ship with generated autogen files. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102847 CC: mesa-sta...@lists.freedesktop.org ---

Re: [Mesa-dev] [PATCH 2/2] i965: Only set planar_format if it's actually one

2017-09-19 Thread Jason Ekstrand
On Tue, Sep 19, 2017 at 6:40 AM, Daniel Stone wrote: > From: Louis-Francis Ratté-Boulianne > > The planar_format image property was always set even for > non-planar formats. This was breaking CCS support as > intel_from_planar is now making sure we

Re: [Mesa-dev] [PATCH 1/2] i965: Fix duplication of DRI images

2017-09-19 Thread Jason Ekstrand
Reviewed-by: Jason Ekstrand On Tue, Sep 19, 2017 at 6:40 AM, Daniel Stone wrote: > From: Louis-Francis Ratté-Boulianne > > Some DRI image properties weren't properly duplicated in the > new image. Some properties are still

[Mesa-dev] [PATCH 10/14] st/va: make internal func vlVaHandleSurfaceAllocate() call simpler

2017-09-19 Thread Leo Liu
--- src/gallium/state_trackers/va/picture.c| 2 +- src/gallium/state_trackers/va/surface.c| 7 ++- src/gallium/state_trackers/va/va_private.h | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/gallium/state_trackers/va/picture.c

[Mesa-dev] [PATCH 14/14] st/va/postproc: implement the DRM prime grabber

2017-09-19 Thread Leo Liu
--- src/gallium/state_trackers/va/postproc.c | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/gallium/state_trackers/va/postproc.c b/src/gallium/state_trackers/va/postproc.c index d99fc78..b20f334 100644 --- a/src/gallium/state_trackers/va/postproc.c

[Mesa-dev] [PATCH 13/14] vl/compositor: convert RGB buffer to YUV with color conversion

2017-09-19 Thread Leo Liu
--- src/gallium/auxiliary/vl/vl_compositor.c | 71 src/gallium/auxiliary/vl/vl_compositor.h | 12 ++ 2 files changed, 83 insertions(+) diff --git a/src/gallium/auxiliary/vl/vl_compositor.c b/src/gallium/auxiliary/vl/vl_compositor.c index c084de9..b1c39e1

[Mesa-dev] [PATCH 12/14] vl/compositor: create RGB to YUV fragment shader

2017-09-19 Thread Leo Liu
--- src/gallium/auxiliary/vl/vl_compositor.c | 46 src/gallium/auxiliary/vl/vl_compositor.h | 5 2 files changed, 51 insertions(+) diff --git a/src/gallium/auxiliary/vl/vl_compositor.c b/src/gallium/auxiliary/vl/vl_compositor.c index 0749c47..c084de9

[Mesa-dev] [PATCH 11/14] st/va/postproc: use progressive target buffer for scaling

2017-09-19 Thread Leo Liu
Scaling between interlaced buffers, esp. for scale-up, because blit will scale up top filed and bottom field separately. it'll result in the weaving for these buffer with lack of accuracy. So use shader deint for the case. --- src/gallium/state_trackers/va/postproc.c | 18 ++ 1

[Mesa-dev] [PATCH 09/14] st/va/postproc: add a full NV12 deint support from buffer I to P

2017-09-19 Thread Leo Liu
Before it's impossible to transcode an interlaced video, becasue if in order for encoder to work, we have to force buffer to progessive, but the deint with buffer from I to P is missing. Now along With the new YUV deint full function, it works with weave and bob deint. Also this will benefit

[Mesa-dev] [PATCH 05/14] st/omx: use new vl_compositor_yuv_deint_full() to deint

2017-09-19 Thread Leo Liu
--- src/gallium/state_trackers/omx_bellagio/vid_dec.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/gallium/state_trackers/omx_bellagio/vid_dec.c b/src/gallium/state_trackers/omx_bellagio/vid_dec.c index 28741c0..b200abe 100644 ---

[Mesa-dev] [PATCH 06/14] st/va: use new vl_compositor_yuv_deint_full() to deint

2017-09-19 Thread Leo Liu
We also set src rectangle explicitly just in case of the mismatch of size between interlaced buffer and progressive buffer --- src/gallium/state_trackers/va/picture.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/gallium/state_trackers/va/picture.c

[Mesa-dev] [PATCH 08/14] vl/compositor: add Bob top and bottom to YUV deint function

2017-09-19 Thread Leo Liu
--- src/gallium/auxiliary/vl/vl_compositor.c | 34 ++-- 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/src/gallium/auxiliary/vl/vl_compositor.c b/src/gallium/auxiliary/vl/vl_compositor.c index f758f08..0749c47 100644 ---

[Mesa-dev] [PATCH 07/14] vl/compositor: remove vl_compositor_yuv_deint() function

2017-09-19 Thread Leo Liu
No longer used. --- src/gallium/auxiliary/vl/vl_compositor.c | 31 --- src/gallium/auxiliary/vl/vl_compositor.h | 9 - 2 files changed, 40 deletions(-) diff --git a/src/gallium/auxiliary/vl/vl_compositor.c b/src/gallium/auxiliary/vl/vl_compositor.c index

[Mesa-dev] [PATCH 04/14] vl/compositor: add a new function for YUV deint

2017-09-19 Thread Leo Liu
It will replace previous deint function with abilities of scaling and field deinterlacing --- src/gallium/auxiliary/vl/vl_compositor.c | 30 ++ src/gallium/auxiliary/vl/vl_compositor.h | 12 2 files changed, 42 insertions(+) diff --git

[Mesa-dev] [PATCH 03/14] vl/compositor: extend YUV deint function to do field deint

2017-09-19 Thread Leo Liu
It will add Bob deint ability to interlaced video for HW encoder --- src/gallium/auxiliary/vl/vl_compositor.c | 26 +- src/gallium/auxiliary/vl/vl_compositor.h | 12 +--- 2 files changed, 26 insertions(+), 12 deletions(-) diff --git

[Mesa-dev] [PATCH 02/14] vl/compositor: separate YUV part from shader video buffer function

2017-09-19 Thread Leo Liu
So that it can be re-used --- src/gallium/auxiliary/vl/vl_compositor.c | 31 ++- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/src/gallium/auxiliary/vl/vl_compositor.c b/src/gallium/auxiliary/vl/vl_compositor.c index 794c8b5..714b894 100644 ---

[Mesa-dev] [PATCH 00/14] Patches for VA-API State Tracker Postproc

2017-09-19 Thread Leo Liu
This series are for VA-API State Tracker Postproc, including: Deinterlacing I video for transcode; Scaling support in postproc for transcode; Frame grabber in postproc Thanks Andy Furniss for lots of testing on these. Leo Liu (14): st/va/postproc: use video original size

[Mesa-dev] [PATCH 01/14] st/va/postproc: use video original size for postprocessing

2017-09-19 Thread Leo Liu
Otherwise the aligned size will make video scaled Cc: mesa-sta...@lists.freedesktop.org --- src/gallium/state_trackers/va/postproc.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/gallium/state_trackers/va/postproc.c

Re: [Mesa-dev] [PATCH 08/12] anv/image: Support creating uncompressed views of compressed images

2017-09-19 Thread Jason Ekstrand
On Tue, Sep 19, 2017 at 6:52 AM, Lionel Landwerlin < lionel.g.landwer...@intel.com> wrote: > On 15/09/17 17:01, Jason Ekstrand wrote: > >> In order to get support everywhere, this gets a bit complicated. On Sky >> Lake and later, everything is fine because HALIGN/VALIGN are specified >> in

Re: [Mesa-dev] [PATCH 14/15] anv: enable multiple planes per image/imageView

2017-09-19 Thread Jason Ekstrand
On Tue, Sep 19, 2017 at 7:39 AM, Lionel Landwerlin < lionel.g.landwer...@intel.com> wrote: > On 16/09/17 00:06, Jason Ekstrand wrote: > > > > On Fri, Sep 15, 2017 at 7:11 AM, Lionel Landwerlin < > lionel.g.landwer...@intel.com> wrote: > >> This change introduce the concept of planes for image &

Re: [Mesa-dev] [PATCH 06/15] vulkan: util: add macros to extract extension/offset number from enums

2017-09-19 Thread Jason Ekstrand
On Tue, Sep 19, 2017 at 7:21 AM, Lionel Landwerlin < lionel.g.landwer...@intel.com> wrote: > On 15/09/17 22:34, Jason Ekstrand wrote: > > On Fri, Sep 15, 2017 at 7:10 AM, Lionel Landwerlin < > lionel.g.landwer...@intel.com> wrote: > >> Signed-off-by: Lionel Landwerlin

Re: [Mesa-dev] [PATCH] egl/dri: link directly to libglapi.so

2017-09-19 Thread Emil Velikov
On 19 September 2017 at 18:52, Rob Herring wrote: > On Tue, Sep 19, 2017 at 12:19 PM, Emil Velikov > wrote: >> From: Emil Velikov >> >> In order to build EGL, one has to use shared glapi - libglapi.so. >> >> Thus the

Re: [Mesa-dev] [PATCH 7/9] wayland-drm: static inline wayland_drm_buffer_get

2017-09-19 Thread Emil Velikov
On 15 September 2017 at 16:41, Daniel Stone wrote: > Hi, > > On 15 September 2017 at 16:13, Emil Velikov wrote: >> On 15 September 2017 at 15:13, Daniel Stone wrote: >>> But if you avoid wl_resource_instance_of() and replace

Re: [Mesa-dev] [PATCH 1/4] egl: simplify _eglDebugReport* API

2017-09-19 Thread Emil Velikov
On 15 September 2017 at 16:34, Kyle Brenneman wrote: > On 09/15/2017 07:42 AM, Emil Velikov wrote: >> >> Hi Kyle, >> >> On 8 September 2017 at 13:09, Emil Velikov >> wrote: >>> >>> On 7 September 2017 at 19:21, Kyle Brenneman

[Mesa-dev] [PATCH 1/5] intel/genxml: Convert a not-present-or-"1" dict to a set.

2017-09-19 Thread Eric Anholt
I was implementing the same enum support in broadcom's gen_pack_header.py, and did this same simplification there. --- src/intel/genxml/gen_pack_header.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/intel/genxml/gen_pack_header.py

[Mesa-dev] [PATCH 5/5] configure: Add the new "vc5" driver to the list, requiring a simulator.

2017-09-19 Thread Eric Anholt
My intent is to develop the vc5 driver in-tree for some time to build the CL generation and shader compiler code, and keep out-of-tree patches for talking to an actual kernel driver until the kernel driver can be stabilized on the hardware. v2: Define a HAVE_BROADCOM_DRIVERS, like HAVE_INTEL or

[Mesa-dev] [PATCH 3/5] anv: Fix some comment typos.

2017-09-19 Thread Eric Anholt
--- src/intel/vulkan/anv_private.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index df8de8d9407c..2808a5e991e7 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -1895,7

[Mesa-dev] [PATCH 0/5] vc5 prep touching common code

2017-09-19 Thread Eric Anholt
Here are a few little patches in my vc5 series -- a couple of required ones, and a couple of cleanups from the vc5 and bcmv work. The remainder of vc5 I think I have the necessary acks to merge (airlied and danvet). Eric Anholt (5): intel/genxml: Convert a not-present-or-"1" dict to a set.

[Mesa-dev] [PATCH 4/5] nir: Move vc4's alpha test lowering to core NIR.

2017-09-19 Thread Eric Anholt
I've been doing this inside of vc4, but vc5 wants it as well and it may be useful for other drivers (Intel has a related path for pre-gen6 with MRT, and freedreno had a TGSI path for it at one point). This required defining a common enum for the standard comparison functions, but other lowering

[Mesa-dev] [PATCH 2/5] gallium: Weaken assertion about u_mm's align2 field.

2017-09-19 Thread Eric Anholt
vc5 MMU mappings are access-controlled at a 128kb boundary, so the 4kb here was too small for that purpose. Allowing any valid align2 value that u_mm's 32-bit addressing can represent will still catch most cases of people passing in a byte alignment. --- src/gallium/auxiliary/util/u_mm.c | 5

Re: [Mesa-dev] [PATCH] egl/dri: link directly to libglapi.so

2017-09-19 Thread Rob Herring
On Tue, Sep 19, 2017 at 12:19 PM, Emil Velikov wrote: > From: Emil Velikov > > In order to build EGL, one has to use shared glapi - libglapi.so. > > Thus the dlopen/dlsym dance is no longer needed and we can link to the > library directly. >

Re: [Mesa-dev] [PATCH 2/2] util/u_atomic: Add implementation of __sync_val_compare_and_swap_8

2017-09-19 Thread Matt Turner
On Tue, Sep 19, 2017 at 7:47 AM, Juan A. Suarez Romero wrote: > On Fri, 2017-09-15 at 14:58 +0100, Emil Velikov wrote: >> On 14 September 2017 at 20:07, Matt Turner wrote: >> > Needed for 32-bit PowerPC. >> >> I hope GCC/Clang will get smart enough and

[Mesa-dev] [PATCH] egl/dri: link directly to libglapi.so

2017-09-19 Thread Emil Velikov
From: Emil Velikov In order to build EGL, one has to use shared glapi - libglapi.so. Thus the dlopen/dlsym dance is no longer needed and we can link to the library directly. This allows us to remove a handful of platform specific names of the library. Cc: Jonathan

Re: [Mesa-dev] [PATCH 1/2] configure: check if -latomic is needed for __atomic_*

2017-09-19 Thread Emil Velikov
On 19 September 2017 at 13:01, Grazvydas Ignotas wrote: > On Tue, Sep 19, 2017 at 2:04 PM, Emil Velikov > wrote: >> On 19 September 2017 at 10:12, Grazvydas Ignotas wrote: >>> On Mon, Sep 18, 2017 at 11:30 PM, Matt Turner

Re: [Mesa-dev] [PATCH v4 1/1] clover: Wait for requested operation if blocking flag is set

2017-09-19 Thread Aaron Watry
On Fri, Sep 15, 2017 at 8:46 PM, Jan Vesely wrote: > On Thu, 2017-09-14 at 14:39 -0700, Francisco Jerez wrote: >> Jan Vesely writes: >> >> > On Mon, 2017-09-04 at 13:23 -0700, Francisco Jerez wrote: >> > > Jan Vesely

Re: [Mesa-dev] [PATCH 2/2] etnaviv: move sw query defines to etnaviv_query_sw.h

2017-09-19 Thread Wladimir J. van der Laan
On Tue, Sep 19, 2017 at 06:16:05PM +0200, Christian Gmeiner wrote: > Also add new define ETNA_SW_QUERY_BASE. > > Signed-off-by: Christian Gmeiner Reviewed-by: Wladimir J. van der Laan > --- > src/gallium/drivers/etnaviv/etnaviv_query.h| 3

Re: [Mesa-dev] [PATCH 1/2] etnaviv: move sw get_driver_query_info(..)

2017-09-19 Thread Wladimir J. van der Laan
On Tue, Sep 19, 2017 at 06:16:04PM +0200, Christian Gmeiner wrote: > This change makes etna_get_driver_query_info(..) more generic > and puts the knowledge of supported queries directly besides > the implementation. > > Signed-off-by: Christian Gmeiner Reviewed-by:

Re: [Mesa-dev] Building Mesa GIT with LLVM prior to 3.9

2017-09-19 Thread Aaron Watry
On Tue, Sep 19, 2017 at 9:23 AM, Vedran Miletić wrote: > On 09/18/2017 06:00 PM, Emil Velikov wrote: >> Hi all, >> >> As you may know, different components in Mesa use LLVM for various purposes. >> >> In particular: >> - 3.3.0 for the aux gallium module, gallivm >> - 3.6.0

[Mesa-dev] [Bug 102564] swr: 32-bit binaries crash any app I use with them

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102564 --- Comment #8 from George Kyriazis --- Regarding PPSSPP 64-bit, please file a separate bug. However, please note these games (or game emulators) are not our current focus. -- You are receiving this mail because:

[Mesa-dev] [PATCH 2/2] etnaviv: move sw query defines to etnaviv_query_sw.h

2017-09-19 Thread Christian Gmeiner
Also add new define ETNA_SW_QUERY_BASE. Signed-off-by: Christian Gmeiner --- src/gallium/drivers/etnaviv/etnaviv_query.h| 3 +-- src/gallium/drivers/etnaviv/etnaviv_query_sw.h | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git

[Mesa-dev] [PATCH 1/2] etnaviv: move sw get_driver_query_info(..)

2017-09-19 Thread Christian Gmeiner
This change makes etna_get_driver_query_info(..) more generic and puts the knowledge of supported queries directly besides the implementation. Signed-off-by: Christian Gmeiner --- src/gallium/drivers/etnaviv/etnaviv_query.c| 15 +++

Re: [Mesa-dev] [PATCH 2/2] intel: automake: add isl_genX_priv.h in EXTRA_DIST

2017-09-19 Thread Emil Velikov
s/in EXTRA_DIST/the sources list/ ... to reflect reality. Either way r-b still stands. -Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 1/2] vulkan: automake: add vk_android_native_buffer.h in EXTRA_DIST

2017-09-19 Thread Emil Velikov
Heh, I wrote the exact same files literally 6 minutes ago. For the series Reviewed-by: Emil Velikov -Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH 2/2] intel: automake: add isl_genX_priv.h in EXTRA_DIST

2017-09-19 Thread Juan A. Suarez Romero
Fixes: CC isl/isl_format_layout.lo In file included from ../../../../src/intel/isl/isl_storage_image.c:24:0: ../../../../src/intel/isl/isl_priv.h:170:29: fatal error: isl_genX_priv.h: No such file or directory compilation terminated. Makefile:2936: recipe for target

[Mesa-dev] [PATCH 1/2] vulkan: automake: add vk_android_native_buffer.h in EXTRA_DIST

2017-09-19 Thread Juan A. Suarez Romero
Fixes: CCLD libvulkan_wsi.la ar: `u' modifier ignored since `D' is the default (see `U') ../../../../src/vulkan/util/vk_enum_to_str.c:26:45: fatal error: vulkan/vk_android_native_buffer.h: No such file or directory compilation terminated. make[5]: *** [util/vk_enum_to_str.lo] Error 1 When

[Mesa-dev] [Bug 102809] Rust shadows(?) flash random colours

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102809 Alex Deucher changed: What|Removed |Added Assignee|mesa-dev@lists.freedesktop.

Re: [Mesa-dev] [PATCH mesa 4/6] scons: use python3-compatible maps

2017-09-19 Thread Ilia Mirkin
On Tue, Sep 19, 2017 at 10:14 AM, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom > --- > src/gallium/drivers/swr/SConscript | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git

Re: [Mesa-dev] [PATCH 1/2] util: Link libmesautil into u_atomic_test

2017-09-19 Thread Emil Velikov
On 19 September 2017 at 15:37, Juan A. Suarez Romero wrote: > On Fri, 2017-09-15 at 14:48 +0100, Emil Velikov wrote: >> eOn 14 September 2017 at 20:07, Matt Turner wrote: >> > Platforms without particular atomic operations require the >> > implementations

Re: [Mesa-dev] [PATCH 2/2] util/u_atomic: Add implementation of __sync_val_compare_and_swap_8

2017-09-19 Thread Juan A. Suarez Romero
On Fri, 2017-09-15 at 14:58 +0100, Emil Velikov wrote: > On 14 September 2017 at 20:07, Matt Turner wrote: > > Needed for 32-bit PowerPC. > > I hope GCC/Clang will get smart enough and provide these for all > architectures. > Be that via built-ins or automatically pulling

Re: [Mesa-dev] [PATCH mesa 6/6] scons: use python3-compatible string-check

2017-09-19 Thread Eric Engestrom
On Tuesday, 2017-09-19 10:20:34 -0400, Ilia Mirkin wrote: > This might be python3-compatible, but it's not the same thing. str != > unicode. Not sure where "names" can come from, but if it can come in > as a unicode string, this won't work. Thanks, this was the patch I was the least-sure about.

Re: [Mesa-dev] [PATCH 01/12] anv/image: Add support for the new depth/stencil layouts

2017-09-19 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 15/09/17 17:01, Jason Ekstrand wrote: --- src/intel/vulkan/anv_image.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c index 492b341..63e507a 100644 ---

Re: [Mesa-dev] [PATCH 05/12] anv/image: Add support for the VkImageViewUsageCreateInfoKHR struct

2017-09-19 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 15/09/17 17:01, Jason Ekstrand wrote: --- src/intel/vulkan/anv_image.c | 23 +++ 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c

Re: [Mesa-dev] [PATCH 14/15] anv: enable multiple planes per image/imageView

2017-09-19 Thread Lionel Landwerlin
On 16/09/17 00:06, Jason Ekstrand wrote: On Fri, Sep 15, 2017 at 7:11 AM, Lionel Landwerlin > wrote: This change introduce the concept of planes for image & views. It matches the planes available in new formats.

Re: [Mesa-dev] [PATCH 1/2] util: Link libmesautil into u_atomic_test

2017-09-19 Thread Juan A. Suarez Romero
On Fri, 2017-09-15 at 14:48 +0100, Emil Velikov wrote: > eOn 14 September 2017 at 20:07, Matt Turner wrote: > > Platforms without particular atomic operations require the > > implementations in u_atomic.c > > Fixes: a6a38a038bd ("util/u_atomic: provide 64bit atomics where >

Re: [Mesa-dev] [PATCH v2 1/2] etnaviv: fix varying interpolation

2017-09-19 Thread Wladimir J. van der Laan
On Fri, Sep 15, 2017 at 06:04:49PM +0200, Lucas Stach wrote: > It seems that newer cores don't use the PA_ATTRIBUTES to decide if the > varying should bypass the flat shading, but derive this from the component > use. This fixes flat shading on GC880+. > > VARYING_COMPONENT_USE_POINTCOORD is a

Re: [Mesa-dev] [PATCH v2 2/2] etnaviv: remove flat shading workaround

2017-09-19 Thread Wladimir J. van der Laan
On Fri, Sep 15, 2017 at 06:04:50PM +0200, Lucas Stach wrote: > It turned out not to be a hardware bug, but the shader compiler > emitting wrong varying component use information. With that fixed > we can turn flat shading back on. > > Signed-off-by: Lucas Stach >

[Mesa-dev] [Bug 102809] Rust shadows(?) flash random colours

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102809 --- Comment #4 from bugzilla.i...@spamgourmet.com --- Is there anything that I can do to help? -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the

Re: [Mesa-dev] [PATCH 2/3] etnaviv: add resource subregion copy

2017-09-19 Thread Wladimir J. van der Laan
On Fri, Sep 15, 2017 at 06:00:53PM +0200, Lucas Stach wrote: > This is useful if we only need to copy part of a larger resource, mostly > when using the RS engine to de-/tile on pipe transfers. > > Signed-off-by: Lucas Stach Reviewed-by: Wladimir J. van der Laan

Re: [Mesa-dev] [PATCH 1/3] etnaviv: support tile aligned RS blits

2017-09-19 Thread Wladimir J. van der Laan
On Fri, Sep 15, 2017 at 06:00:52PM +0200, Lucas Stach wrote: > The RS can blit abitrary tile aligned subregions of a resource by > adjusting the buffer offset. Thanks for doing this. Comments inline, > Signed-off-by: Lucas Stach > --- >

Re: [Mesa-dev] Building Mesa GIT with LLVM prior to 3.9

2017-09-19 Thread Vedran Miletić
On 09/18/2017 06:00 PM, Emil Velikov wrote: > Hi all, > > As you may know, different components in Mesa use LLVM for various purposes. > > In particular: > - 3.3.0 for the aux gallium module, gallivm > - 3.6.0 for the opencl state-tracker, clover > - 3.9.0 for multiple drivers r600, radeonsi,

Re: [Mesa-dev] [PATCH 06/15] vulkan: util: add macros to extract extension/offset number from enums

2017-09-19 Thread Lionel Landwerlin
On 15/09/17 22:34, Jason Ekstrand wrote: On Fri, Sep 15, 2017 at 7:10 AM, Lionel Landwerlin > wrote: Signed-off-by: Lionel Landwerlin > ---

Re: [Mesa-dev] [PATCH 04/15] vulkan: enum generator: make registry more flexible

2017-09-19 Thread Lionel Landwerlin
On 15/09/17 22:27, Jason Ekstrand wrote: On Fri, Sep 15, 2017 at 7:10 AM, Lionel Landwerlin > wrote: It will be used to store extension numbers as well. Signed-off-by: Lionel Landwerlin

Re: [Mesa-dev] [PATCH mesa 6/6] scons: use python3-compatible string-check

2017-09-19 Thread Ilia Mirkin
This might be python3-compatible, but it's not the same thing. str != unicode. Not sure where "names" can come from, but if it can come in as a unicode string, this won't work. On Tue, Sep 19, 2017 at 10:14 AM, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom

[Mesa-dev] [PATCH mesa 4/6] scons: use python3-compatible maps

2017-09-19 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- src/gallium/drivers/swr/SConscript | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/swr/SConscript b/src/gallium/drivers/swr/SConscript index fdced66463c912048e04..3b624ceccad4fc8bade2

[Mesa-dev] [PATCH mesa 1/6] scons: use python3-compatible print()

2017-09-19 Thread Eric Engestrom
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102852 Reported-by: Alex Granni Signed-off-by: Eric Engestrom --- SConstruct | 8 scons/gallium.py| 22 +++---

[Mesa-dev] [PATCH mesa 6/6] scons: use python3-compatible string-check

2017-09-19 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- scons/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scons/custom.py b/scons/custom.py index 0767ba936d410167116d..978ee5f9ec7c23a74cb9 100644 --- a/scons/custom.py +++ b/scons/custom.py @@ -257,7 +257,7

[Mesa-dev] [PATCH mesa 5/6] scons: use python3-compatible exceptions

2017-09-19 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- scons/crossmingw.py | 2 +- scons/dxsdk.py | 2 +- scons/llvm.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scons/crossmingw.py b/scons/crossmingw.py index

[Mesa-dev] [PATCH mesa 3/6] scons: use python3-compatible lists

2017-09-19 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- SConstruct | 3 +-- scons/custom.py | 8 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/SConstruct b/SConstruct index 0215aa83073f120fe9df..a59a8ea210e956bb67de 100644 --- a/SConstruct +++ b/SConstruct @@

[Mesa-dev] [PATCH mesa 2/6] scons: use python3-compatible list-key check

2017-09-19 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- scons/gallium.py | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scons/gallium.py b/scons/gallium.py index db7764544145accaacf9..9772eb32bf271de6f358 100755 --- a/scons/gallium.py +++ b/scons/gallium.py

Re: [Mesa-dev] [PATCH 10/12] intel/blorp: Handle clearing compressed surfaces

2017-09-19 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 15/09/17 17:01, Jason Ekstrand wrote: --- src/intel/blorp/blorp_clear.c | 24 +--- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/src/intel/blorp/blorp_clear.c

Re: [Mesa-dev] [PATCH 09/12] intel/blorp: Internally expose surf_convert_to_uncompressed

2017-09-19 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 15/09/17 17:01, Jason Ekstrand wrote: --- src/intel/blorp/blorp_blit.c | 29 - src/intel/blorp/blorp_priv.h | 5 + 2 files changed, 21 insertions(+), 13 deletions(-) diff --git

Re: [Mesa-dev] [PATCH 08/12] anv/image: Support creating uncompressed views of compressed images

2017-09-19 Thread Lionel Landwerlin
On 15/09/17 17:01, Jason Ekstrand wrote: In order to get support everywhere, this gets a bit complicated. On Sky Lake and later, everything is fine because HALIGN/VALIGN are specified in surface elements and are required to be at least 4 so any offsetting we may need to do falls neatly within

Re: [Mesa-dev] [PATCH mesa 2/2] radv: replace conditional compilation with MAYBE_UNUSED

2017-09-19 Thread Emil Velikov
On 18 September 2017 at 18:15, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom > --- > src/amd/vulkan/radv_wsi.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/src/amd/vulkan/radv_wsi.c

[Mesa-dev] [PATCH 2/2] i965: Only set planar_format if it's actually one

2017-09-19 Thread Daniel Stone
From: Louis-Francis Ratté-Boulianne The planar_format image property was always set even for non-planar formats. This was breaking CCS support as intel_from_planar is now making sure we can't have both a modifier and an planar format. Signed-off-by: Louis-Francis

[Mesa-dev] [PATCH 1/2] i965: Fix duplication of DRI images

2017-09-19 Thread Daniel Stone
From: Louis-Francis Ratté-Boulianne Some DRI image properties weren't properly duplicated in the new image. Some properties are still missing, but I'm not certain if there was a good reason to let them out in the first place. Signed-off-by: Louis-Francis Ratté-Boulianne

[Mesa-dev] [Bug 102847] swr fail to build with llvm-5.0.0

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102847 --- Comment #3 from Eric Engestrom --- (In reply to Eric Engestrom from comment #2) > I'm assuming you were building the arch pkgbuild in a clean chroot? > If not, can you try that? Just tested a clean build with the

Re: [Mesa-dev] [PATCH 1/2] configure: check if -latomic is needed for __atomic_*

2017-09-19 Thread Grazvydas Ignotas
On Tue, Sep 19, 2017 at 2:04 PM, Emil Velikov wrote: > On 19 September 2017 at 10:12, Grazvydas Ignotas wrote: >> On Mon, Sep 18, 2017 at 11:30 PM, Matt Turner wrote: >>> On Mon, Sep 18, 2017 at 12:28 PM, Grazvydas Ignotas

[Mesa-dev] [PATCH v3 2/2] travis: Add test for gcc-4.4 compiler tool chain

2017-09-19 Thread Gert Wollny
Add a build check for g++-4.4 which is the oldest gcc based compiler directly supported in ubuntu/trusty, and one of the compilers that don't have full c++11 support, i.e. it doesn't understand -std=c++11. Since llvm >= 3.9 propagates -std=c++11 in the LLVM_CXXFLAGS, an older llvm version is

[Mesa-dev] [PATCH v3 1/2] configure+mesa/st: unify check for -std=c++11 support and enable accordingly

2017-09-19 Thread Gert Wollny
Unify the CXX feature tests for C++11 support that is required for SWR, clover, and mesa/st/tests. Instead of using a custom made test (SWR) or testing for the gcc version (clover), use ax_cxx_compile_stdcxx.m4, modified to return the CXX flags used to enable c++11, to test for C++11 support and

[Mesa-dev] [PATCH v3 0/2] build system: Unify c++11 detection and used [was: configure+mesa/st:check -std=c++11 support and enable tests accordingly]

2017-09-19 Thread Gert Wollny
Was: configure+mesa/st: As Emil pointed out, adding a test for C++11 for only one test is not very nice, and since swr and clover already did distinct checks for this, I propose to unify these tests and base compilation and running the mesa/st/tests one the same test. The second patch then

Re: [Mesa-dev] [Mesa-stable] [PATCH] Scons: LLVM 5.0 support

2017-09-19 Thread Emil Velikov
Alexandru-Liviu Please use email client which does not mangle with the email contents. Things were bit messy here, so I had to redo the whole patch. Personally I use git send-email, since it can generate the patches and send them in one go ;-) Thanks Emil

[Mesa-dev] [Bug 102318] Mesa3D Scons build - LLVM 5.0 not supported

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102318 Emil Velikov changed: What|Removed |Added Status|NEW |RESOLVED

[Mesa-dev] [Bug 101655] Explicit sync support for android

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101655 Emil Velikov changed: What|Removed |Added Status|NEW |RESOLVED

Re: [Mesa-dev] [PATCH 1/2] configure: check if -latomic is needed for __atomic_*

2017-09-19 Thread Emil Velikov
On 19 September 2017 at 10:12, Grazvydas Ignotas wrote: > On Mon, Sep 18, 2017 at 11:30 PM, Matt Turner wrote: >> On Mon, Sep 18, 2017 at 12:28 PM, Grazvydas Ignotas >> wrote: >>> On some platforms, gcc generates library calls when

[Mesa-dev] [Bug 102852] Scons: Support the new Scons 3.0.0

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102852 --- Comment #2 from Alex Granni --- I always used Python 2.7. I always knew Mesa3D Scons build isn't Python 3 compatible. So there is a push towards Python 3 by Scons 3.0 apparently. -- You are receiving this mail

[Mesa-dev] [Bug 102847] swr fail to build with llvm-5.0.0

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102847 --- Comment #2 from Eric Engestrom --- (In reply to Eric Engestrom from comment #1) > Confirmed, hitting the same issue on git. > Bisecting now. Hmm... bisecting failed, the build is always passing now? It might have

[Mesa-dev] [Bug 102809] Rust shadows(?) flash random colours

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102809 --- Comment #3 from Tapani Pälli --- on i965 driver there is no 'flashing' (tested on KBL), this is probably amd/gallium bug -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee

  1   2   >