Re: [Mesa-dev] [PATCH] configure: Trust LLVM >= 4.0 llvm-config --libs for shared libraries

2017-08-14 Thread Andy Furniss
Michel Dänzer wrote: On 11/08/17 01:45 AM, Emil Velikov wrote: On 9 August 2017 at 02:00, Michel Dänzer wrote: On 09/08/17 03:24 AM, Emil Velikov wrote: I think we'd want to keep the best of both - just not sure how to exactly do that. --libs/--libfiles was completely

Re: [Mesa-dev] [PATCH] i965/miptree: Set supports_fast_clear = false in make_shareable

2017-08-14 Thread Jason Ekstrand
I missed the stable CC when I pushed this one. It needs to be in 17.2 On Thu, Aug 3, 2017 at 9:52 AM, Jason Ekstrand wrote: > The make_shareable function deletes the aux buffer and then whacks > aux_usage to ISL_AUX_USAGE_NONE but not unsetting supports_fast_clear. >

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

2017-08-14 Thread Aaron Watry
On Mon, Aug 14, 2017 at 1:53 PM, Francisco Jerez wrote: > Aaron Watry writes: > >> On Sat, Aug 12, 2017 at 10:14 PM, Francisco Jerez >> wrote: >>> Jan Vesely writes: >>> On Sat, 2017-08-05 at 12:34

Re: [Mesa-dev] [PATCH 0/5] GL_OES_required_internalformat

2017-08-14 Thread Eric Anholt
Mark Janes writes: > Eric Anholt writes: > >> Tapani Pälli writes: >> >>> On 06/22/2017 02:08 AM, Eric Anholt wrote: Tapani Pälli writes: > On 06/14/2017 01:12 AM, Eric Anholt wrote: >>

[Mesa-dev] [Bug 101486] TAHITI XT hangs once "dota2 -vulkan" dashboard is loaded

2017-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101486 Sylvain BERTRAND changed: What|Removed |Added Resolution|--- |FIXED

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

2017-08-14 Thread Francisco Jerez
Aaron Watry writes: > On Sat, Aug 12, 2017 at 10:14 PM, Francisco Jerez > wrote: >> Jan Vesely writes: >> >>> On Sat, 2017-08-05 at 12:34 -0700, Francisco Jerez wrote: Francisco Jerez writes:

Re: [Mesa-dev] [PATCH V3] i965 : Optimize atom state flag checks

2017-08-14 Thread Scott D Phillips
Tapani Pälli writes: > Hello; > > On 07/25/2017 05:17 PM, Marathe, Yogesh wrote: >> Hi Matt, Sorry for late reply, please see below. >> >>> -Original Message- >>> From: mesa-dev [mailto:mesa-dev-boun...@lists.freedesktop.org] On Behalf >>> Of Matt Turner >>>

[Mesa-dev] [PATCH 5/5] radv/gfx9: fix tile swizzle handling for gfx9

2017-08-14 Thread Dave Airlie
From: David Airlie This sets the tile swizzle up properly for gfx9. Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_device.c | 7 +++ src/amd/vulkan/radv_image.c | 12 +--- 2 files changed, 8 insertions(+), 11

[Mesa-dev] [PATCH 1/5] radv/gfx9: fix set predication packet.

2017-08-14 Thread Dave Airlie
From: Dave Airlie The predication packet changed format on GFX9, update the driver. Signed-off-by: Dave Airlie --- src/amd/vulkan/si_cmd_buffer.c | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git

[Mesa-dev] [PATCH 4/5] radv/gfx9: handle GFX9 opaque metadata

2017-08-14 Thread Dave Airlie
From: David Airlie port the opaque metadata changes from radeonsi for gfx9. Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_image.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git

[Mesa-dev] radv: some initial gfx9 fixes

2017-08-14 Thread Dave Airlie
This is just a first batch of vega changes from today, some of the vulkan samples render (triangle, texture, gears), but nothing too useful. Dave. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

Re: [Mesa-dev] [PATCH v2 2/4] st/omx_tizonia: Add --enable-omx-tizonia flag and build files

2017-08-14 Thread Gurkirpal Singh
On Mon, Aug 14, 2017 at 10:05 PM, Leo Liu wrote: > > > On 08/14/2017 12:25 PM, Gurkirpal Singh wrote: > > > > On Mon, Aug 14, 2017 at 8:55 PM, Leo Liu wrote: > >> >> >> On 08/14/2017 11:19 AM, Gurkirpal Singh wrote: >> >> >> >> On Mon, Aug 14, 2017 at 8:05 PM,

Re: [Mesa-dev] [PATCH] configure: Trust LLVM >= 4.0 llvm-config --libs for shared libraries

2017-08-14 Thread Grazvydas Ignotas
On Mon, Aug 14, 2017 at 11:13 PM, Andy Furniss wrote: > Michel Dänzer wrote: >> >> On 11/08/17 01:45 AM, Emil Velikov wrote: >> >> Thanks, pushed. > > > Don't know if this is expected or not, but llvm built like - > > cmake -DCMAKE_INSTALL_PREFIX=/usr

Re: [Mesa-dev] [PATCH 3/4] radv: Add support for VK_EXT_shader_viewport_index_layer extension.

2017-08-14 Thread Ilia Mirkin
Don't you also need to add support for the ShaderViewportIndexLayerEXT spir-v capability somewhere? On Mon, Aug 14, 2017 at 8:02 PM, Bas Nieuwenhuizen wrote: > We were using it internally already. > --- > src/amd/vulkan/radv_device.c | 4 >

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

2017-08-14 Thread Aaron Watry
On Mon, Aug 14, 2017 at 4:29 PM, Aaron Watry wrote: > On Mon, Aug 14, 2017 at 1:53 PM, Francisco Jerez > wrote: >> Aaron Watry writes: >> >>> On Sat, Aug 12, 2017 at 10:14 PM, Francisco Jerez >>> wrote:

[Mesa-dev] [PATCH] clover/event: Include additional event statuses for clSetEventCallback

2017-08-14 Thread Aaron Watry
From CL 2.0 Section 5.11 (Event Objects): clSetEventCallback returns CL_SUCCESS if the function is executed successfully. Otherwise, it returns one of the following errors: ... CL_INVALID_VALUE if pfn_event_notify is NULL or if command_exec_callback_type is not CL_SUBMITTED ,

[Mesa-dev] [PATCH v2 1/5] vulkan: Import in the latest 1.0.58 header and XML from Khronos.

2017-08-14 Thread Bas Nieuwenhuizen
Reviewed-by: Dave Airlie --- include/vulkan/vulkan.h| 11 --- src/vulkan/registry/vk.xml | 42 +++--- 2 files changed, 47 insertions(+), 6 deletions(-) diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index

Re: [Mesa-dev] [PATCH] configure: Trust LLVM >= 4.0 llvm-config --libs for shared libraries

2017-08-14 Thread Michel Dänzer
On 15/08/17 07:55 AM, Grazvydas Ignotas wrote: > On Mon, Aug 14, 2017 at 11:13 PM, Andy Furniss wrote: >> Michel Dänzer wrote: >>> >>> On 11/08/17 01:45 AM, Emil Velikov wrote: >>> >>> Thanks, pushed. >> >> >> Don't know if this is expected or not, but llvm built like - >> >>

[Mesa-dev] [PATCH v2 5/5] radv: Update VK_KHR_dedicated_allocation spec version.

2017-08-14 Thread Bas Nieuwenhuizen
Update: "Clarify that dedicated allocations do not allow aliasing in the flink:vkBindBufferMemory and flink:vkBindImageMemory valid usage statements." Which is a noop in driver support. Reviewed-by: Dave Airlie --- src/amd/vulkan/radv_device.c | 2 +- 1 file changed, 1

Re: [Mesa-dev] [PATCH] clover/event: Include additional event statuses for clSetEventCallback

2017-08-14 Thread Francisco Jerez
Aaron Watry writes: > From CL 2.0 Section 5.11 (Event Objects): > clSetEventCallback returns CL_SUCCESS if the function is executed > successfully. Otherwise, it > returns one of the following errors: > ... > CL_INVALID_VALUE if pfn_event_notify is NULL or if >

[Mesa-dev] [PATCH 3/4] glsl: pass shader source keys to the disk cache

2017-08-14 Thread Timothy Arceri
We don't actually write them to disk here. That will happen in the following commit. --- src/compiler/glsl/shader_cache.cpp | 20 +--- src/compiler/glsl/tests/cache_test.c| 12 ++-- src/gallium/drivers/radeonsi/si_state_shaders.c | 2 +-

[Mesa-dev] [PATCH 4/4] util/disk_cache: write cache item metadata to disk

2017-08-14 Thread Timothy Arceri
--- src/util/disk_cache.c | 89 ++- 1 file changed, 88 insertions(+), 1 deletion(-) diff --git a/src/util/disk_cache.c b/src/util/disk_cache.c index c5a7d1f98a..8077e0a500 100644 --- a/src/util/disk_cache.c +++ b/src/util/disk_cache.c @@ -99,20

[Mesa-dev] [PATCH 2/4] spirv: Support exporting viewport & layer from VS and TES.

2017-08-14 Thread Bas Nieuwenhuizen
--- src/compiler/spirv/vtn_variables.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/compiler/spirv/vtn_variables.c b/src/compiler/spirv/vtn_variables.c index 4432e72e54a..599b9b11a59 100644 --- a/src/compiler/spirv/vtn_variables.c +++

[Mesa-dev] [PATCH 4/4] radv: Update VK_KHR_dedicated_allocation spec version.

2017-08-14 Thread Bas Nieuwenhuizen
Update: "Clarify that dedicated allocations do not allow aliasing in the flink:vkBindBufferMemory and flink:vkBindImageMemory valid usage statements." Which is a noop in driver support. --- src/amd/vulkan/radv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[Mesa-dev] [PATCH v2 2/5] spirv: Support exporting viewport & layer from VS and TES.

2017-08-14 Thread Bas Nieuwenhuizen
Reviewed-by: Dave Airlie --- src/compiler/spirv/vtn_variables.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/compiler/spirv/vtn_variables.c b/src/compiler/spirv/vtn_variables.c index 4432e72e54a..599b9b11a59 100644 ---

[Mesa-dev] [PATCH v2 4/5] radv: Add support for VK_EXT_shader_viewport_index_layer extension.

2017-08-14 Thread Bas Nieuwenhuizen
We were using it internally already. v2: Add support for the spirv capability. --- src/amd/vulkan/radv_device.c | 4 src/amd/vulkan/radv_entrypoints_gen.py | 1 + src/amd/vulkan/radv_pipeline.c | 1 + 3 files changed, 6 insertions(+) diff --git

Re: [Mesa-dev] [PATCH] configure: Trust LLVM >= 4.0 llvm-config --libs for shared libraries

2017-08-14 Thread Grazvydas Ignotas
On Tue, Aug 15, 2017 at 1:55 AM, Grazvydas Ignotas wrote: > > Also, llvm-config --version says "6.0.0git-f49c401", which means I had > to manually hack configure.ac every time to "6.0.0svn" to get mesa > building too :( Nevermind about this one, -DLLVM_APPEND_VC_REV=OFF solves

Re: [Mesa-dev] [PATCH] clover/event: Include additional event statuses for clSetEventCallback

2017-08-14 Thread Aaron Watry
On Mon, Aug 14, 2017 at 7:42 PM, Aaron Watry wrote: > From CL 2.0 Section 5.11 (Event Objects): > clSetEventCallback returns CL_SUCCESS if the function is executed > successfully. Otherwise, it > returns one of the following errors: > ... > CL_INVALID_VALUE if

Re: [Mesa-dev] [PATCH] configure: Check llvm-config --shared-mode

2017-08-14 Thread Michel Dänzer
On 15/08/17 12:00 PM, Aaron Watry wrote: > On Mon, Aug 14, 2017 at 7:54 PM, Michel Dänzer wrote: >> From: Michel Dänzer >> >> https://bugs.llvm.org/show_bug.cgi?id=6823 still affects current LLVM. >> llvm-config --libs only reports the single shared

[Mesa-dev] [Bug 102227] Commit 26aee6f4d5 causes crash-loop on android-x86 (surfaceflinger to exit with status 1)

2017-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102227 --- Comment #1 from Mauro Rossi --- Created attachment 133517 --> https://bugs.freedesktop.org/attachment.cgi?id=133517=edit dmesg showing surfaceflinger is not working -- You are receiving this mail because: You are

[Mesa-dev] [Bug 102227] Commit 26aee6f4d5 causes crash-loop on android-x86 (surfaceflinger to exit with status 1)

2017-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102227 --- Comment #2 from Mauro Rossi --- Created attachment 133518 --> https://bugs.freedesktop.org/attachment.cgi?id=133518=edit Screenshot capture of mesa 17.2.0rc4 working on AMD Turks -- You are receiving this mail

[Mesa-dev] [Bug 102227] Commit 26aee6f4d5 causes crash-loop on android-x86 (surfaceflinger to exit with status 1)

2017-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102227 Mauro Rossi changed: What|Removed |Added Attachment #133518|Screenshot capture of mesa |Screenshot capture

[Mesa-dev] [Bug 102227] Commit 26aee6f4d5 causes crash-loop on android-x86 (surfaceflinger to exit with status 1)

2017-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102227 --- Comment #3 from Mauro Rossi --- Created attachment 133519 --> https://bugs.freedesktop.org/attachment.cgi?id=133519=edit Screenshot capture of mesa 17.3.0devel working on GT610 after revert of the two commits --

[Mesa-dev] [Bug 102227] Commit 26aee6f4d5 causes crash-loop on android-x86 (surfaceflinger to exit with status 1)

2017-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102227 Mauro Rossi changed: What|Removed |Added Priority|medium |high -- You are

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

2017-08-14 Thread Jan Vesely
On Sat, 2017-08-12 at 20:14 -0700, Francisco Jerez wrote: > Jan Vesely writes: > > > On Sat, 2017-08-05 at 12:34 -0700, Francisco Jerez wrote: > > > Francisco Jerez writes: > > > > > > > Jan Vesely writes: > > > > > > > >

[Mesa-dev] [PATCH] a2xx: add logicop support

2017-08-14 Thread Ilia Mirkin
This passes both gl-1.0-logicop and gl-1.1-xor piglits. Signed-off-by: Ilia Mirkin --- src/gallium/drivers/freedreno/a2xx/fd2_blend.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_blend.c

Re: [Mesa-dev] [PATCH 1/4] util/disk_cache: rename mesa cache dir and introduce cache versioning

2017-08-14 Thread Dieter Nützel
For the series: Tested-by: Dieter Nützel on RX580 with Steam (wine-staging / Nine and CSMT) Dieter Am 15.08.2017 01:26, schrieb Timothy Arceri: Steam is already analysing cache items, unfortunatly we did not introduce a versioning mechanism for identifying structural

Re: [Mesa-dev] [PATCH v2 2/4] st/omx_tizonia: Add --enable-omx-tizonia flag and build files

2017-08-14 Thread Julien Isorce
Hi Leo, >It would be better if you can extract the common code between bellagio and tizonia to avoid the duplication. This is something Gurkirpal and me discussed, like having state_trackers/omx/common, state_trackers/omx/bellagio, state_trackers/omx/tizonia. To anticipate that Gurkirpal sent an

Re: [Mesa-dev] [PATCH] isl: Validate row pitch of stencil surfaces.

2017-08-14 Thread Pohjolainen, Topi
On Thu, Aug 10, 2017 at 07:01:00AM -0700, Jason Ekstrand wrote: > > > On August 10, 2017 2:42:29 AM Kenneth Graunke wrote: > > > On Wednesday, August 9, 2017 1:20:53 PM PDT Jason Ekstrand wrote: > > > On Wed, Aug 9, 2017 at 1:09 PM, Kenneth Graunke

Re: [Mesa-dev] [PATCH V3] i965 : Optimize atom state flag checks

2017-08-14 Thread Tapani Pälli
Hello; On 07/25/2017 05:17 PM, Marathe, Yogesh wrote: Hi Matt, Sorry for late reply, please see below. -Original Message- From: mesa-dev [mailto:mesa-dev-boun...@lists.freedesktop.org] On Behalf Of Matt Turner Sent: Saturday, July 22, 2017 12:12 AM To: Muthukumar, Aravindan

Re: [Mesa-dev] [PATCH] [rfc] ac/surface: always increase dcc size alignment.

2017-08-14 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Mon, Aug 14, 2017 at 7:01 AM, Dave Airlie wrote: > From: Dave Airlie > > So with tile swizzle, and dcc enabled, the vrdashboard GL app > generates a bunch of VM faults, this fixes it, however > it

Re: [Mesa-dev] [PATCH v2 1/4] st/omx_bellagio: Rename state tracker and option

2017-08-14 Thread Christian König
Am 12.08.2017 um 18:07 schrieb Gurkirpal Singh: Changes --enable-omx option to --enable-omx-bellagio Signed-off-by: Gurkirpal Singh Reviewed-and-Tested-by: Julien Isorce Acked-by: Christian König Any objections

Re: [Mesa-dev] [PATCH] configure: Trust LLVM >= 4.0 llvm-config --libs for shared libraries

2017-08-14 Thread Michel Dänzer
On 11/08/17 02:13 AM, Jan Vesely wrote: > On Thu, 2017-08-10 at 17:45 +0100, Emil Velikov wrote: >> >> Topic for another thread: >> There's been a handful of issues reported with BUILD_SHARED_LIBS=ON. >> Should we consider that unsupported setup and error out? I don't really see the point / gain

Re: [Mesa-dev] [PATCH] configure: Trust LLVM >= 4.0 llvm-config --libs for shared libraries

2017-08-14 Thread Michel Dänzer
On 11/08/17 01:45 AM, Emil Velikov wrote: > On 9 August 2017 at 02:00, Michel Dänzer wrote: >> On 09/08/17 03:24 AM, Emil Velikov wrote: >>> >>> I think we'd want to keep the best of both - just not sure how to >>> exactly do that. >>> --libs/--libfiles was completely busted

[Mesa-dev] [Bug 101486] TAHITI XT hangs once "dota2 -vulkan" dashboard is loaded

2017-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101486 --- Comment #2 from Gregor Münch --- Hi, Ive got also a Tahiti (Radeon HD 7970), I had exactly the same issue with Dota2 and Vulkan like mentioned in this bug report. But things are working for me after:

Re: [Mesa-dev] [PATCH] swr/rast: [rasterizer core] fix invalid casting for calls to Interlocked* functions

2017-08-14 Thread Cherniak, Bruce
Reviewed-by: Bruce Cherniak > On Aug 9, 2017, at 5:22 PM, Tim Rowley wrote: > > CID: 1416243, 1416244, 1416255 > CC: mesa-sta...@lists.freedesktop.org > --- > src/gallium/drivers/swr/rasterizer/core/api.cpp | 2 +- >

Re: [Mesa-dev] [PATCH v2 2/4] st/omx_tizonia: Add --enable-omx-tizonia flag and build files

2017-08-14 Thread Leo Liu
On 08/14/2017 12:25 PM, Gurkirpal Singh wrote: On Mon, Aug 14, 2017 at 8:55 PM, Leo Liu > wrote: On 08/14/2017 11:19 AM, Gurkirpal Singh wrote: On Mon, Aug 14, 2017 at 8:05 PM, Leo Liu >

[Mesa-dev] [Bug 102218] Nier:Automata (through wine) - Bloom too bright

2017-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102218 Bug ID: 102218 Summary: Nier:Automata (through wine) - Bloom too bright Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: normal

[Mesa-dev] [Bug 102218] Nier:Automata (through wine) - Bloom too bright

2017-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102218 Fabian Maurer changed: What|Removed |Added See Also|

[Mesa-dev] [PATCH 1/2] drm-uapi/forcc: Pull in new modifiers

2017-08-14 Thread Jason Ekstrand
--- include/drm-uapi/drm_fourcc.h | 31 +++ 1 file changed, 31 insertions(+) diff --git a/include/drm-uapi/drm_fourcc.h b/include/drm-uapi/drm_fourcc.h index 7586c46..3ad838d 100644 --- a/include/drm-uapi/drm_fourcc.h +++ b/include/drm-uapi/drm_fourcc.h @@ -185,6

[Mesa-dev] [PATCH 2/2] i965/screen: Stop redefining DRM_FORMAT_MOD_(INVALID|LINEAR)

2017-08-14 Thread Jason Ekstrand
--- src/mesa/drivers/dri/i965/intel_screen.c | 8 1 file changed, 8 deletions(-) diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c index 452f0d1..a22d63e 100644 --- a/src/mesa/drivers/dri/i965/intel_screen.c +++

Re: [Mesa-dev] [PATCH v2 2/4] st/omx_tizonia: Add --enable-omx-tizonia flag and build files

2017-08-14 Thread Gurkirpal Singh
On Mon, Aug 14, 2017 at 8:55 PM, Leo Liu wrote: > > > On 08/14/2017 11:19 AM, Gurkirpal Singh wrote: > > > > On Mon, Aug 14, 2017 at 8:05 PM, Leo Liu wrote: > >> >> >> On 08/14/2017 05:46 AM, Julien Isorce wrote: >> >> Hi Leo, >> >> >It would be better if you

Re: [Mesa-dev] [PATCH 2/2] i965/screen: Stop redefining DRM_FORMAT_MOD_(INVALID|LINEAR)

2017-08-14 Thread Ben Widawsky
On 17-08-14 10:13:23, Jason Ekstrand wrote: --- src/mesa/drivers/dri/i965/intel_screen.c | 8 1 file changed, 8 deletions(-) diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c index 452f0d1..a22d63e 100644 ---

Re: [Mesa-dev] [PATCH] i965/blorp: Correct type of src_format in call to intel_miptree_texture_aux_usage

2017-08-14 Thread Jason Ekstrand
Pushed. On Mon, Aug 14, 2017 at 10:37 AM, Scott D Phillips < scott.d.phill...@intel.com> wrote: > Jason Ekstrand writes: > > > On Fri, Aug 11, 2017 at 10:36 AM, Scott D Phillips < > > scott.d.phill...@intel.com> wrote: > > > >> Jason Ekstrand writes: