[Mesa-dev] [PATCH 2/2] ac/nir: fix lds store for patch outputs.

2017-12-17 Thread Dave Airlie
From: Dave Airlie This wasn't calculating the correct value, this along with a nir patch fixes a regression in: dEQP-VK.tessellation.shader_input_output.barrier Fixes: 043d14db30a (ac/nir: don't write tcs outputs to LDS that aren't read back.) Signed-off-by: Dave Airlie --- src/amd/common/ac_

[Mesa-dev] [PATCH 1/2] nir/linking: always set the used_across_stages/outputs_read bits

2017-12-17 Thread Dave Airlie
From: Dave Airlie If we don't remap and output this code would trample the outputs read bits. This fixes a regression in dEQP-VK.tessellation.shader_input_output.barrier Fixes: 1c9c42d16b4c (nir: add varying component packing helpers) Signed-off-by: Dave Airlie --- src/compiler/nir/nir_linkin

Re: [Mesa-dev] [PATCH 1/2] android: fix vulkan driver futex usage issues

2017-12-17 Thread Jason Ekstrand
Reviewed-by: Jason Ekstrand On Sun, Dec 17, 2017 at 9:55 PM, Tapani Pälli wrote: > Ping .. > > These 2 patches are required because build is broken without them (when > vulkan=true in build options). This patch should be renamed as "fix > undefined futex API references" or something better like

Re: [Mesa-dev] [PATCH 1/2] android: fix vulkan driver futex usage issues

2017-12-17 Thread Tapani Pälli
Ping .. These 2 patches are required because build is broken without them (when vulkan=true in build options). This patch should be renamed as "fix undefined futex API references" or something better like that. On 12/12/2017 10:01 AM, Tapani Pälli wrote: Fixes: f98a2768ca "mesa: Add new fas

[Mesa-dev] [PATCH] radv: port merge tess info from anv

2017-12-17 Thread Dave Airlie
From: Dave Airlie anv merges the tess info correctly, but radv wasn't doing this. This fixes hangs in dEQP-VK.tessellation.winding.default_domain.hlsl_triangles_ccw Fixes: 60fc0544e0 (radv/pipeline: handle tessellation shader compilation) Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_pip

Re: [Mesa-dev] [PATCH] Android: gallium_dri: add include to get "xmlpool/options.h"

2017-12-17 Thread Yu, Qiang
Looks good for me. Reviewed-by: Qiang Yu Regards, Qiang From: Mauro Rossi Sent: Monday, December 18, 2017 7:34:46 AM To: mesa-dev@lists.freedesktop.org Cc: Haehnle, Nicolai; Yu, Qiang; emil.l.veli...@gmail.com; 17.3 Subject: [PATCH] Android: gallium_dri:

[Mesa-dev] [PATCH] i965/miptree: Refactor CCS_E and CCS_D cases in render_aux_usage

2017-12-17 Thread Jason Ekstrand
This commit unifies the CCS_E and CCS_D cases. This should fix a couple of subtle issues. One is that when you use INTEL_DEBUG=norbc to disable CCS_E, we don't get the sRGB blending workaround. By unifying the code, we give CCS_D that workaround as well. The second issue fixed by this refactor

Re: [Mesa-dev] [PATCH 3/3] Revert "i965: Disable regular fast-clears (CCS_D) on gen9+"

2017-12-17 Thread Jason Ekstrand
On Sat, Dec 16, 2017 at 3:07 PM, Jason Ekstrand wrote: > On December 16, 2017 14:35:29 Nanley Chery wrote: > > On Wed, Dec 13, 2017 at 05:52:03PM -0800, Jason Ekstrand wrote: >> >>> This reverts commit ee57b15ec764736e2d5360beaef9fb2045ed0f68. >>> >>> Cc: "17.3" >>> --- >>> src/mesa/drivers/dr

Re: [Mesa-dev] [PATCH 1/6] configure/meson: Bump libdrm_amdgpu version requirement.

2017-12-17 Thread Dave Airlie
On 17 December 2017 at 10:11, Bas Nieuwenhuizen wrote: > For the radv dependencies on syncobj signal/reset. I've released 2.4.89 with those patches, So, for the series, Reviewed-by: Dave Airlie Dave. ___ mesa-dev mailing list mesa-dev@lists.freedesk

[Mesa-dev] [Bug 99776] Graphical Corruption and Kernel Lockup on Polaris10

2017-12-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99776 Bas Nieuwenhuizen changed: What|Removed |Added Resolution|--- |NOTOURBUG Status|NEW

[Mesa-dev] [Bug 102710] vkCmdBlitImage with arrayLayers > 1 fails

2017-12-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102710 Bas Nieuwenhuizen changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [Mesa-dev] [Mesa-stable] [PATCH] swr: Fix KNOB_MAX_WORKER_THREADS thread creation override.

2017-12-17 Thread Cherniak, Bruce
> On Dec 17, 2017, at 10:23 AM, Andres Gomez wrote: > > Bruce, this depends on ead0dfe31ec7 which didn't make it for the 17.2 > queue so I will be leaving out from there. Hi Andres, it is fine to leave out for 17.2, that branch is fine. We would like this in 17.3 stable, however. 17.3.0 contai

Re: [Mesa-dev] [PATCH] radv: Fix multi-layer blits.

2017-12-17 Thread Dave Airlie
On 18 December 2017 at 09:11, Bas Nieuwenhuizen wrote: > We did not set the layer correctly for the dst, as we would keep > using the base layer. Same for the source image. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102710 > CC: Reviewed-by: Dave Airlie > --- > src/amd/vulkan

[Mesa-dev] [PATCH] Android: gallium_dri: add include to get "xmlpool/options.h"

2017-12-17 Thread Mauro Rossi
target.c requires "xmlpool/options.h" generated header or the following tricky Android building error may appear: In file included from external/mesa/src/gallium/targets/dri/target.c:1: In file included from external/mesa/src/gallium/auxiliary/target-helpers/drm_helper.h:185: out/target/product/x

Re: [Mesa-dev] [PATCH] Android: gallium_dri: add include to get "util/options.h"

2017-12-17 Thread Mauro Rossi
Sorry for the typos, anyway I'm sending corrected title and message in new thread. Closing this one Mauro 2017-12-18 0:20 GMT+01:00 Mauro Rossi : > Hi, minor self-review and correction the needed header is > "xmlpool/options.h" > Only changes needed are in the commit title ... > > 2017-12-18 0:1

Re: [Mesa-dev] [PATCH] Android: gallium_dri: add include to get "util/options.h"

2017-12-17 Thread Mauro Rossi
Hi, minor self-review and correction the needed header is "xmlpool/options.h" Only changes needed are in the commit title ... 2017-12-18 0:11 GMT+01:00 Mauro Rossi : > target.c requires "xmlpool/options.h" generated header > ...and here target.c requires "util/options.h" generated header > or

[Mesa-dev] [PATCH] radv: Fix multi-layer blits.

2017-12-17 Thread Bas Nieuwenhuizen
We did not set the layer correctly for the dst, as we would keep using the base layer. Same for the source image. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102710 CC: --- src/amd/vulkan/radv_meta_blit.c | 49 - 1 file changed, 24 insertions(+)

[Mesa-dev] [PATCH] Android: gallium_dri: add include to get "util/options.h"

2017-12-17 Thread Mauro Rossi
target.c requires "util/options.h" generated header or the following tricky Android building error may appear: In file included from external/mesa/src/gallium/targets/dri/target.c:1: In file included from external/mesa/src/gallium/auxiliary/target-helpers/drm_helper.h:185: out/target/product/x86_

[Mesa-dev] [PATCH] st/va: Fix stray index in suface_from_external_memory()

2017-12-17 Thread Paul Parsons
The VASurfaceAttribExternalBuffers structure contains a four element array of pitches, one for each plane. suface_from_external_memory() indexes into this array using a passed in index, which is in the range 0 to num_surfaces-1. num_surfaces is the number of surfaces, not planes. Consequently the i

Re: [Mesa-dev] [Mesa-stable] [PATCH] swr: Fix KNOB_MAX_WORKER_THREADS thread creation override.

2017-12-17 Thread Andres Gomez
Bruce, this depends on ead0dfe31ec7 which didn't make it for the 17.2 queue so I will be leaving out from there. Let me know what you think. On Tue, 2017-12-12 at 17:37 -0600, Bruce Cherniak wrote: > Environment variable KNOB_MAX_WORKER_THREADS allows the user to override > default thread creatio

[Mesa-dev] [Bug 104229] radeon_icd.i686.json api_version is 1.0.3

2017-12-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104229 --- Comment #1 from Bas Nieuwenhuizen --- If you look at vulkaninfo, you'll see that the vulkan version is actually taken from the binary provided version not from the json file. So what remains is possible interactions between the loader and th

Re: [Mesa-dev] [PATCH 1/2] amd/common: add ac_get_cb_shader_mask() helper

2017-12-17 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Fri, Dec 15, 2017 at 3:37 PM, Samuel Pitoiset wrote: > Signed-off-by: Samuel Pitoiset > --- > src/amd/common/ac_shader_util.c | 35 > + > src/amd/common/ac_shader_util.h | 3 +++ > src/amd/vulkan/radv_p

Re: [Mesa-dev] [PATCH 2/2] amd/common: add ac_vgt_gs_mode() helper

2017-12-17 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Fri, Dec 15, 2017 at 3:37 PM, Samuel Pitoiset wrote: > Signed-off-by: Samuel Pitoiset > --- > src/amd/common/ac_shader_util.c | 27 + > src/amd/common/ac_shader_util.h | 6 + > src/amd/vulkan/radv_pipeli

Re: [Mesa-dev] [PATCH] Revert "radv: do not load unused gl_LocalInvocationID/gl_WorkGroupID components"

2017-12-17 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Fri, Dec 15, 2017 at 4:01 PM, Samuel Pitoiset wrote: > This reverts commit 2294d35b243dee15af15895e876a63b7d22e48cc. > > We can't do this without adjusting the input SGPRs/VGPRs logic. > For now, just revert it. I will send a proper solution later. > > It fixes

[Mesa-dev] [Bug 104302] Wolfenstein 2 (2017) under wine graphical artifacting on RADV

2017-12-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104302 Bug ID: 104302 Summary: Wolfenstein 2 (2017) under wine graphical artifacting on RADV Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All)