[Mesa-dev] [PATCH v2 2/4] intel/gen_decoder: Fix length for Media State/Object commands

2017-04-05 Thread Jordan Justen
From BDW PRM, Volume 6: Command Stream Programming, 'Render Command Header Format'. Signed-off-by: Jordan Justen Reviewed-by: Lionel Landwerlin --- src/intel/common/gen_decoder.c | 12 ++-- 1 file changed, 10 insertions(+), 2

[Mesa-dev] [PATCH v2 3/4] intel/gen_decoder: return -1 for unknown command formats

2017-04-05 Thread Jordan Justen
Decoding with aubinator encountered a command of 0x. With the previous code, it caused aubinator to jump 255 + 2 dwords to start decoding again. Instead we can attempt to detect the known instruction formats. If the format is not recognized, then we can advance just 1 dword. v2: *

[Mesa-dev] [PATCH v2 1/4] intel/aubinator_error_decode: Fix structure decode data

2017-04-05 Thread Jordan Justen
The call to gen_print_group should provide a pointer to the beginning of the the structure data, not the start of the batch data. Cc: Lionel Landwerlin Signed-off-by: Jordan Justen --- src/intel/tools/aubinator_error_decode.c | 2 +- 1

[Mesa-dev] [PATCH v2 4/4] intel/aubinator: Stop searching after a custom handler is found

2017-04-05 Thread Jordan Justen
Signed-off-by: Jordan Justen Reviewed-by: Lionel Landwerlin --- src/intel/tools/aubinator.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c index

[Mesa-dev] [Bug 100580] Adding unreachable "return" and "continue" in a GLSL shader leads to different image

2017-04-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100580 Boyan Ding changed: What|Removed |Added QA Contact|mesa-dev@lists.freedesktop.

Re: [Mesa-dev] [PATCH 2/2] travis: add the txc-dxtn library so scons check can pass

2017-04-05 Thread Rhys Kidd
On 5 April 2017 at 13:27, Andres Gomez wrote: > The packaged libtxc-dxtn-s2tc0 will make scons check fail. Manually > remove this package and install libtxc-dxtn instead. > > Signed-off-by: Andres Gomez > Cc: Eric Anholt > Cc: Emil Velikov

Re: [Mesa-dev] [PATCH 1/2] travis: replace Trusty-based LLVM toolchain apt-get with apt addon

2017-04-05 Thread Rhys Kidd
On 5 April 2017 at 13:27, Andres Gomez wrote: > Trusty's LLVM toochain repository was whitelisted some time ago. See: > https://github.com/travis-ci/apt-source-whitelist/commit/ > ebc278924a0b5e282dac685683faf6a318dd424c > > Signed-off-by: Andres Gomez >

[Mesa-dev] [PATCH] mesa: simplify and optimise vertex bindings tracking

2017-04-05 Thread Timothy Arceri
We only need to update it if something changes. Also _mesa_bind_vertex_buffer() will update the mask when binding to a NULL or default buffer so no need to do that update here. --- src/mesa/main/varray.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git

[Mesa-dev] [PATCH] mesa: stop abstracting texture object hashtable locking

2017-04-05 Thread Timothy Arceri
This doesn't do anything useful so just remove it. --- src/mesa/main/shaderimage.c | 5 +++-- src/mesa/main/texobj.c | 17 ++--- src/mesa/main/texobj.h | 6 -- 3 files changed, 5 insertions(+), 23 deletions(-) diff --git a/src/mesa/main/shaderimage.c

[Mesa-dev] [PATCH] i965/blorp: Bump the batch space estimate

2017-04-05 Thread Jason Ekstrand
Commit f938354362655a378d474c5f79c52cea9852ab91 recently increased the alignment on vertex buffer data from 32 to 64. This caused us to consume a bit more batch than we were before and we now go over the estimate by a small amount on certain blits on gen8+. This commit bumps then gen8 batch

Re: [Mesa-dev] [PATCH] mesa: stop abstracting buffer object hashtable locking

2017-04-05 Thread Matt Turner
Reviewed-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] mesa: stop abstracting buffer object hashtable locking

2017-04-05 Thread Timothy Arceri
This doesn't do anything useful so just remove it. --- src/mesa/main/bufferobj.c | 33 ++--- src/mesa/main/bufferobj.h | 6 -- src/mesa/main/varray.c| 4 ++-- 3 files changed, 12 insertions(+), 31 deletions(-) diff --git a/src/mesa/main/bufferobj.c

Re: [Mesa-dev] [PATCH 40/53] i965/drm: Rewrite relocation handling.

2017-04-05 Thread Kenneth Graunke
On Wednesday, April 5, 2017 4:46:27 AM PDT Chris Wilson wrote: > On Tue, Apr 04, 2017 at 05:10:30PM -0700, Kenneth Graunke wrote: > > The execbuf2 kernel API requires us to construct two kinds of lists. > > First is a "validation list" (struct drm_i915_gem_exec_object2[]) > > containing each BO

Re: [Mesa-dev] very strange intermittent frame-dropping

2017-04-05 Thread Luke Kenneth Casson Leighton
ok installed libxcb1-dbg from debian, that gives more info, sorry i can't install all the dbg symbols because of conflicting dependencies, it seems that the packages are not fully sync'd at debian/testing. starting to look like an x11 (xcb-related) bug, not mesa, what do you think? l.

Re: [Mesa-dev] very strange intermittent frame-dropping

2017-04-05 Thread Luke Kenneth Casson Leighton
On Wed, Apr 5, 2017 at 10:43 PM, Chris Wilson wrote: >> 303 frames in 5.0 seconds = 60.424 FPS >> 212 frames in 11.7 seconds = 18.079 FPS > > Overshoots by 6s. that's because, after the first 5 seconds, i did the fvwm2-based "window resize" operation which triggered

Re: [Mesa-dev] [PATCH v4 2/2] anv/query: Busy-wait for available query entries

2017-04-05 Thread Grazvydas Ignotas
On Wed, Apr 5, 2017 at 11:04 PM, Jason Ekstrand wrote: > Before, we were just looking at whether or not the user wanted us to > wait and waiting on the BO. Some clients, such as the Serious engine, > use a single query pool for hundreds of individual query results where >

Re: [Mesa-dev] [PATCH 00/53] i965: Eat libdrm_intel for breakfast

2017-04-05 Thread Kenneth Graunke
On Wednesday, April 5, 2017 5:10:15 AM PDT Chris Wilson wrote: > On Tue, Apr 04, 2017 at 05:09:50PM -0700, Kenneth Graunke wrote: > > I apologize that it may be difficult to review: most people aren't > > familiar with this code (I learned a lot myself), and it's kind of > > huge. I tried. > >

Re: [Mesa-dev] [PATCH 25/53] i965/drm: Drop intel_chipset.h in favor of using gen_device_info.

2017-04-05 Thread Kenneth Graunke
On Wednesday, April 5, 2017 2:50:01 PM PDT Chris Wilson wrote: > On Wed, Apr 05, 2017 at 02:36:38PM -0700, Kenneth Graunke wrote: > > On Wednesday, April 5, 2017 3:33:39 AM PDT Chris Wilson wrote: > > > On Tue, Apr 04, 2017 at 05:10:15PM -0700, Kenneth Graunke wrote: > > > > This moves the PCI ID

Re: [Mesa-dev] [PATCH v3] glsl/blob: avoid NULL ptr in blob_write_string/blob_read_string

2017-04-05 Thread gregory hainaut
On Wed, 5 Apr 2017 14:22:00 -0400 Ilia Mirkin wrote: > On Wed, Apr 5, 2017 at 1:12 PM, Gregory Hainaut > wrote: > > Context: > > Nouveau uses NULL strings for unnamed parameter of texture gather > > offsets opcode. > > To be clear, this isn't a

[Mesa-dev] [PATCH 2/5] radeonsi: add a 'break' in si_check_render_feedback_*()

2017-04-05 Thread Samuel Pitoiset
No need to check all color buffers. Signed-off-by: Samuel Pitoiset --- src/gallium/drivers/radeonsi/si_blit.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_blit.c b/src/gallium/drivers/radeonsi/si_blit.c

[Mesa-dev] [PATCH 3/5] radeonsi: add new is_depth_texture() helper

2017-04-05 Thread Samuel Pitoiset
For bindless. Signed-off-by: Samuel Pitoiset --- src/gallium/drivers/radeonsi/si_descriptors.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_descriptors.c b/src/gallium/drivers/radeonsi/si_descriptors.c

[Mesa-dev] [PATCH 4/5] radeonsi: add new si_decompress_color_texture() helper

2017-04-05 Thread Samuel Pitoiset
For bindless. Signed-off-by: Samuel Pitoiset --- src/gallium/drivers/radeonsi/si_blit.c | 30 +- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_blit.c

[Mesa-dev] [PATCH 1/5] radeonsi: re-use 'desc' in si_set_shader_image()

2017-04-05 Thread Samuel Pitoiset
No need to compute the offset in the descriptor twice. Signed-off-by: Samuel Pitoiset --- src/gallium/drivers/radeonsi/si_descriptors.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_descriptors.c

[Mesa-dev] [PATCH 5/5] radeonsi: add new si_check_render_feedback_texture() helper

2017-04-05 Thread Samuel Pitoiset
For bindless. Signed-off-by: Samuel Pitoiset --- src/gallium/drivers/radeonsi/si_blit.c | 89 +- 1 file changed, 44 insertions(+), 45 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_blit.c

Re: [Mesa-dev] [PATCH 41/53] i965/drm: Merge bo->handle and bo_gem->gem_handle.

2017-04-05 Thread Kenneth Graunke
On Wednesday, April 5, 2017 4:47:57 AM PDT Chris Wilson wrote: > On Tue, Apr 04, 2017 at 05:10:31PM -0700, Kenneth Graunke wrote: > > These fields are the same value. In the bad old days, bo->handle could > > have been an identifier from the pre-GEM fake bufmgr, but that's long > > gone. Keep

Re: [Mesa-dev] [PATCH 25/53] i965/drm: Drop intel_chipset.h in favor of using gen_device_info.

2017-04-05 Thread Chris Wilson
On Wed, Apr 05, 2017 at 02:36:38PM -0700, Kenneth Graunke wrote: > On Wednesday, April 5, 2017 3:33:39 AM PDT Chris Wilson wrote: > > On Tue, Apr 04, 2017 at 05:10:15PM -0700, Kenneth Graunke wrote: > > > This moves the PCI ID detection to intel_screen.c and makes > > > drm_bacon_bufmgr_gem_init()

Re: [Mesa-dev] very strange intermittent frame-dropping

2017-04-05 Thread Chris Wilson
On Wed, Apr 05, 2017 at 10:36:14PM +0100, Luke Kenneth Casson Leighton wrote: > eero, apologies, the mesa-dev list's traffic is very high, i'll switch > over to digest, so please do cc me each time, to mitigate that. > --- > crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68 >

Re: [Mesa-dev] [PATCH] i965: oa-counters: keep on reading reports until delimiting timestamp

2017-04-05 Thread Lionel Landwerlin
On 04/04/17 18:45, Robert Bragg wrote: On Tue, Apr 4, 2017 at 10:20 AM, Lionel Landwerlin > wrote: On 03/04/17 21:04, Robert Bragg wrote: On Mar 30, 2017 16:16, "Lionel Landwerlin"

Re: [Mesa-dev] very strange intermittent frame-dropping

2017-04-05 Thread Luke Kenneth Casson Leighton
eero, apologies, the mesa-dev list's traffic is very high, i'll switch over to digest, so please do cc me each time, to mitigate that. --- crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68 On Wed, Apr 5, 2017 at 1:31 PM, Eero Tamminen wrote: >

Re: [Mesa-dev] [PATCH 25/53] i965/drm: Drop intel_chipset.h in favor of using gen_device_info.

2017-04-05 Thread Kenneth Graunke
On Wednesday, April 5, 2017 3:33:39 AM PDT Chris Wilson wrote: > On Tue, Apr 04, 2017 at 05:10:15PM -0700, Kenneth Graunke wrote: > > This moves the PCI ID detection to intel_screen.c and makes > > drm_bacon_bufmgr_gem_init() take a devinfo pointer. > > > > We also drop the HAS_LLC query stuff -

[Mesa-dev] [Bug 100574] anv_device.c:189: undefined reference to `anv_gem_supports_48b_addresses'

2017-04-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100574 Vinson Lee changed: What|Removed |Added Status|NEW |RESOLVED

Re: [Mesa-dev] [PATCH v4 2/2] anv/query: Busy-wait for available query entries

2017-04-05 Thread Chris Wilson
On Wed, Apr 05, 2017 at 01:04:59PM -0700, Jason Ekstrand wrote: > Before, we were just looking at whether or not the user wanted us to > wait and waiting on the BO. Some clients, such as the Serious engine, > use a single query pool for hundreds of individual query results where > the writes for

Re: [Mesa-dev] [PATCH 11/53] i965/drm: Switch to util/list.h instead of libdrm_lists.h.

2017-04-05 Thread Kenneth Graunke
On Wednesday, April 5, 2017 2:58:31 AM PDT Chris Wilson wrote: > On Tue, Apr 04, 2017 at 05:10:01PM -0700, Kenneth Graunke wrote: > > Both are kernel style lists, so this is trivial. > > > > Signed-off-by: Kenneth Graunke > > --- > > @@ -1928,10 +1928,10 @@

Re: [Mesa-dev] [GSOC] DriConf Replacement

2017-04-05 Thread Nicolai Hähnle
On 05.04.2017 18:57, Jean Hertel wrote: Nicolai, Is there any place were I can find all the options with their respectives descriptions? I have readed a little of information about DRI here[1], but i'm not very sure were I can find a doc about all those options. There isn't a single place

Re: [Mesa-dev] [PATCH 0/9] swr: update rasterizer

2017-04-05 Thread Cherniak, Bruce
Entire set… Reviewed-by: Bruce Cherniak > On Apr 4, 2017, at 1:16 PM, Tim Rowley wrote: > > Highlights include simd16 work, msaa enhancements, and removing the > extra copy of mako we included. > > Tim Rowley (9): > swr: [rasterizer core]

[Mesa-dev] [PATCH v4 2/2] anv/query: Busy-wait for available query entries

2017-04-05 Thread Jason Ekstrand
Before, we were just looking at whether or not the user wanted us to wait and waiting on the BO. Some clients, such as the Serious engine, use a single query pool for hundreds of individual query results where the writes for those queries may be split across several command buffers. In this

Re: [Mesa-dev] [PATCH v3 2/2] anv/query: Busy-wait for available query entries

2017-04-05 Thread Jason Ekstrand
On Wed, Apr 5, 2017 at 11:18 AM, Chris Wilson wrote: > On Wed, Apr 05, 2017 at 11:02:18AM -0700, Jason Ekstrand wrote: > >On Wed, Apr 5, 2017 at 10:45 AM, Chris Wilson > ><[1]ch...@chris-wilson.co.uk> wrote: > > > > On Wed, Apr 05, 2017 at 10:28:53AM -0700,

Re: [Mesa-dev] [PATCH 6/8] intel/isl: Add support for emitting depth/stencil/hiz

2017-04-05 Thread Jason Ekstrand
On Wed, Apr 5, 2017 at 11:59 AM, Pohjolainen, Topi < topi.pohjolai...@gmail.com> wrote: > On Wed, Apr 05, 2017 at 09:10:45AM -0700, Jason Ekstrand wrote: > > On Wed, Apr 5, 2017 at 1:04 AM, Pohjolainen, Topi < > > topi.pohjolai...@gmail.com> wrote: > > > > > On Tue, Apr 04, 2017 at 03:56:35PM

Re: [Mesa-dev] [PATCH 09/14] mesa/main/ff_frag: Don't retrieve format if not necessary.

2017-04-05 Thread Marek Olšák
For patches 1-9: Reviewed-by: Marek Olšák I'll look at the rest later. Marek On Thu, Mar 30, 2017 at 8:09 PM, Gustaw Smolarczyk wrote: > Signed-off-by: Gustaw Smolarczyk > --- > src/mesa/main/ff_fragment_shader.cpp | 15

[Mesa-dev] [PATCH v2] gallium/hud: set the dump file streams to line buffered

2017-04-05 Thread Edmondo Tommasina
Flush the HUD value streams to the dump files after every newline. v2: check that fopen succeeded (Julien) Tested-by: Julien Isorce --- src/gallium/auxiliary/hud/hud_context.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/auxiliary/hud/hud_context.c

Re: [Mesa-dev] [PATCH 6/8] intel/isl: Add support for emitting depth/stencil/hiz

2017-04-05 Thread Pohjolainen, Topi
On Wed, Apr 05, 2017 at 09:10:45AM -0700, Jason Ekstrand wrote: > On Wed, Apr 5, 2017 at 1:04 AM, Pohjolainen, Topi < > topi.pohjolai...@gmail.com> wrote: > > > On Tue, Apr 04, 2017 at 03:56:35PM -0700, Jason Ekstrand wrote: > > > --- > > > src/intel/Makefile.sources | 7 ++ > > >

Re: [Mesa-dev] [PATCH] gallium/hud: set the dump file streams to line buffered

2017-04-05 Thread Edmondo Tommasina
On Wed, Apr 5, 2017 at 12:29 AM, Julien Isorce wrote: > I confirm it works, awesome! Thx! > Should you check that fopen succeeded ? because I think setvbuf would crash > otherwise. You are right. Thanks for the hint V2 coming after some testing. > That's said: >

Re: [Mesa-dev] [PATCH] gallium/util: fixup libunwind includes

2017-04-05 Thread Rob Clark
On Wed, Apr 5, 2017 at 1:42 PM, Emil Velikov wrote: > On 5 April 2017 at 13:37, Rob Clark wrote: >> On Wed, Apr 5, 2017 at 8:25 AM, Emil Velikov >> wrote: >>> From: Emil Velikov >>> >>> Honour

Re: [Mesa-dev] [PATCH 00/53] i965: Eat libdrm_intel for breakfast

2017-04-05 Thread Alex Deucher
On Wed, Apr 5, 2017 at 2:27 PM, Kristian Høgsberg wrote: > On Wed, Apr 5, 2017 at 11:11 AM, Jason Ekstrand wrote: >> On Wed, Apr 5, 2017 at 11:03 AM, Emil Velikov >> wrote: >>> >>> On 5 April 2017 at 18:55, Daniel Vetter

[Mesa-dev] [Bug 92877] Add support for libglvnd

2017-04-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92877 Dennis Schridde changed: What|Removed |Added CC||devuran...@gmx.net

Re: [Mesa-dev] [PATCH 00/53] i965: Eat libdrm_intel for breakfast

2017-04-05 Thread Kristian Høgsberg
On Wed, Apr 5, 2017 at 11:11 AM, Jason Ekstrand wrote: > On Wed, Apr 5, 2017 at 11:03 AM, Emil Velikov > wrote: >> >> On 5 April 2017 at 18:55, Daniel Vetter wrote: >> > On Wed, Apr 05, 2017 at 04:38:25PM +0100, Emil Velikov

[Mesa-dev] [PATCH 2/2] bin/get-{extra, fixes}-pick-list.sh: improve output

2017-04-05 Thread Juan A. Suarez Romero
Show the commit hash and the title in a way that it is easier to copy and paste in the bin/.cherry-ignore-extra file if we want to ignore those commits for the future. --- bin/get-extra-pick-list.sh | 2 +- bin/get-fixes-pick-list.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)

[Mesa-dev] [PATCH 1/2] bin/get-{extra, fixes}-pick-list.sh: add support for ignore list

2017-04-05 Thread Juan A. Suarez Romero
Both scripts does not use a file with the commits to ignore. So if we have handled one of the suggested commits and decided we won't pick it, the scripts will continue suggesting them. This commits adds support for a bin/.cherry-ignore-extra where we can put the commits not explicitly rejected

[Mesa-dev] [PATCH 0/2] Add ignore file for bin/get-{extra, fixes}-pick-list.sh scripts

2017-04-05 Thread Juan A. Suarez Romero
Those two scripts suggest about commits that could be potential candidates to be in stable. But if we decided some of those commits arent, the scripts will continue suggesting them. The first patch adds a bin/.cherry-ignore-extra, similar to bin/.cherry-ignore, where we can put the commits we

Re: [Mesa-dev] [PATCH 00/53] i965: Eat libdrm_intel for breakfast

2017-04-05 Thread Emil Velikov
On 5 April 2017 at 19:16, Alex Deucher wrote: > On Wed, Apr 5, 2017 at 2:03 PM, Emil Velikov wrote: >> On 5 April 2017 at 18:55, Daniel Vetter wrote: >>> On Wed, Apr 05, 2017 at 04:38:25PM +0100, Emil Velikov wrote: Hi Ken,

Re: [Mesa-dev] [PATCH v3] glsl/blob: avoid NULL ptr in blob_write_string/blob_read_string

2017-04-05 Thread Ilia Mirkin
On Wed, Apr 5, 2017 at 1:12 PM, Gregory Hainaut wrote: > Context: > Nouveau uses NULL strings for unnamed parameter of texture gather > offsets opcode. To be clear, this isn't a "nouveau" thing, as it is well downstream of all this GLSL stuff. And FWIW

Re: [Mesa-dev] [PATCH 00/53] i965: Eat libdrm_intel for breakfast

2017-04-05 Thread Chris Wilson
On Wed, Apr 05, 2017 at 11:11:38AM -0700, Jason Ekstrand wrote: >On Wed, Apr 5, 2017 at 11:03 AM, Emil Velikov ><[1]emil.l.veli...@gmail.com> wrote: > > On 5 April 2017 at 18:55, Daniel Vetter <[2]dan...@ffwll.ch> wrote: > > On Wed, Apr 05, 2017 at 04:38:25PM +0100, Emil Velikov

Re: [Mesa-dev] [PATCH 1/2] travis: replace Trusty-based LLVM toolchain apt-get with apt addon

2017-04-05 Thread Andres Gomez
On Wed, 2017-04-05 at 11:12 -0700, Dylan Baker wrote: > I believe you can also remove 'sudo: true' (or set to false) with this change. You are probably right but 2/2 makes use of sudo again. Don't know whether it is worth disable it in this patch and enable it again in 2/2 ... > > Dylan > >

Re: [Mesa-dev] [PATCH 2/2] travis: add the txc-dxtn library so scons check can pass

2017-04-05 Thread Andres Gomez
On Wed, 2017-04-05 at 18:05 +, Rhys Kidd wrote: > On Wed, Apr 5, 2017 at 1:49 PM Emil Velikov wrote: > > On 5 April 2017 at 18:27, Andres Gomez wrote: > > > > > The packaged libtxc-dxtn-s2tc0 will make scons check fail. Manually > > > > > remove

Re: [Mesa-dev] [PATCH v3 2/2] anv/query: Busy-wait for available query entries

2017-04-05 Thread Chris Wilson
On Wed, Apr 05, 2017 at 11:02:18AM -0700, Jason Ekstrand wrote: >On Wed, Apr 5, 2017 at 10:45 AM, Chris Wilson ><[1]ch...@chris-wilson.co.uk> wrote: > > On Wed, Apr 05, 2017 at 10:28:53AM -0700, Jason Ekstrand wrote: > > Before, we were just looking at whether or not the user

Re: [Mesa-dev] [PATCH 00/53] i965: Eat libdrm_intel for breakfast

2017-04-05 Thread Alex Deucher
On Wed, Apr 5, 2017 at 2:03 PM, Emil Velikov wrote: > On 5 April 2017 at 18:55, Daniel Vetter wrote: >> On Wed, Apr 05, 2017 at 04:38:25PM +0100, Emil Velikov wrote: >>> Hi Ken, >>> >>> On 5 April 2017 at 01:09, Kenneth Graunke

Re: [Mesa-dev] [PATCH 1/2] travis: replace Trusty-based LLVM toolchain apt-get with apt addon

2017-04-05 Thread Dylan Baker
I believe you can also remove 'sudo: true' (or set to false) with this change. Dylan Quoting Andres Gomez (2017-04-05 10:27:30) > Trusty's LLVM toochain repository was whitelisted some time ago. See: >

Re: [Mesa-dev] [PATCH 00/53] i965: Eat libdrm_intel for breakfast

2017-04-05 Thread Jason Ekstrand
On Wed, Apr 5, 2017 at 11:03 AM, Emil Velikov wrote: > On 5 April 2017 at 18:55, Daniel Vetter wrote: > > On Wed, Apr 05, 2017 at 04:38:25PM +0100, Emil Velikov wrote: > >> Hi Ken, > >> > >> On 5 April 2017 at 01:09, Kenneth Graunke

Re: [Mesa-dev] [PATCH 2/2] travis: add the txc-dxtn library so scons check can pass

2017-04-05 Thread Rhys Kidd
On Wed, Apr 5, 2017 at 1:49 PM Emil Velikov wrote: > On 5 April 2017 at 18:27, Andres Gomez wrote: > > The packaged libtxc-dxtn-s2tc0 will make scons check fail. Manually > > remove this package and install libtxc-dxtn instead. > > > Don't recall

Re: [Mesa-dev] [PATCH 00/53] i965: Eat libdrm_intel for breakfast

2017-04-05 Thread Emil Velikov
On 5 April 2017 at 18:55, Daniel Vetter wrote: > On Wed, Apr 05, 2017 at 04:38:25PM +0100, Emil Velikov wrote: >> Hi Ken, >> >> On 5 April 2017 at 01:09, Kenneth Graunke wrote: >> > Hello, >> > >> > This series imports libdrm_intel into the i965 driver,

Re: [Mesa-dev] [PATCH v3 2/2] anv/query: Busy-wait for available query entries

2017-04-05 Thread Jason Ekstrand
On Wed, Apr 5, 2017 at 10:45 AM, Chris Wilson wrote: > On Wed, Apr 05, 2017 at 10:28:53AM -0700, Jason Ekstrand wrote: > > Before, we were just looking at whether or not the user wanted us to > > wait and waiting on the BO. Some clients, such as the Serious engine, > >

[Mesa-dev] [PATCH v3] glsl/blob: avoid NULL ptr in blob_write_string/blob_read_string

2017-04-05 Thread Gregory Hainaut
Context: Nouveau uses NULL strings for unnamed parameter of texture gather offsets opcode. Fix piglit crashes of the 'texturegatheroffsets' tests on Nouveau v3: Redo patch based on Nicolai/Timothy feedback Create dedicated blob_write_string_optional/blob_read_string_optional to handle null

Re: [Mesa-dev] [PATCH 00/53] i965: Eat libdrm_intel for breakfast

2017-04-05 Thread Daniel Vetter
On Wed, Apr 05, 2017 at 04:38:25PM +0100, Emil Velikov wrote: > Hi Ken, > > On 5 April 2017 at 01:09, Kenneth Graunke wrote: > > Hello, > > > > This series imports libdrm_intel into the i965 driver, hacks and > > slashes it down to size, and greatly simplifies our

Re: [Mesa-dev] [PATCH 2/2] travis: add the txc-dxtn library so scons check can pass

2017-04-05 Thread Emil Velikov
On 5 April 2017 at 18:27, Andres Gomez wrote: > The packaged libtxc-dxtn-s2tc0 will make scons check fail. Manually > remove this package and install libtxc-dxtn instead. > Don't recall seeing it fail. Is that a recent thing ? Any ideas what caused it - code changes on our end

Re: [Mesa-dev] [RFC] etnaviv: native fence fd support

2017-04-05 Thread Christian Gmeiner
2017-04-05 18:14 GMT+02:00 Philipp Zabel : > This adds native fence fd support to etnaviv, similarly to commit > 0b98e84e9ba0 ("freedreno: native fence fd"), enabled for kernel > driver version 1.1 or later. > > Signed-off-by: Philipp Zabel > --- >

Re: [Mesa-dev] [PATCH v3 2/2] anv/query: Busy-wait for available query entries

2017-04-05 Thread Chris Wilson
On Wed, Apr 05, 2017 at 10:28:53AM -0700, Jason Ekstrand wrote: > Before, we were just looking at whether or not the user wanted us to > wait and waiting on the BO. Some clients, such as the Serious engine, > use a single query pool for hundreds of individual query results where > the writes for

Re: [Mesa-dev] [PATCH] gallium/util: fixup libunwind includes

2017-04-05 Thread Emil Velikov
On 5 April 2017 at 13:37, Rob Clark wrote: > On Wed, Apr 5, 2017 at 8:25 AM, Emil Velikov wrote: >> From: Emil Velikov >> >> Honour the LIBUNWIND_CFLAGS and include the header only where needed. > > Please drop the part

Re: [Mesa-dev] [PATCH 3/3] mesa: use internal function when deleting buffers

2017-04-05 Thread Brian Paul
For the series, Reviewed-by: Brian Paul BTW, it looks like we need to add bunch of other buffer types in _mesa_update_default_objects_buffer_objects(). -Brian On 04/04/2017 07:41 PM, Timothy Arceri wrote: This avoids validation and looking up the buffer for a second

[Mesa-dev] [PATCH v3 1/2] anv/device: Add a helper for querying whether a BO is busy

2017-04-05 Thread Jason Ekstrand
This is a bit more efficient than using GEM_WAIT with a timeout of 0. --- src/intel/vulkan/anv_device.c | 34 -- src/intel/vulkan/anv_gem.c | 17 + src/intel/vulkan/anv_private.h | 2 ++ 3 files changed, 47 insertions(+), 6 deletions(-) diff

[Mesa-dev] [PATCH v3 2/2] anv/query: Busy-wait for available query entries

2017-04-05 Thread Jason Ekstrand
Before, we were just looking at whether or not the user wanted us to wait and waiting on the BO. Some clients, such as the Serious engine, use a single query pool for hundreds of individual query results where the writes for those queries may be split across several command buffers. In this

[Mesa-dev] [PATCH 2/2] travis: add the txc-dxtn library so scons check can pass

2017-04-05 Thread Andres Gomez
The packaged libtxc-dxtn-s2tc0 will make scons check fail. Manually remove this package and install libtxc-dxtn instead. Signed-off-by: Andres Gomez Cc: Eric Anholt Cc: Emil Velikov --- .travis.yml | 8 1 file changed, 8

[Mesa-dev] [PATCH 1/2] travis: replace Trusty-based LLVM toolchain apt-get with apt addon

2017-04-05 Thread Andres Gomez
Trusty's LLVM toochain repository was whitelisted some time ago. See: https://github.com/travis-ci/apt-source-whitelist/commit/ebc278924a0b5e282dac685683faf6a318dd424c Signed-off-by: Andres Gomez Cc: Rhys Kidd Cc: Emil Velikov

[Mesa-dev] [PATCH 0/2] Make travis green

2017-04-05 Thread Andres Gomez
A couple of fixes to use a bit more standard syntax to pull the LLVM dependencies and to make scons check pass. Andres Gomez (2): travis: replace Trusty-based LLVM toolchain apt-get with apt addon travis: add the txc-dxtn library so scons check can pass .travis.yml | 19 +--

Re: [Mesa-dev] [PATCH] travis: Add radeonsi to continuous integration

2017-04-05 Thread Emil Velikov
Added all the tags and pushed to master. Thanks for the patches Rhys. Please take a look at the PW list [1] and let me know if those need work/are superseded/etc. -Emil [1] https://patchwork.freedesktop.org/project/mesa/patches/?submitter=15532 ___

Re: [Mesa-dev] [PATCH] mesa: tidy up renderbuffer RefCount initialisation

2017-04-05 Thread Brian Paul
On 04/05/2017 05:06 AM, Timothy Arceri wrote: 42aaa548 changed the renderbuffer initialisation of RefCount from 1 to 0. This is inconsitent with how we use RefCount elsewhere. Also every driver implementation of NewRenderbuffer() calls _mesa_init_renderbuffer() so its safe to set it there. ---

Re: [Mesa-dev] [PATCH v2 1/2] anv: Use GEM_BUSY instead of GEM_WAIT when timeout == 0

2017-04-05 Thread Jason Ekstrand
On Wed, Apr 5, 2017 at 10:11 AM, Chris Wilson wrote: > On Wed, Apr 05, 2017 at 10:03:21AM -0700, Jason Ekstrand wrote: > > --- > > src/intel/vulkan/anv_device.c | 26 +++--- > > src/intel/vulkan/anv_gem.c | 17 + > >

Re: [Mesa-dev] [PATCH v2] anv: provide required gem stubs for the tests

2017-04-05 Thread Emil Velikov
On 5 April 2017 at 18:04, Jason Ekstrand wrote: > I just sent exactly the same patch. :-) I don't care which we land > git rebase fail and pushed mine. Sorry about that :-\ -Emil ___ mesa-dev mailing list

Re: [Mesa-dev] [PATCH] travis: Add radeonsi to continuous integration

2017-04-05 Thread Andres Gomez
Hi, This is Reviewed-by: Andres Gomez On Tue, 2017-04-04 at 23:56 -0400, Rhys Kidd wrote: > Signed-off-by: Rhys Kidd > --- > .travis.yml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/.travis.yml b/.travis.yml > index

Re: [Mesa-dev] [PATCH] travis: Add radv vulkan driver to continuous integration

2017-04-05 Thread Andres Gomez
Hi, This is Reviewed-by: Andres Gomez On Tue, 2017-04-04 at 23:58 -0400, Rhys Kidd wrote: > Signed-off-by: Rhys Kidd > --- > .travis.yml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/.travis.yml b/.travis.yml > index aa212b1..0b03ae7 100644

Re: [Mesa-dev] [RFC] etnaviv: native fence fd support

2017-04-05 Thread Rob Clark
On Wed, Apr 5, 2017 at 12:14 PM, Philipp Zabel wrote: > +void > +etna_fence_server_sync(struct pipe_context *pctx, > + struct pipe_fence_handle *pfence) > +{ > + struct etna_context *ctx = etna_context(pctx); > + > + /* FIXME: where should

Re: [Mesa-dev] [PATCH v2 1/2] anv: Use GEM_BUSY instead of GEM_WAIT when timeout == 0

2017-04-05 Thread Chris Wilson
On Wed, Apr 05, 2017 at 10:03:21AM -0700, Jason Ekstrand wrote: > --- > src/intel/vulkan/anv_device.c | 26 +++--- > src/intel/vulkan/anv_gem.c | 17 + > src/intel/vulkan/anv_private.h | 1 + > 3 files changed, 37 insertions(+), 7 deletions(-) > > diff

Re: [Mesa-dev] [PATCH] anv/query: Busy-wait for available query entries

2017-04-05 Thread Chris Wilson
On Wed, Apr 05, 2017 at 09:37:16AM -0700, Jason Ekstrand wrote: >On Wed, Apr 5, 2017 at 1:27 AM, Chris Wilson <[1]ch...@chris-wilson.co.uk> >wrote: > > On Tue, Apr 04, 2017 at 07:21:38PM -0700, Jason Ekstrand wrote: > > Before, we were just looking at whether or not the user

Re: [Mesa-dev] [PATCH v2] anv: provide required gem stubs for the tests

2017-04-05 Thread Jason Ekstrand
I just sent exactly the same patch. :-) I don't care which we land Reviewed-by: Jason Ekstrand On Wed, Apr 5, 2017 at 9:56 AM, Emil Velikov wrote: > From: Emil Velikov > > Introduce stubs to anv_gem_stub.c that

[Mesa-dev] [PATCH v2 2/2] anv/query: Busy-wait for available query entries

2017-04-05 Thread Jason Ekstrand
Before, we were just looking at whether or not the user wanted us to wait and waiting on the BO. Some clients, such as the Serious engine, use a single query pool for hundreds of individual query results where the writes for those queries may be split across several command buffers. In this

[Mesa-dev] [PATCH v2 1/2] anv: Use GEM_BUSY instead of GEM_WAIT when timeout == 0

2017-04-05 Thread Jason Ekstrand
--- src/intel/vulkan/anv_device.c | 26 +++--- src/intel/vulkan/anv_gem.c | 17 + src/intel/vulkan/anv_private.h | 1 + 3 files changed, 37 insertions(+), 7 deletions(-) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index

[Mesa-dev] [PATCH v2] anv: provide required gem stubs for the tests

2017-04-05 Thread Emil Velikov
From: Emil Velikov Introduce stubs to anv_gem_stub.c that match the anv_gem.c ones. Otherwise we may get link-time errors, when building the tests. v2: Introduce all the missing stubs at once. Cc: Jason Ekstrand Cc: Vinson Lee

Re: [Mesa-dev] debian wheezy - r300 bug

2017-04-05 Thread Vedran Miletić
04.04.2017 u 22:18, Richard Kuenz je napisao/la: > Hello , > > i am affected on Powermac 7,3 by r300 bug as i cannot achieve 3d acceleration and video playback is blue with mpv and gnome-mplayer. > > is there a way to overcome this whiteout upgrading to newer debian version? > > > thank you

Re: [Mesa-dev] [PATCH] anv/query: Busy-wait for available query entries

2017-04-05 Thread Jason Ekstrand
On Wed, Apr 5, 2017 at 1:27 AM, Chris Wilson wrote: > On Tue, Apr 04, 2017 at 07:21:38PM -0700, Jason Ekstrand wrote: > > Before, we were just looking at whether or not the user wanted us to > > wait and waiting on the BO. This instead makes us busy-loop on each > >

Re: [Mesa-dev] [PATCH] anv/query: Busy-wait for available query entries

2017-04-05 Thread Jason Ekstrand
On Wed, Apr 5, 2017 at 12:24 AM, Iago Toral wrote: > On Tue, 2017-04-04 at 19:21 -0700, Jason Ekstrand wrote: > > Before, we were just looking at whether or not the user wanted us to > > wait and waiting on the BO. This instead makes us busy-loop on each > > query until it's

[Mesa-dev] [PATCH] configure.ac: pthread-stubs is not a thing on GNU/kFreeBSD

2017-04-05 Thread Emil Velikov
From: Emil Velikov As mentioned on the xcb mailing list, the platform uses the GLIBC forwarding mechanism. https://lists.freedesktop.org/archives/xcb/2016-November/010896.html Cc: Andreas Boll Reported-by: Andreas Boll

[Mesa-dev] [PATCH] anv: Add three more GEM stubs

2017-04-05 Thread Jason Ekstrand
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100574 --- src/intel/vulkan/anv_gem_stubs.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/src/intel/vulkan/anv_gem_stubs.c b/src/intel/vulkan/anv_gem_stubs.c index 30b40ce..74794d4 100644 ---

Re: [Mesa-dev] [PATCH] anv: provide anv_gem_supports_48b_addresses() stub for the tests

2017-04-05 Thread Jason Ekstrand
We actually need a couple of other stubs as well. On Wed, Apr 5, 2017 at 7:10 AM, Emil Velikov wrote: > From: Emil Velikov > > Introduce a stub to anv_gem_stub.c that matches the anv_gem.c one. > Otherwise we may get link-time errors, when

[Mesa-dev] [RFC] etnaviv: native fence fd support

2017-04-05 Thread Philipp Zabel
This adds native fence fd support to etnaviv, similarly to commit 0b98e84e9ba0 ("freedreno: native fence fd"), enabled for kernel driver version 1.1 or later. Signed-off-by: Philipp Zabel --- This depends on libdrm patches [1][2] which may or may not make their way into

Re: [Mesa-dev] [PATCH 6/8] intel/isl: Add support for emitting depth/stencil/hiz

2017-04-05 Thread Jason Ekstrand
On Wed, Apr 5, 2017 at 1:04 AM, Pohjolainen, Topi < topi.pohjolai...@gmail.com> wrote: > On Tue, Apr 04, 2017 at 03:56:35PM -0700, Jason Ekstrand wrote: > > --- > > src/intel/Makefile.sources | 7 ++ > > src/intel/isl/isl.c| 93 > >

Re: [Mesa-dev] [PATCH 00/53] i965: Eat libdrm_intel for breakfast

2017-04-05 Thread Emil Velikov
Hi Ken, On 5 April 2017 at 01:09, Kenneth Graunke wrote: > Hello, > > This series imports libdrm_intel into the i965 driver, hacks and > slashes it down to size, and greatly simplifies our relocation > handling. > > Some of the patches may be held for moderation. You can

Re: [Mesa-dev] [PATCH] radeonsi: add new polaris10 pci id

2017-04-05 Thread Nicolai Hähnle
On 05.04.2017 15:46, Alex Deucher wrote: Cc: 13.0 17.0 Signed-off-by: Alex Deucher Reviewed-by: Nicolai Hähnle --- include/pci_ids/radeonsi_pci_ids.h | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [Mesa-dev] [RFC] - Rewrite mesa website in Sphinx

2017-04-05 Thread Vedran Miletić
On 04/05/2017 04:17 PM, Emil Velikov wrote: > On 5 April 2017 at 12:36, Jean Hertel wrote: >> This proposal tries to fix those issues. >> >> >> Oficial repository: https://github.com/jlHertel/mesa-sphinx >> >> Live demo: http://mesa2.jeanhertel.com.br/ >> > Thanks for the

[Mesa-dev] [Bug 100569] core/resource.cpp:36:33: error: non-constant-expression cannot be narrowed from type 'int' to 'int16_t' (aka 'short') in initializer list [-Wc++11-narrowing]

2017-04-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100569 Aaron Watry changed: What|Removed |Added Resolution|--- |FIXED

Re: [Mesa-dev] [RFC] - Rewrite mesa website in Sphinx

2017-04-05 Thread Emil Velikov
On 5 April 2017 at 12:36, Jean Hertel wrote: > Hello, > > > This is the second proposal for a rewrite of mesa website. > > > The last proposal have some problems (still available here: > http://mesa.jeanhertel.com.br/): > > Use of big libraries like Twitter Bootstrap for

Re: [Mesa-dev] [PATCH 0/3] Fix distcheck

2017-04-05 Thread Juan A. Suarez Romero
On Wed, 2017-04-05 at 14:51 +0100, Emil Velikov wrote: > On 5 April 2017 at 12:00, Juan A. Suarez Romero wrote: > > Several files are missed in their proper EXTRA_DIST Makefile.am. And thus > > `make > > distcheck` fails. > > > > These commits fix it. > > > > I've split

  1   2   3   >