Re: [Mesa-dev] [Mesa-stable] [PATCH] radeon/vce: move feedback command inside of destroy function

2018-04-05 Thread Mark Janes
Emil Velikov writes: > On 4 April 2018 at 22:50, Mark Janes wrote: >> Leo Liu writes: >> >>> On 04/04/2018 12:40 PM, Mark Janes wrote: Leo Liu writes: > On the CI family, firmware requires the

Re: [Mesa-dev] [PATCH 4/5] i965/miptree: Map with movntdqa for linear buffers only

2018-04-05 Thread Chris Wilson
Quoting Scott D Phillips (2018-04-03 21:05:44) > Removes a place where gtt mapping is used. > > Reviewed-by: Nanley Chery > --- > src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git

[Mesa-dev] [PATCH 1/1] radeonsi: Reorder checks in si_check_render_feedback

2018-04-05 Thread Jan Vesely
si_get_total_colormask accesses NULL pointer on compute shaders Fixes crashes on clover Fixes: 0669dca9c00261849cee14d69fdea0a5e323c7f7 ("radeonsi: skip DCC render feedback checking if color writes are disabled") CC: Marek Olšák Signed-off-by: Jan Vesely

[Mesa-dev] [Bug 105567] meson/ninja: 1. mesa/vdpau incorrect symlinks in DESTDIR and 2. Ddri-drivers-path Dvdpau-libs-path overrides DESTDIR

2018-04-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105567 --- Comment #8 from charlie --- 1) "build.environment" (file) export LIBDIRSUFFIX='64' export XBUILD="/usr" EOF -Ddri-drivers-path=${XBUILD}/lib${LIBDIRSUFFIX}/xorg/modules/dri 2) I don't believe there

[Mesa-dev] [PATCH 2/2] nvc0: change ACQUIRE_EQUAL to ACQUIRE_GEQUAL in nvc0_hw_query_fifo_wait

2018-04-05 Thread Rhys Perry
If a fence is created in between nvc0_hw_end_query and nvc0_hw_query_fifo_wait, the sequence number in nvc0->screen->fence.bo can be larger than hq->fence->sequence before the semaphore is created, resulting in the semaphore never being triggered. Signed-off-by: Rhys Perry

[Mesa-dev] [PATCH 1/2] nvc0: ensure the query's fence has been emitted in nvco_hw_query_fifo_wait

2018-04-05 Thread Rhys Perry
If the fence has not been emitted, hq->fence->sequence would be zero. This would result in the semaphore never being triggered, blocking all later commands in the pushbuf. Signed-off-by: Rhys Perry --- src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c | 4 1 file

Re: [Mesa-dev] [PATCH] Add more Coffee Lake brand strings

2018-04-05 Thread Matt Turner
On Thu, Apr 5, 2018 at 2:24 PM, Anuj Phogat wrote: > Signed-off-by: Anuj Phogat > --- > include/pci_ids/i965_pci_ids.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/pci_ids/i965_pci_ids.h

[Mesa-dev] [Bug 105567] meson/ninja: 1. mesa/vdpau incorrect symlinks in DESTDIR and 2. Ddri-drivers-path Dvdpau-libs-path overrides DESTDIR

2018-04-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105567 --- Comment #9 from Dylan Baker --- Your command looks fine, I was just wondering if you had set dri-drivers-path to an absolute or relative path, in the default case it will be relative, which may explain why it's

Re: [Mesa-dev] [PATCH 02/17] ac/surface: don't set the display flag for obviously unsupported cases

2018-04-05 Thread Marek Olšák
On Thu, Apr 5, 2018 at 3:09 AM, Michel Dänzer wrote: > On 2018-04-04 07:35 PM, Marek Olšák wrote: > > On Wed, Apr 4, 2018 at 9:01 AM, Michel Dänzer > wrote: > >> On 2018-04-04 02:57 PM, Marek Olšák wrote: > >>> On Wed, Apr 4, 2018, 6:18 AM Michel Dänzer

[Mesa-dev] [PATCH] Add more Coffee Lake brand strings

2018-04-05 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- include/pci_ids/i965_pci_ids.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/pci_ids/i965_pci_ids.h b/include/pci_ids/i965_pci_ids.h index 8716d758f0..c740a50bca 100644 --- a/include/pci_ids/i965_pci_ids.h

Re: [Mesa-dev] [PATCH] radv: disable TC-compat HTILE on Tonga and Iceland

2018-04-05 Thread Samuel Pitoiset
On 04/05/2018 01:18 PM, Bas Nieuwenhuizen wrote: On Thu, Apr 5, 2018 at 10:32 AM, Samuel Pitoiset wrote: Ported from RadeonSI. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_image.c | 5 + 1 file changed, 5 insertions(+)

Re: [Mesa-dev] [PATCH 3/4] radv: rename radv_cmd_buffer_update_vertex_descriptors()

2018-04-05 Thread Samuel Pitoiset
On 04/05/2018 05:42 PM, Bas Nieuwenhuizen wrote: On Thu, Apr 5, 2018 at 11:42 AM, Samuel Pitoiset wrote: ... to radv_flush_vertex_buffers(). Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_cmd_buffer.c | 5 +++-- 1 file

Re: [Mesa-dev] [PATCH v4 3/5] i965/miptree: Use cpu tiling/detiling when mapping

2018-04-05 Thread Chris Wilson
Quoting Scott D Phillips (2018-04-03 21:05:43) > Rename the (un)map_gtt functions to (un)map_map (map by > returning a map) and add new functions (un)map_tiled_memcpy that > return a shadow buffer populated with the intel_tiled_memcpy > functions. > > Tiling/detiling with the cpu will be the only

Re: [Mesa-dev] [PATCH v3 020/104] nir: Support deref instructions in split_var_copies

2018-04-05 Thread Caio Marcelo de Oliveira Filho
> @@ -268,8 +288,30 @@ split_var_copies_impl(nir_function_impl *impl) > state.dead_ctx = ralloc_context(NULL); > state.progress = false; > > + nir_builder b; > + nir_builder_init(, impl); > + > nir_foreach_block(block, impl) { >split_var_copies_block(block, ); > + > +

Re: [Mesa-dev] [PATCH v3 020/104] nir: Support deref instructions in split_var_copies

2018-04-05 Thread Jason Ekstrand
On Thu, Apr 5, 2018 at 1:31 PM, Caio Marcelo de Oliveira Filho < caio.olive...@intel.com> wrote: > > @@ -268,8 +288,30 @@ split_var_copies_impl(nir_function_impl *impl) > > state.dead_ctx = ralloc_context(NULL); > > state.progress = false; > > > > + nir_builder b; > > +

[Mesa-dev] [AppVeyor] mesa master #7384 completed

2018-04-05 Thread AppVeyor
Build mesa 7384 completed Commit c7dd59b06d by Marek Olšák on 4/5/2018 7:53 PM: radeonsi: fix a crash if ps_shader.cso is NULL in si_get_total_colormask Configure your notification preferences ___ mesa-dev

Re: [Mesa-dev] [PATCH 1/1] radeonsi: Reorder checks in si_check_render_feedback

2018-04-05 Thread Jan Vesely
On Thu, 2018-04-05 at 16:56 -0400, Marek Olšák wrote: > Even though I've already fixed the crash in master, I'd like to have this > patch in master too. I think that's a different crash. I can still reproduce on c7dd59b06d93e6820189e2d1e087c0811707ee07: Thread 1 "test-short" received signal

[Mesa-dev] [PATCH 0/2] nvc0: Fix a couple of bugs in nvc0_hw_query_fifo_wait

2018-04-05 Thread Rhys Perry
This series fixes a couple of bugs in nvc0_hw_query_fifo_wait(). The first one is that a query's fence is not guaranteedto be emitted. The second one is that nvc0_hw_query_fifo_wait() works incorrectly when a fence has been emitted in between nvc0_hw_end_query() and nvc0_hw_query_fifo_wait().

[Mesa-dev] [PATCH v2 02/12] meson: run glsl compiler warnings test

2018-04-05 Thread Dylan Baker
Signed-off-by: Dylan Baker --- src/compiler/glsl/tests/meson.build | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/compiler/glsl/tests/meson.build b/src/compiler/glsl/tests/meson.build index 146647a..040b257 100644 ---

[Mesa-dev] [PATCH v2 00/12] Finish unit tests for meson build

2018-04-05 Thread Dylan Baker
This series adds the rest of the unit tests in the mesa tree, including the gallium test binaries. The relevant tests are wired into the `ninja test` command, and all tests pass. A big part of this series is converting tests from shell based to a pure python base. These are mostly straight

Re: [Mesa-dev] [PATCH v5 06/19] intel/isl: Add support to emit clear value address.

2018-04-05 Thread Nanley Chery
On Wed, Apr 04, 2018 at 07:40:43AM +0300, Pohjolainen, Topi wrote: > On Tue, Apr 03, 2018 at 09:38:52PM -0700, Jason Ekstrand wrote: > > On Tue, Apr 3, 2018 at 8:23 PM, Pohjolainen, Topi < > > topi.pohjolai...@gmail.com> wrote: > > > > > On Tue, Apr 03, 2018 at 02:55:31PM -0700, Jason Ekstrand

Re: [Mesa-dev] [PATCH 1/5] i965/tiled_memcpy: ytiled_to_linear a cache line at a time

2018-04-05 Thread Chris Wilson
Quoting Scott D Phillips (2018-04-03 21:05:41) > Similar to the transformation applied to linear_to_ytiled, also align > each readback from the ytiled source to a cacheline (i.e. transfer a > whole cacheline from the source before moving on to the next column). > This will allow us to utilize

Re: [Mesa-dev] [PATCH v3 019/104] nir: Support deref instructions in lower_var_copies

2018-04-05 Thread Caio Marcelo de Oliveira Filho
Hello, > +static nir_deref_instr * > +build_deref_to_next_wildcard(nir_builder *b, > + nir_deref_instr *parent, > + nir_deref_instr ***deref_arr) > +{ > + for (; **deref_arr; (*deref_arr)++) { > + if ((**deref_arr)->deref_type ==

Re: [Mesa-dev] [PATCH 2/5] i965/tiled_memcpy: inline movntdqa loads in tiled_to_linear

2018-04-05 Thread Chris Wilson
Quoting Scott D Phillips (2018-04-03 21:05:42) > The reference for MOVNTDQA says: > > For WC memory type, the nontemporal hint may be implemented by > loading a temporary internal buffer with the equivalent of an > aligned cache line without filling this data to the cache. > [...]

Re: [Mesa-dev] [PATCH v3 019/104] nir: Support deref instructions in lower_var_copies

2018-04-05 Thread Jason Ekstrand
On Thu, Apr 5, 2018 at 12:55 PM, Caio Marcelo de Oliveira Filho < caio.olive...@intel.com> wrote: > Hello, > > > +static nir_deref_instr * > > +build_deref_to_next_wildcard(nir_builder *b, > > + nir_deref_instr *parent, > > + nir_deref_instr

Re: [Mesa-dev] [PATCH 02/17] ac/surface: don't set the display flag for obviously unsupported cases

2018-04-05 Thread Marek Olšák
On Thu, Apr 5, 2018 at 4:47 PM, Marek Olšák wrote: > On Thu, Apr 5, 2018 at 3:09 AM, Michel Dänzer wrote: > >> On 2018-04-04 07:35 PM, Marek Olšák wrote: >> > On Wed, Apr 4, 2018 at 9:01 AM, Michel Dänzer >> wrote: >> >> On 2018-04-04

[Mesa-dev] [PATCH v2 06/12] glcpp/tests: Convert shell scripts to a python script

2018-04-05 Thread Dylan Baker
This ports glcpp-test.sh and glcpp-test-cr-lf.sh to a python script that accepts arguments for each line ending type. This should allow for better reporting to users. Signed-off-by: Dylan Baker --- src/compiler/glsl/glcpp/tests/glcpp-test-cr-lf.sh | 148 +--

[Mesa-dev] [PATCH v2 01/12] glsl/tests: reimplement warnings-test in python

2018-04-05 Thread Dylan Baker
This reimplements the test in python with a shell script wrapper that allows autotools to continue to run the test without realizing that anything has changed. Using python has two advantages, first it's portable so this test can be run on windows as well as Linux since it just requires python,

[Mesa-dev] [PATCH v2 03/12] glsl/tests: Convert optimization-test.sh to pure python

2018-04-05 Thread Dylan Baker
This patch converts optimization-test.sh to python, in this process it removes external shell dependencies including diff. It replaces the python script that generates shell scripts with a python library that generates test cases and runs them using subprocess. Signed-off-by: Dylan Baker

[Mesa-dev] [PATCH v2 04/12] meson: enable optimization-test

2018-04-05 Thread Dylan Baker
Signed-off-by: Dylan Baker --- src/compiler/glsl/tests/meson.build | 5 + 1 file changed, 5 insertions(+) diff --git a/src/compiler/glsl/tests/meson.build b/src/compiler/glsl/tests/meson.build index 040b257..fc7b863 100644 --- a/src/compiler/glsl/tests/meson.build

[Mesa-dev] [PATCH v2 07/12] meson: enable glcpp test

2018-04-05 Thread Dylan Baker
Signed-off-by: Dylan Baker --- src/compiler/glsl/glcpp/meson.build | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/compiler/glsl/glcpp/meson.build b/src/compiler/glsl/glcpp/meson.build index 03b43b9..e6a3dc8 100644 ---

[Mesa-dev] [PATCH v2 12/12] meson: build graw tests

2018-04-05 Thread Dylan Baker
This only enables the null and xlib target, so no windows support yet. Signed-off-by: Dylan Baker --- src/gallium/meson.build | 4 +++- src/gallium/targets/graw-null/meson.build | 34 +++- src/gallium/targets/graw-xlib/meson.build

[Mesa-dev] [PATCH v2 09/12] meson: Build gallium trivial tests

2018-04-05 Thread Dylan Baker
Signed-off-by: Dylan Baker Reviewed-by: Eric Anholt --- meson.build | 2 +-- src/gallium/meson.build | 6 -- src/gallium/tests/meson.build | 21 -

[Mesa-dev] [PATCH v2 10/12] meson: build gallium unit tests

2018-04-05 Thread Dylan Baker
v2: - gate unit tests on swrast being enabled (Eric A) Signed-off-by: Dylan Baker Reviewed-by: Eric Anholt --- src/gallium/tests/meson.build | 3 +++- src/gallium/tests/unit/meson.build | 31 +++- 2 files changed, 34

[Mesa-dev] [PATCH v2 08/12] meson: Remove TODO about mesa/main tests

2018-04-05 Thread Dylan Baker
They're already done. Signed-off-by: Dylan Baker --- src/mesa/meson.build | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mesa/meson.build b/src/mesa/meson.build index d2d058b..8e1a49e 100644 --- a/src/mesa/meson.build +++ b/src/mesa/meson.build @@ -18,8 +18,6

[Mesa-dev] [PATCH v2 11/12] meson: build tests for gallium mesa state tracker

2018-04-05 Thread Dylan Baker
Signed-off-by: Dylan Baker --- src/mesa/state_tracker/tests/meson.build | 40 +- src/meson.build | 3 ++- 2 files changed, 43 insertions(+) create mode 100644 src/mesa/state_tracker/tests/meson.build diff --git

[Mesa-dev] [PATCH v2 05/12] glsl/tests: Remove unused compare_ir.py script

2018-04-05 Thread Dylan Baker
Signed-off-by: Dylan Baker --- src/compiler/glsl/tests/compare_ir.py | 58 + 1 file changed, 58 deletions(-) delete mode 100644 src/compiler/glsl/tests/compare_ir.py diff --git a/src/compiler/glsl/tests/compare_ir.py

Re: [Mesa-dev] [PATCH 17/17] winsys/amdgpu: always set AMDGPU_IB_FLAG_TC_WB_NOT_INVALIDATE

2018-04-05 Thread Dieter Nützel
I've run v2 series yesterday, before the 'Mega cleanup' landed through glmark2, UH, UV, Blender, FreeCAD, Krita 4.0.0 under KDE Plasma5 on my Polaris 20 / RX580. With UH and UV I've saw little corruption (flickering) of the 'fps counter' in the upper right corner and during 'Benchmark' the

Re: [Mesa-dev] [PATCH] anv: Add WSI support for the I915_FORMAT_MOD_Y_TILED_CCS

2018-04-05 Thread Daniel Stone
On 21 February 2018 at 19:17, Jason Ekstrand wrote: > v2 (Jason Ekstrand): > - Return the correct enum values from anv_layout_to_fast_clear_type > > v3 (Jason Ekstrand): > - Always return ANV_FAST_CLEAR_NONE and leave doing the right thing for >the patch which adds a

[Mesa-dev] [AppVeyor] mesa master #7383 failed

2018-04-05 Thread AppVeyor
Build mesa 7383 failed Commit be4250aa88 by Marek Olšák on 4/2/2018 2:49 AM: radeonsi: remove more R600 references\n\nAcked-by: Timothy Arceri Configure your notification preferences

Re: [Mesa-dev] [PATCH v2 5/5] i965/miptree: Don't gtt map from map_depthstencil

2018-04-05 Thread Chris Wilson
Quoting Scott D Phillips (2018-04-03 21:05:45) > Instead of gtt mapping, call out to other map functions (map_map > or map_tiled_memcpy) for the depth surface. Removes a place where > gtt mapping is used. > > v2: add level, slice to debug print (Nanley) > --- > @@ -3549,16 +3555,21 @@

Re: [Mesa-dev] [PATCH 17/17] winsys/amdgpu: always set AMDGPU_IB_FLAG_TC_WB_NOT_INVALIDATE

2018-04-05 Thread Marek Olšák
On Thu, Apr 5, 2018 at 4:22 AM, Samuel Pitoiset wrote: > Patches 16-17 are: > > Reviewed-by: Samuel Pitoiset > > Those two are quite interesting. I will probably update my kernel and > experiment something. Patch 16 breaks things and needs

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

2018-04-05 Thread Laura Ekstrand
So I spoke with Daniel Stone today about the infrastructure. He estimates it will be ready to deploy the website in 2-3 weeks, at the most. So I'd say the infrastructure will be there when we are ready. In the new system, our website will be running in its own container managed by freedesktop's

Re: [Mesa-dev] [PATCH 2/5] i965/tiled_memcpy: inline movntdqa loads in tiled_to_linear

2018-04-05 Thread Chris Wilson
Quoting Chris Wilson (2018-04-05 20:54:54) > Quoting Scott D Phillips (2018-04-03 21:05:42) > > The reference for MOVNTDQA says: > > > > For WC memory type, the nontemporal hint may be implemented by > > loading a temporary internal buffer with the equivalent of an > > aligned cache

[Mesa-dev] [Bug 105904] Needed to delete mesa shader cache after driver upgrade for 32 bit wine vulkan programs to work.

2018-04-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105904 Timothy Arceri changed: What|Removed |Added Status|NEW |NEEDINFO ---

[Mesa-dev] [PATCH v2] virgl: disable virgl when no 3D for virtio gpu.

2018-04-05 Thread Lepton Wu
If users are running mesa under old version of qemu or have turned off GL at runtime, virtio gpu driver actually doesn't work. Adds a detection here so mesa can fall back to software rendering. v2: - move detection from loader to virgl (Ilia, Emil) Signed-off-by: Lepton Wu

Re: [Mesa-dev] [PATCH v3] intel/tools: new intel_sanitize_gpu tool

2018-04-05 Thread Dylan Baker
Quoting Scott D Phillips (2018-02-08 17:11:25) > diff --git a/src/intel/tools/intel_sanitize_gpu.in > b/src/intel/tools/intel_sanitize_gpu.in > new file mode 100755 > index 000..3dac954c408 > --- /dev/null > +++ b/src/intel/tools/intel_sanitize_gpu.in > @@ -0,0 +1,4 @@ > +#!/bin/bash > +#

Re: [Mesa-dev] [PATCH 1/1] radeonsi: Reorder checks in si_check_render_feedback

2018-04-05 Thread Marek Olšák
Even though I've already fixed the crash in master, I'd like to have this patch in master too. Reviewed-by: Marek Olšák Marek On Thu, Apr 5, 2018 at 4:49 PM, Jan Vesely wrote: > si_get_total_colormask accesses NULL pointer on compute shaders >

[Mesa-dev] [PATCH] nvc0: finish implementation of PIPE_QUERY_SO_OVERFLOW_PREDICATE

2018-04-05 Thread Rhys Perry
This also removes some useless code leftover from old changes. Signed-off-by: Rhys Perry --- src/gallium/drivers/nouveau/nvc0/nvc0_query.c| 3 +- src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c | 42 +++-

Re: [Mesa-dev] [PATCH] anv: Add WSI support for the I915_FORMAT_MOD_Y_TILED_CCS

2018-04-05 Thread Nanley Chery
On Thu, Apr 05, 2018 at 10:51:21AM -0700, Jason Ekstrand wrote: > ping? > I haven't yet gotten around to seeing how the users of the modifier API would use the newly-exposed CCS surface, but all the changes within anv look good to me. This patch is Acked-by: Nanley Chery

[Mesa-dev] [Bug 105567] meson/ninja: 1. mesa/vdpau incorrect symlinks in DESTDIR and 2. Ddri-drivers-path Dvdpau-libs-path overrides DESTDIR

2018-04-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105567 --- Comment #6 from charlie --- Patches "meson-Set-.so-version-for-xa-like-autotools-does.patch" and "meson-fix-megadriver-symlinking.patch" makes correct vdpau symlinks using default options when installing to DESTDIR.

[Mesa-dev] [PATCH 4/4] radv: don't pass the pipeline to radv_flush_constants()

2018-04-05 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_cmd_buffer.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index 05610adee8..2e12c8f403 100644 ---

[Mesa-dev] [PATCH 2/4] radv: do not try to skip draw calls when VBOs upload failed

2018-04-05 Thread Samuel Pitoiset
This is unnecessary because we record an error which should be returned by vkEndCommandBuffer(), and the app shouldn't submit a command buffer when this happens. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_cmd_buffer.c | 20 ++-- 1 file

[Mesa-dev] [PATCH 1/4] radv: fix prefetching compute shaders on CIK and older chips

2018-04-05 Thread Samuel Pitoiset
Because the check was moved to radv_emit_prefetch_L2(). Fixes: 4ad7595f35 ("radv: rename radv_emit_prefetch() to radv_emit_prefetch_L2()") Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_cmd_buffer.c | 15 --- 1 file changed, 8 insertions(+), 7

[Mesa-dev] [PATCH 3/4] radv: rename radv_cmd_buffer_update_vertex_descriptors()

2018-04-05 Thread Samuel Pitoiset
... to radv_flush_vertex_buffers(). Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_cmd_buffer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index

Re: [Mesa-dev] [PATCH] radv: enable the Polaris small primitive filter control

2018-04-05 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Thu, Apr 5, 2018 at 10:27 AM, Samuel Pitoiset wrote: > Enable it directly in the preamble, but do not enable line > on Polaris10/11/12 because there is a hw bug. > > There is possibly an issue when MSAA is

Re: [Mesa-dev] [PATCH] radv: only enable PERFECT_ZPASS_COUNTS for precision occlusion queries

2018-04-05 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Thu, Apr 5, 2018 at 10:27 AM, Samuel Pitoiset wrote: > This unnecessary when the precision bit flag is not set, and this > might hurt performance. The Vulkan explains that not setting >

Re: [Mesa-dev] [PATCH 2/2] i965: return the fourcc saved in __DRIimage

2018-04-05 Thread Tapani Pälli
On 04/05/2018 02:51 AM, James Xiong wrote: From: "Xiong, James" The planar_format in __DRIimage contains the original fourcc used to create the image, if it's set, return the saved fourcc directly; Otherwise fall back to the old way. Also we should validate the input

Re: [Mesa-dev] [PATCH] radv: disable TC-compat HTILE on Tonga and Iceland

2018-04-05 Thread Bas Nieuwenhuizen
On Thu, Apr 5, 2018 at 10:32 AM, Samuel Pitoiset wrote: > Ported from RadeonSI. > > Signed-off-by: Samuel Pitoiset > --- > src/amd/vulkan/radv_image.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/src/amd/vulkan/radv_image.c

[Mesa-dev] [Bug 105847] Profile GL3bc is not available on X11GraphicsDevice

2018-04-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105847 --- Comment #2 from Aidan --- Thanks for drawing my attention to these discussions. However as much as I would like to be able to act on this without further assistance I have just spent several hours trying to find my

[Mesa-dev] [Bug 105904] Needed to delete mesa shader cache after driver upgrade for 32 bit wine vulkan programs to work.

2018-04-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105904 Bug ID: 105904 Summary: Needed to delete mesa shader cache after driver upgrade for 32 bit wine vulkan programs to work. Product: Mesa Version: git Hardware: x86-64

Re: [Mesa-dev] [RFC] Mesa 17.3.x release problems and process improvements

2018-04-05 Thread Emil Velikov
On 5 April 2018 at 03:33, Ilia Mirkin wrote: > On Wed, Apr 4, 2018 at 12:12 PM, Emil Velikov > wrote: >> On 22 March 2018 at 00:39, Ilia Mirkin wrote: >>> Just one bit of feedback, for the rest I either agree or have no

Re: [Mesa-dev] [PATCH 0/2] wrong fourcc was returned for imported images

2018-04-05 Thread Tapani Pälli
Hi; On 04/05/2018 02:51 AM, James Xiong wrote: From: "Xiong, James" The importer creates an image out of the imported FOURCC_NV12 texture, the image's dri_format is set to R8(same as the first plane's format), when it queries the image's fourcc, mesa goes through

Re: [Mesa-dev] [PATCH 17/17] winsys/amdgpu: always set AMDGPU_IB_FLAG_TC_WB_NOT_INVALIDATE

2018-04-05 Thread Samuel Pitoiset
Patches 16-17 are: Reviewed-by: Samuel Pitoiset Those two are quite interesting. I will probably update my kernel and experiment something. On 04/04/2018 03:59 AM, Marek Olšák wrote: From: Marek Olšák There is a kernel patch that adds the

[Mesa-dev] [Bug 105901] Warn about mipmap-incomplete texture being used

2018-04-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105901 Bug ID: 105901 Summary: Warn about mipmap-incomplete texture being used Product: Mesa Version: 17.2 Hardware: Other OS: All Status: NEW Severity:

[Mesa-dev] [PATCH] intel/dev: Assert the number of slices is not zero

2018-04-05 Thread Topi Pohjolainen
Fixes: c1900f5b intel: devinfo: add helper functions to fill... CID: 1433511 CC: Lionel Landwerlin Signed-off-by: Topi Pohjolainen --- src/intel/dev/gen_device_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [Mesa-dev] [PATCH 10/17] radeonsi: force 2D tiling on VI only when TC-compat HTILE is really enabled

2018-04-05 Thread Samuel Pitoiset
Patches 4-10 are: Reviewed-by: Samuel Pitoiset On 04/04/2018 03:59 AM, Marek Olšák wrote: From: Marek Olšák just pass the flag that indicates it. --- src/gallium/drivers/radeon/r600_texture.c | 14 ++ 1 file changed, 6

Re: [Mesa-dev] [PATCH 12/17] radeonsi/gfx9: don't use the workaround for gather4 + stencil

2018-04-05 Thread Samuel Pitoiset
Patches 11-12 are: Acked-by: Samuel Pitoiset On 04/04/2018 03:59 AM, Marek Olšák wrote: From: Marek Olšák it doesn't seem to be needed. --- src/gallium/drivers/radeonsi/si_state.c | 13 +++-- 1 file changed, 11 insertions(+), 2

[Mesa-dev] [PATCH] nir: Check if u_vector_init() succeeds

2018-04-05 Thread Topi Pohjolainen
However, it only fails when running out of memory. Now, if we are about to check that, we should be consistent and check the allocation of the worklist as well. On the other hand there are other places where we don't check for allocation failures. Therefore I'm not sure if we bother here either.

[Mesa-dev] [Bug 105871] Discolored KDE panels after updating to Mesa 18.0 on Intel broadwell

2018-04-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105871 --- Comment #13 from sergio.calleg...@gmail.com --- As an alternate/complement solution to the patched xserver-xorg-core on the Padoka ppa, for those using kde plasma, there is now also a patch to kwin to fix the visuals selection.

[Mesa-dev] [Bug 105871] Discolored KDE panels after updating to Mesa 18.0 on Intel broadwell

2018-04-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105871 --- Comment #14 from Tapani Pälli --- (In reply to sergio.callegari from comment #13) > As an alternate/complement solution to the patched xserver-xorg-core on the > Padoka ppa, for those using kde plasma, there is now also a

Re: [Mesa-dev] [PATCH] intel/dev: Assert the number of slices is not zero

2018-04-05 Thread Lionel Landwerlin
Rb On 05/04/18 08:43, Topi Pohjolainen wrote: Fixes: c1900f5b intel: devinfo: add helper functions to fill... CID: 1433511 CC: Lionel Landwerlin Signed-off-by: Topi Pohjolainen --- src/intel/dev/gen_device_info.c | 2 +- 1 file

[Mesa-dev] [PATCH] radv: only enable PERFECT_ZPASS_COUNTS for precision occlusion queries

2018-04-05 Thread Samuel Pitoiset
This unnecessary when the precision bit flag is not set, and this might hurt performance. The Vulkan explains that not setting VK_QUERY_CONTROL_PRECISE_BIT might be more efficient on some implementations. Signed-off-by: Samuel Pitoiset ---

[Mesa-dev] [PATCH] radv: enable the Polaris small primitive filter control

2018-04-05 Thread Samuel Pitoiset
Enable it directly in the preamble, but do not enable line on Polaris10/11/12 because there is a hw bug. There is possibly an issue when MSAA is off, but this doesn't regress any CTS and AMDVLK doesn't have a workaround as well. Signed-off-by: Samuel Pitoiset ---

Re: [Mesa-dev] [PATCH 15/17] radeonsi: always prefetch later shaders after the draw packet

2018-04-05 Thread Samuel Pitoiset
Reviewed-by: Samuel Pitoiset On 04/05/2018 02:33 AM, Marek Olšák wrote: From: Marek Olšák so that the draw is started as soon as possible. v2: only prefetch the API VS and VBO descriptors --- src/gallium/drivers/radeonsi/si_cp_dma.c | 89

Re: [Mesa-dev] [PATCH] nir: Check if u_vector_init() succeeds

2018-04-05 Thread Thomas Helland
Sorry about that. It doesn't hurt to check. Reviewed-by: Thomas Helland 2018-04-05 9:35 GMT+02:00 Topi Pohjolainen : > However, it only fails when running out of memory. Now, if we > are about to check that, we should be consistent and

[Mesa-dev] [RFC PATCH] nir: extend nir_shader_compiler_options with is_scalar

2018-04-05 Thread Christian Gmeiner
As not every (upcoming) backend compiler is happy with nir_lower_xxx_to_scalar lowerings do them only if the backend is scalar (and not vec4) based. Signed-off-by: Christian Gmeiner --- src/amd/vulkan/radv_shader.c| 1 +

Re: [Mesa-dev] [PATCH 02/17] ac/surface: don't set the display flag for obviously unsupported cases

2018-04-05 Thread Michel Dänzer
On 2018-04-04 07:35 PM, Marek Olšák wrote: > On Wed, Apr 4, 2018 at 9:01 AM, Michel Dänzer wrote: >> On 2018-04-04 02:57 PM, Marek Olšák wrote: >>> On Wed, Apr 4, 2018, 6:18 AM Michel Dänzer >> > wrote: >>> >>> On 2018-04-04

[Mesa-dev] [PATCH] radv: disable TC-compat HTILE on Tonga and Iceland

2018-04-05 Thread Samuel Pitoiset
Ported from RadeonSI. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_image.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c index dd3189c67d..44caf0eeae 100644 ---

[Mesa-dev] [Bug 105901] Warn about mipmap-incomplete texture being used

2018-04-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105901 --- Comment #1 from Ruslan Kabatsayev --- Created attachment 138612 --> https://bugs.freedesktop.org/attachment.cgi?id=138612=edit Test program -- You are receiving this mail because: You are the assignee for the bug.

[Mesa-dev] [Bug 105871] Discolored KDE panels after updating to Mesa 18.0 on Intel broadwell

2018-04-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105871 --- Comment #12 from sergio.calleg...@gmail.com --- Tapani Pälli's suggestion that the bug was the same as in the other case was 100% correct! Having been notified about this thread, Paulo Dias has very quickly put up on his padoka stable ppa

[Mesa-dev] [PATCH 2/2] st/mesa: finalise tcs/tes/geom NIR before storing it to the cache

2018-04-05 Thread Timothy Arceri
We don't create variants of the NIR so here we finalise it before caching to avoid unnecessary processing when restoring it. --- src/mesa/state_tracker/st_program.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/mesa/state_tracker/st_program.c

[Mesa-dev] [PATCH 1/2] st/mesa: exit st_translate_fragment_program() earlier for NIR path

2018-04-05 Thread Timothy Arceri
This avoids a bunch of scanning that is only used by the TGSI path. --- src/mesa/state_tracker/st_program.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c index 5bf76e1b888..a740c874c9e

Re: [Mesa-dev] [PATCH 14/17] radeonsi: emit shader pointers before cache flushes & waits

2018-04-05 Thread Samuel Pitoiset
Patches 13-14 are: Reviewed-by: Samuel Pitoiset On 04/04/2018 03:59 AM, Marek Olšák wrote: From: Marek Olšák This code was written with the constant engine in mind. We can simplify it now. --- src/gallium/drivers/radeonsi/si_state_draw.c |

Re: [Mesa-dev] [RFC] Mesa 17.3.x release problems and process improvements

2018-04-05 Thread Juan A. Suarez Romero
On Wed, 2018-04-04 at 11:27 -0700, Mark Janes wrote: > "Juan A. Suarez Romero" writes: > > > On Wed, 2018-04-04 at 10:07 -0700, Mark Janes wrote: > > > Emil Velikov writes: > > > > In detail: > > > > * make the patch queue, release date and

[Mesa-dev] [Bug 105901] Warn about mipmap-incomplete texture being used

2018-04-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105901 --- Comment #2 from Brian Paul --- With a debug build of Mesa if you set the MESA_DEBUG env var to "incomplete_tex" you'll get a warning. This predates the GL_ARB_debug_output extension. It shouldn't be hard to go into the

[Mesa-dev] [PATCH kmscube 3/4] Automatically select modifiers

2018-04-05 Thread Thierry Reding
From: Thierry Reding If available, use the formats/modifiers blob from a DRM/KMS device to automatically detect which modifiers to use. In the absence of the blob, leave it up to the implementation to choose an appropriate format. Based on work by Lucas Stach

[Mesa-dev] [PATCH kmscube 1/4] drm-atomic: Fix indentation

2018-04-05 Thread Thierry Reding
From: Thierry Reding One of the error returns ended up being indented twice. Fix it. Signed-off-by: Thierry Reding --- drm-atomic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drm-atomic.c b/drm-atomic.c index

[Mesa-dev] [PATCH kmscube 2/4] Pass struct drm to init_gbm()

2018-04-05 Thread Thierry Reding
From: Thierry Reding This helps cut down on the number of parameters that we need to pass around. Subsequent patches will also add more data to struct drm that init_gbm() needs to access, so passing in the struct make sure these will be available. Based on work by Lucas

[Mesa-dev] [PATCH kmscube 4/4] drm-atomic: Implement user interruption

2018-04-05 Thread Thierry Reding
From: Thierry Reding In legacy mode, the user can interrupt kmscube by pressing the return key. Implement the same behaviour for atomic mode. Signed-off-by: Thierry Reding --- drm-atomic.c | 25 + 1 file changed, 25 insertions(+)

Re: [Mesa-dev] [PATCH] loader: disable virgl driver when no 3D for virtio

2018-04-05 Thread Emil Velikov
On 5 April 2018 at 14:45, Ilia Mirkin wrote: > Shouldn't this just be handled as in, e.g., > > https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c#n97 > > i.e. return an error in the driver-specific loader? This create > function

Re: [Mesa-dev] [RFC PATCH] nir: extend nir_shader_compiler_options with is_scalar

2018-04-05 Thread Rob Clark
I'd vote for PIPE_CAP until there is any place inside nir passes were we'd want to do something differently. Since this is just a decision in mesa/st I think a cap makes sense.. On Thu, Apr 5, 2018 at 10:25 AM, Jason Ekstrand wrote: > I'm not sure if this should be a NIR

Re: [Mesa-dev] [PATCH kmscube 3/4] Automatically select modifiers

2018-04-05 Thread Emil Velikov
On 5 April 2018 at 14:44, Thierry Reding wrote: > From: Thierry Reding > > If available, use the formats/modifiers blob from a DRM/KMS device to > automatically detect which modifiers to use. In the absence of the blob, > leave it up to the

Re: [Mesa-dev] [PATCH] meson: Set .so version for xa like autotools does

2018-04-05 Thread Eric Engestrom
On Wednesday, 2018-04-04 10:58:29 -0700, Dylan Baker wrote: > Fixes: 0ba909f0f111824223bc38563d1a6bc73e69c2cc >("meson: build gallium xa state tracker") > Signed-off-by: Dylan Baker Reviewed-by: Eric Engestrom > --- >

Re: [Mesa-dev] [PATCH kmscube 1/4] drm-atomic: Fix indentation

2018-04-05 Thread Christian Gmeiner
2018-04-05 15:44 GMT+02:00 Thierry Reding : > From: Thierry Reding > > One of the error returns ended up being indented twice. Fix it. > > Signed-off-by: Thierry Reding Reviewed-by: Christian Gmeiner

Re: [Mesa-dev] [PATCH] meson: fix megadriver symlinking

2018-04-05 Thread Eric Engestrom
On Wednesday, 2018-04-04 10:45:26 -0700, Dylan Baker wrote: > Which should be relative instead of absolute. > > Fixes: f7f1b30f81e842db6057591470ce3cb6d4fb2795 >("meson: extend install_megadrivers script to handle symmlinking") > Bugzilla:

Re: [Mesa-dev] [RFC PATCH] nir: extend nir_shader_compiler_options with is_scalar

2018-04-05 Thread Jason Ekstrand
I'm not sure if this should be a NIR compiler option or a PIPE_CAP. On Intel hardware, we have both and we handle it ourselves. On April 4, 2018 23:04:36 Christian Gmeiner wrote: As not every (upcoming) backend compiler is happy with nir_lower_xxx_to_scalar

Re: [Mesa-dev] [PATCH kmscube 2/4] Pass struct drm to init_gbm()

2018-04-05 Thread Christian Gmeiner
2018-04-05 15:44 GMT+02:00 Thierry Reding : > From: Thierry Reding > > This helps cut down on the number of parameters that we need to pass > around. Subsequent patches will also add more data to struct drm that > init_gbm() needs to access, so

Re: [Mesa-dev] [PATCH] loader: disable virgl driver when no 3D for virtio

2018-04-05 Thread Ilia Mirkin
Shouldn't this just be handled as in, e.g., https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c#n97 i.e. return an error in the driver-specific loader? This create function should fail:

[Mesa-dev] [Bug 105906] [DRI3] Compiz segfaults in intel_destroy_image()

2018-04-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105906 Lionel Landwerlin changed: What|Removed |Added Assignee|mesa-dev@lists.freedesktop.

  1   2   >