[Mesa-dev] [Bug 104949] swrast: Epiphany WEB browser core dumps under Mesa 17.3.3

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104949 --- Comment #9 from Wayne Blaszczyk --- (In reply to Eric Engestrom from comment #8) > (In reply to Wayne Blaszczyk from comment #7) > > I don't have eglinfo. What package does that come from? > > it's in mesa-demos, but it's not necessarily pr

Re: [Mesa-dev] [PATCH v2 1/3] st/glsl_to_tgsi: move nir detection earlier - bisected

2018-02-07 Thread Dieter Nützel
Am 06.02.2018 00:23, schrieb Timothy Arceri: On 05/02/18 15:04, Dieter Nützel wrote: Am 02.02.2018 10:24, schrieb Timothy Arceri: On 02/02/18 19:26, Dieter Nützel wrote: Hello Tim, _this_ version brake UH, UV, mpv, blender 2.79 (some test files not all). Must be something with the cache fil

[Mesa-dev] [Bug 104988] Please do a mesa-demos/mesa-utils release. The last one was 2 years ago.

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104988 Andreas Boll changed: What|Removed |Added Assignee|mesa-dev@lists.freedesktop. |andreas.boll@gmail.com

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

2018-02-07 Thread Rogovin, Kevin
HI Scott, I like the idea of making this a pre-loadable .so as it lets it get reused for anything using the kernel interface using GEM's. However, there are a few bits, that if addressed, would make this perfect IMO: 1. It needs a way of being able to label the GEMs (brw_bufmgr.c provides t

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

2018-02-07 Thread Rogovin, Kevin
Hi, Two comments on the code you sent: 1. the map to find the size of a given GEM needs to be keyed by (fd, gem_handle) and not just the gem_handle; if an application (though very unlikely) has multiple fd's to the GPU (for example if an application made multiple connections to X, or if t

[Mesa-dev] [Bug 104988] Please do a mesa-demos/mesa-utils release. The last one was 2 years ago.

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104988 Dieter Nützel changed: What|Removed |Added CC||bri...@vmware.com --- Comment #2 from D

[Mesa-dev] [Bug 104988] Please do a mesa-demos/mesa-utils release. The last one was 2 years ago.

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104988 --- Comment #3 from Daniel van Vugt --- If you have outstanding problems, please make sure they have their own bug reports. -- You are receiving this mail because: You are the QA Contact for the bug.

[Mesa-dev] How to know which exact llvm version to build/link against?

2018-02-07 Thread Andrew A.
Hello, I often pull down the latest mesa from the git repo and find that I have to muck around with building several different llvm versions before I find one that mesa will successfully build/link against. For any given mesa git revision, how can I find out which llvm version it should be built

Re: [Mesa-dev] How to know which exact llvm version to build/link against?

2018-02-07 Thread Andrew A.
On Wed, Feb 7, 2018 at 1:16 AM, Andrew A. wrote: > Hello, > > I often pull down the latest mesa from the git repo and find that I > have to muck around with building several different llvm versions > before I find one that mesa will successfully build/link against. > > For any given mesa git revis

Re: [Mesa-dev] [PATCH] nir: lower fexp2(fmul(flog2(a), 2)) to fmul(a, a)

2018-02-07 Thread Samuel Pitoiset
On 02/06/2018 12:29 AM, Ian Romanick wrote: Do you have any data from shader-db for this change (and the other patch)? We didn't see any changes for this patch on ivy bridge, but it helps when fpow is lowered. shader-db results for the other patch https://hastebin.com/gajajodebo.hs on ivy

Re: [Mesa-dev] How to know which exact llvm version to build/link against?

2018-02-07 Thread Michel Dänzer
On 2018-02-07 10:16 AM, Andrew A. wrote: > Hello, > > I often pull down the latest mesa from the git repo and find that I > have to muck around with building several different llvm versions > before I find one that mesa will successfully build/link against. > > For any given mesa git revision, ho

[Mesa-dev] [PATCH] mesa: add glsl version query (v2)

2018-02-07 Thread Vadym Shovkoplias
Add support for GL_NUM_SHADING_LANGUAGE_VERSIONS and glGetStringi for GL_SHADING_LANGUAGE_VERSION v2: - Combine similar functionality into _mesa_get_shading_language_version() function. - Cahnge GLSL version return mechanism. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104915 S

[Mesa-dev] [Bug 104989] [r600] [bisected] OpenGL applications can't render anything at all

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104989 Vlad Golovkin changed: What|Removed |Added Assignee|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop.

Re: [Mesa-dev] [PATCH v3 2/8] compiler: Add SYSTEM_VALUE_FIRST_VERTEX and instrinsics

2018-02-07 Thread Antia Puentes
This series is still waiting for review. On 25/01/18 19:15, Antia Puentes wrote: This VS system value will contain the value passed as for indexed draw calls or the value passed as for non-indexed draw calls. It can be used to calculate the gl_VertexID as SYSTEM_VALUE_VERTEX_ID_ZERO_BASE plus

Re: [Mesa-dev] [PATCH 2/2] u_blit, u_simple_shaders: add shader to convert from xrbias format

2018-02-07 Thread Jose Fonseca
On 07/02/18 04:20, srol...@vmware.com wrote: From: Roland Scheidegger We need this to handle some oddball dx10 format (DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM). What you can do with this format is very limited, hence we don't want to add it as a gallium format (we could not express the propertie

[Mesa-dev] [Bug 104989] [r600] [bisected] OpenGL applications can't render anything at all

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104989 --- Comment #1 from Gert Wollny --- I can't confirm this neither for AMD BARTS, nor for AMD CEDAR on DRM 2.50.0 / 4.14.16-gentoo, LLVM 5.0.1 (0x68f9) OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.1.0-devel (git-c74719cf4

Re: [Mesa-dev] [PATCH 11/11] r600/radeonsi/clover: always assume PIPE_SHADER_IR_NATIVE for clover

2018-02-07 Thread Pierre Moreau
On 2018-02-06 — 20:50, Jan Vesely wrote: [snip] > > > Happy to here suggestions for solving the current conflict in uses of > > > PIPE_SHADER_CAP_PREFERRED_IR. > > > > One option could be to: > > * look at the preferred IR > > |-> if clover supports it, use it > > |-> else, check if any IR sup

Re: [Mesa-dev] [PATCH v2 6/8] radeon/uvd:add uvd hevc enc files in Makefile list

2018-02-07 Thread Leo Liu
On 02/06/2018 03:05 PM, James Zhu wrote: Signed-off-by: James Zhu --- src/gallium/drivers/radeon/Makefile.sources | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/drivers/radeon/Makefile.sources b/src/gallium/drivers/radeon/Makefile.sources index b756d72..f8ee860 100644 -

Re: [Mesa-dev] [PATCH v2 6/8] radeon/uvd:add uvd hevc enc files in Makefile list

2018-02-07 Thread Christian König
Am 07.02.2018 um 15:47 schrieb Leo Liu: On 02/06/2018 03:05 PM, James Zhu wrote: Signed-off-by: James Zhu ---   src/gallium/drivers/radeon/Makefile.sources | 3 +++   1 file changed, 3 insertions(+) diff --git a/src/gallium/drivers/radeon/Makefile.sources b/src/gallium/drivers/radeon/Makefil

Re: [Mesa-dev] [PATCH 10.5/24] st/mesa: don't set sampler states for TBOs

2018-02-07 Thread Marek Olšák
On Wed, Feb 7, 2018 at 1:33 AM, Ilia Mirkin wrote: > This breaks nouveau (at least on nv50). Same deal as in commit > 2b938a390c15a06be8cf706083890c822979508f which fixed a similar issue > where this assumption that buffer doesn't need sampler was also > temporarily introduced. > > Do I need to go

[Mesa-dev] [Bug 104988] Please do a mesa-demos/mesa-utils release. The last one was 2 years ago.

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104988 --- Comment #4 from Brian Paul --- (In reply to Andreas Boll from comment #1) > Sure, I can make a new release. Most likely tomorrow. Can you wait a bit? I've got a glxinfo/wglinfo patch... -- You are receiving this mail because: You are the

[Mesa-dev] [PATCH] glxinfo/wglinfo: query/print more GL limits

2018-02-07 Thread Brian Paul
Query/print limits for GL 3.0 through GL 4.6, plus GL_ARB_transform_feedback3. Also, print the GL extension or GL version for each set of queries to make it more readable. --- src/xdemos/glinfo_common.c | 127 - 1 file changed, 125 insertions(+), 2 dele

Re: [Mesa-dev] [PATCH] mesa: add glsl version query (v2)

2018-02-07 Thread Brian Paul
On 02/07/2018 03:01 AM, Vadym Shovkoplias wrote: Add support for GL_NUM_SHADING_LANGUAGE_VERSIONS and glGetStringi for GL_SHADING_LANGUAGE_VERSION v2: - Combine similar functionality into _mesa_get_shading_language_version() function. - Cahnge GLSL version return mechanism. "Change"

Re: [Mesa-dev] [PATCH 1/6] gallium/util: replace unsigned with tgsi enum types

2018-02-07 Thread Roland Scheidegger
Am 07.02.2018 um 06:30 schrieb Brian Paul: > --- > src/gallium/auxiliary/util/u_simple_shaders.c | 36 > ++- > src/gallium/auxiliary/util/u_simple_shaders.h | 29 ++--- > 2 files changed, 34 insertions(+), 31 deletions(-) > > diff --git a/src/gallium/auxil

Re: [Mesa-dev] [PATCH 6/6] tgsi: use tgsi_semantic enum type in ureg code

2018-02-07 Thread Roland Scheidegger
Looks alright to me. For the series: Reviewed-by: Roland Scheidegger Am 07.02.2018 um 06:30 schrieb Brian Paul: > --- > src/gallium/auxiliary/tgsi/tgsi_ureg.c | 24 > src/gallium/auxiliary/tgsi/tgsi_ureg.h | 22 +++--- > 2 files changed, 23 insertions(+),

[Mesa-dev] [PATCH V3 1/8] amd/common:add uvd hevc enc support check in hw query

2018-02-07 Thread James Zhu
Based on amdgpu hardware query information to check if UVD hevc enc support Signed-off-by: James Zhu --- src/amd/common/ac_gpu_info.c | 12 +++- src/amd/common/ac_gpu_info.h | 1 + 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/amd/common/ac_gpu_info.c b/src/amd/comm

Re: [Mesa-dev] [PATCH v2 6/8] radeon/uvd:add uvd hevc enc files in Makefile list

2018-02-07 Thread James Zhu
On 2018-02-07 09:48 AM, Christian König wrote: Am 07.02.2018 um 15:47 schrieb Leo Liu: On 02/06/2018 03:05 PM, James Zhu wrote: Signed-off-by: James Zhu ---   src/gallium/drivers/radeon/Makefile.sources | 3 +++   1 file changed, 3 insertions(+) diff --git a/src/gallium/drivers/radeon/Make

[Mesa-dev] [PATCH v3 6/8] radeon/uvd:add uvd hevc enc files in build list

2018-02-07 Thread James Zhu
add uvd hevc enc files in meson.build and Makefile.sources Signed-off-by: James Zhu --- src/gallium/drivers/radeon/Makefile.sources | 3 +++ src/gallium/drivers/radeon/meson.build | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/gallium/drivers/radeon/Makefile.sources b/src/gall

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

2018-02-07 Thread Scott D Phillips
"Rogovin, Kevin" writes: > HI Scott, > > I like the idea of making this a pre-loadable .so as it lets it get > reused for anything using the kernel interface using GEM's. However, > there are a few bits, that if addressed, would make this perfect IMO: > > 1. It needs a way of being able to l

Re: [Mesa-dev] [PATCH] glxinfo/wglinfo: query/print more GL limits

2018-02-07 Thread Eric Engestrom
On Wednesday, 2018-02-07 08:48:06 -0700, Brian Paul wrote: > Query/print limits for GL 3.0 through GL 4.6, plus > GL_ARB_transform_feedback3. Also, print the GL extension or GL version > for each set of queries to make it more readable. > --- > src/xdemos/glinfo_common.c | 127 >

Re: [Mesa-dev] [PATCH] glxinfo/wglinfo: query/print more GL limits

2018-02-07 Thread Brian Paul
On 02/07/2018 10:12 AM, Eric Engestrom wrote: On Wednesday, 2018-02-07 08:48:06 -0700, Brian Paul wrote: Query/print limits for GL 3.0 through GL 4.6, plus GL_ARB_transform_feedback3. Also, print the GL extension or GL version for each set of queries to make it more readable. --- src/xdemos/g

[Mesa-dev] [Bug 103142] R600g+sb: optimizer apparently stuck in an endless loop

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103142 Gert Wollny changed: What|Removed |Added QA Contact|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop.

Re: [Mesa-dev] [PATCH v3 20/24] anv/cmd_buffer: Rework aux tracking

2018-02-07 Thread Nanley Chery
On Tue, Feb 06, 2018 at 05:57:26PM -0800, Jason Ekstrand wrote: > On Tue, Feb 6, 2018 at 5:09 PM, Nanley Chery wrote: > > > On Mon, Feb 05, 2018 at 06:16:26PM -0800, Jason Ekstrand wrote: > > > This commit completely reworks aux tracking. This includes a number of > > > somewhat distinct changes

Re: [Mesa-dev] [PATCH] glxinfo/wglinfo: query/print more GL limits

2018-02-07 Thread Eric Engestrom
On Wednesday, 2018-02-07 10:23:06 -0700, Brian Paul wrote: > On 02/07/2018 10:12 AM, Eric Engestrom wrote: > > On Wednesday, 2018-02-07 08:48:06 -0700, Brian Paul wrote: > > > Query/print limits for GL 3.0 through GL 4.6, plus > > > GL_ARB_transform_feedback3. Also, print the GL extension or GL ve

[Mesa-dev] [Bug 105004] Mesa causes Unity3d Game Editor Crash

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105004 Bug ID: 105004 Summary: Mesa causes Unity3d Game Editor Crash Product: Mesa Version: 17.3 Hardware: Other OS: All Status: NEW Severity: normal

[Mesa-dev] [PATCH 1/2] ac: add ac_build_export_null() helper

2018-02-07 Thread Samuel Pitoiset
Imported from RadeonSI. Signed-off-by: Samuel Pitoiset --- src/amd/common/ac_llvm_build.c | 17 + src/amd/common/ac_llvm_build.h | 2 ++ src/gallium/drivers/radeonsi/si_shader.c | 21 + 3 files changed, 20 insertions(+), 20 deletions(-) d

[Mesa-dev] [PATCH 2/2] ac/nir: use ac_build_export_null()

2018-02-07 Thread Samuel Pitoiset
The number of enabled channels should be 0 when exporting null. Signed-off-by: Samuel Pitoiset --- src/amd/common/ac_nir_to_llvm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c index 72105c21e4..ca9d318c8d

Re: [Mesa-dev] [PATCH 1/2] ac: add ac_build_export_null() helper

2018-02-07 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Wed, Feb 7, 2018 at 7:09 PM, Samuel Pitoiset wrote: > Imported from RadeonSI. > > Signed-off-by: Samuel Pitoiset > --- > src/amd/common/ac_llvm_build.c | 17 + > src/amd/common/ac_llvm_build.h | 2 ++ > src/gallium/drivers

[Mesa-dev] [PATCH 4/7] radv: add support for 16bit buffer loads

2018-02-07 Thread Daniel Schürmann
Signed-off-by: Daniel Schürmann --- src/amd/common/ac_nir_to_llvm.c | 91 ++--- 1 file changed, 50 insertions(+), 41 deletions(-) diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c index 2b48e92949..d38a649074 100644 --- a/src/amd/c

[Mesa-dev] [PATCH 2/7] radv: add support for 16bit ssbo stores

2018-02-07 Thread Daniel Schürmann
Signed-off-by: Daniel Schürmann --- src/amd/common/ac_nir_to_llvm.c | 146 +++- 1 file changed, 85 insertions(+), 61 deletions(-) diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c index 827ba0b9c9..31f16d3acf 100644 --- a/src/amd/c

[Mesa-dev] [PATCH 3/7] radv: add support for 16bit UBO loads

2018-02-07 Thread Daniel Schürmann
Signed-off-by: Daniel Schürmann --- src/amd/common/ac_llvm_build.c | 25 + src/amd/common/ac_llvm_build.h | 8 src/amd/common/ac_nir_to_llvm.c | 14 -- 3 files changed, 45 insertions(+), 2 deletions(-) diff --git a/src/amd/common/ac_llvm_build.c b/

[Mesa-dev] [PATCH 5/7] nir: add 16bit type information to glsl types

2018-02-07 Thread Daniel Schürmann
Signed-off-by: Daniel Schürmann --- src/compiler/glsl_types.h | 15 +++ src/compiler/nir_types.cpp | 12 src/compiler/nir_types.h | 1 + 3 files changed, 28 insertions(+) diff --git a/src/compiler/glsl_types.h b/src/compiler/glsl_types.h index ab0b263764..0704510630

[Mesa-dev] [PATCH 7/7] radv: enable VK_KHR_16bit_storage extension

2018-02-07 Thread Daniel Schürmann
Signed-off-by: Daniel Schürmann --- src/amd/vulkan/radv_device.c | 9 + src/amd/vulkan/radv_extensions.py | 1 + src/amd/vulkan/radv_shader.c | 1 + 3 files changed, 11 insertions(+) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 9fda419d58..8317

[Mesa-dev] [PATCH 6/7] radv: add support for 16bit input/output

2018-02-07 Thread Daniel Schürmann
Signed-off-by: Daniel Schürmann --- src/amd/common/ac_nir_to_llvm.c | 92 - 1 file changed, 72 insertions(+), 20 deletions(-) diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c index d38a649074..842a846df1 100644 --- a/src/amd/c

[Mesa-dev] [PATCH 1/7] radv: add 16bit conversion operations

2018-02-07 Thread Daniel Schürmann
Signed-off-by: Daniel Schürmann --- src/amd/common/ac_llvm_build.c | 5 + src/amd/common/ac_nir_to_llvm.c | 25 ++--- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/src/amd/common/ac_llvm_build.c b/src/amd/common/ac_llvm_build.c index a86ba962fa..d0b288f

[Mesa-dev] [Bug 105004] Mesa causes Unity3d Game Editor Crash

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105004 Nicholas Miell changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Mesa-dev] [Bug 99781] Some Unity games fail assertion on startup in glXCreateContextAttribsARB

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99781 Nicholas Miell changed: What|Removed |Added CC||synapt...@gmail.com --- Comment #5 from

[Mesa-dev] [Bug 99781] Some Unity games fail assertion on startup in glXCreateContextAttribsARB

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99781 Tapani Pälli changed: What|Removed |Added CC||lem...@gmail.com -- You are receiving th

Re: [Mesa-dev] [PATCH 2/2] intel/compiler: Use null destination register for memory fence messages

2018-02-07 Thread Kenneth Graunke
On Tuesday, February 6, 2018 5:09:10 PM PST Anuj Phogat wrote: > From Message Descriptor section in gfxspecs: > "Memory fence messages without Commit Enable set do not return > anything to the thread (response length is 0 and destination > register is null)." > > It fixes a piglit GPU hang in

Re: [Mesa-dev] [PATCH] i965: Do null pointer check before dereferencing vue_prog_data

2018-02-07 Thread Kenneth Graunke
On Tuesday, February 6, 2018 4:38:00 PM PST Nanley Chery wrote: > On Mon, Feb 05, 2018 at 04:08:40PM -0800, Anuj Phogat wrote: > > Signed-off-by: Anuj Phogat > > --- > > src/mesa/drivers/dri/i965/genX_state_upload.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a

[Mesa-dev] [Bug 104983] current version, warning during make process in glsl

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104983 Matt Turner changed: What|Removed |Added Resolution|--- |NOTOURBUG Status|NEW

Re: [Mesa-dev] [PATCH v3 20/24] anv/cmd_buffer: Rework aux tracking

2018-02-07 Thread Jason Ekstrand
On Wed, Feb 7, 2018 at 9:59 AM, Nanley Chery wrote: > On Tue, Feb 06, 2018 at 05:57:26PM -0800, Jason Ekstrand wrote: > > On Tue, Feb 6, 2018 at 5:09 PM, Nanley Chery > wrote: > > > > > On Mon, Feb 05, 2018 at 06:16:26PM -0800, Jason Ekstrand wrote: > > > > This commit completely reworks aux tra

Re: [Mesa-dev] [PATCH] mesa: remove usage of alloca in externalobjects.c v3

2018-02-07 Thread Matt Turner
On Wed, Jan 31, 2018 at 11:03 AM, Andres Rodriguez wrote: > Don't want an overly large numBufferBarriers/numTextureBarriers to blow > up the stack. > > v2: handle malloc errors > v3: fix patch > > Suggested-by: Emil Velikov > Signed-off-by: Andres Rodriguez > --- > src/mesa/main/externalobjects

Re: [Mesa-dev] [PATCH] i965: Do null pointer check before dereferencing vue_prog_data

2018-02-07 Thread Nanley Chery
On Wed, Feb 07, 2018 at 11:22:01AM -0800, Kenneth Graunke wrote: > On Tuesday, February 6, 2018 4:38:00 PM PST Nanley Chery wrote: > > On Mon, Feb 05, 2018 at 04:08:40PM -0800, Anuj Phogat wrote: > > > Signed-off-by: Anuj Phogat > > > --- > > > src/mesa/drivers/dri/i965/genX_state_upload.c | 3 ++

[Mesa-dev] [PATCH] i965: Trim

2018-02-07 Thread Chris Wilson
textdata bss dec hex filename 8852169 388752 671064 9911985 973eb1 lib/i965_dri.so 8852017 388752 671064 9911833 973e19 --- src/mesa/drivers/dri/i965/intel_tiled_memcpy.c | 48 +- 1 file changed, 16 insertions(+), 32 deletions(-) diff --git a/src/m

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

2018-02-07 Thread Chris Wilson
From: Scott D Phillips 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 movntqda (_mm_stream_si128) in a su

[Mesa-dev] [PATCH] mesa: fix incorrect type when allocating arrays

2018-02-07 Thread Andres Rodriguez
The array members are have type 'struct gl_buffer_object *' Found by coverity. Signed-off-by: Andres Rodriguez --- I think this should fix the issue, if I'm interpreting the coverity message correctly. src/mesa/main/externalobjects.c | 8 1 file changed, 4 insertions(+), 4 deletions

Re: [Mesa-dev] [PATCH] mesa: fix incorrect type when allocating arrays

2018-02-07 Thread Matt Turner
On Wed, Feb 7, 2018 at 11:46 AM, Andres Rodriguez wrote: > The array members are have type 'struct gl_buffer_object *' > > Found by coverity. > > Signed-off-by: Andres Rodriguez > --- > > I think this should fix the issue, if I'm interpreting > the coverity message correctly. Yep, that matches m

Re: [Mesa-dev] [PATCH] mesa: fix incorrect type when allocating arrays

2018-02-07 Thread Andres Rodriguez
Pushed, thanks for the report. On 2018-02-07 02:47 PM, Matt Turner wrote: On Wed, Feb 7, 2018 at 11:46 AM, Andres Rodriguez wrote: The array members are have type 'struct gl_buffer_object *' Found by coverity. Signed-off-by: Andres Rodriguez --- I think this should fix the issue, if I'm i

Re: [Mesa-dev] [PATCH] i965: Do null pointer check before dereferencing vue_prog_data

2018-02-07 Thread Anuj Phogat
On Wed, Feb 7, 2018 at 11:22 AM, Kenneth Graunke wrote: > On Tuesday, February 6, 2018 4:38:00 PM PST Nanley Chery wrote: > > On Mon, Feb 05, 2018 at 04:08:40PM -0800, Anuj Phogat wrote: > > > Signed-off-by: Anuj Phogat > > > --- > > > src/mesa/drivers/dri/i965/genX_state_upload.c | 3 ++- > > >

Re: [Mesa-dev] [PATCH 2/2] intel/compiler: Use null destination register for memory fence messages

2018-02-07 Thread Anuj Phogat
On Wed, Feb 7, 2018 at 11:14 AM, Kenneth Graunke wrote: > On Tuesday, February 6, 2018 5:09:10 PM PST Anuj Phogat wrote: > > From Message Descriptor section in gfxspecs: > > "Memory fence messages without Commit Enable set do not return > > anything to the thread (response length is 0 and dest

Re: [Mesa-dev] [PATCH 2/2] intel/compiler: Use null destination register for memory fence messages

2018-02-07 Thread Francisco Jerez
Anuj Phogat writes: > On Wed, Feb 7, 2018 at 11:14 AM, Kenneth Graunke > wrote: > >> On Tuesday, February 6, 2018 5:09:10 PM PST Anuj Phogat wrote: >> > From Message Descriptor section in gfxspecs: >> > "Memory fence messages without Commit Enable set do not return >> > anything to the thread

Re: [Mesa-dev] [PATCH 1/2] intel/compiler: Memory fence commit must always be enabled for gen10+

2018-02-07 Thread Francisco Jerez
Anuj Phogat writes: > Commit bit in the message descriptor (Bit 13) must be always set > to true in CNL+ for memory fence messages. It also fixes a piglit > GPU hang on cnl+ in simulation environment. > Piglit test: arb_shader_image_load_store-shader-mem-barrier > See HSD ES # 1404612949 > > Sign

Re: [Mesa-dev] [PATCH 1/2] intel/compiler: Memory fence commit must always be enabled for gen10+

2018-02-07 Thread Anuj Phogat
On Wed, Feb 7, 2018 at 11:56 AM, Francisco Jerez wrote: > Anuj Phogat writes: > > > Commit bit in the message descriptor (Bit 13) must be always set > > to true in CNL+ for memory fence messages. It also fixes a piglit > > GPU hang on cnl+ in simulation environment. > > Piglit test: arb_shader_i

Re: [Mesa-dev] [PATCH 1/2] i965: perf: use drmIoctl() instead of ioctl()

2018-02-07 Thread Mark Janes
Tested-by: Mark Janes Lionel Landwerlin writes: > ioctl() might be interrupted, use drmIoctl() instead as it'll retry > automatically. > > Fixes: 27ee83eaf7e "i965: perf: add support for userspace configurations" > Cc: "18.0" > Signed-off-by: Lionel Landwerlin > --- > src/mesa/drivers/dri/i9

Re: [Mesa-dev] [PATCH 1/2] intel/compiler: Memory fence commit must always be enabled for gen10+

2018-02-07 Thread Francisco Jerez
Anuj Phogat writes: > On Wed, Feb 7, 2018 at 11:56 AM, Francisco Jerez > wrote: > >> Anuj Phogat writes: >> >> > Commit bit in the message descriptor (Bit 13) must be always set >> > to true in CNL+ for memory fence messages. It also fixes a piglit >> > GPU hang on cnl+ in simulation environmen

Re: [Mesa-dev] [PATCH 2/2] intel/compiler: Use null destination register for memory fence messages

2018-02-07 Thread Anuj Phogat
On Wed, Feb 7, 2018 at 11:55 AM, Francisco Jerez wrote: > Anuj Phogat writes: > > > On Wed, Feb 7, 2018 at 11:14 AM, Kenneth Graunke > > wrote: > > > >> On Tuesday, February 6, 2018 5:09:10 PM PST Anuj Phogat wrote: > >> > From Message Descriptor section in gfxspecs: > >> > "Memory fence messa

Re: [Mesa-dev] [PATCH 2/2] intel/compiler: Use null destination register for memory fence messages

2018-02-07 Thread Francisco Jerez
Anuj Phogat writes: > On Wed, Feb 7, 2018 at 11:55 AM, Francisco Jerez > wrote: > >> Anuj Phogat writes: >> >> > On Wed, Feb 7, 2018 at 11:14 AM, Kenneth Graunke >> > wrote: >> > >> >> On Tuesday, February 6, 2018 5:09:10 PM PST Anuj Phogat wrote: >> >> > From Message Descriptor section in gfx

Re: [Mesa-dev] [PATCH] i965: Trim

2018-02-07 Thread Matt Turner
On Wed, Feb 7, 2018 at 11:41 AM, Chris Wilson wrote: >textdata bss dec hex filename > 8852169 388752 671064 9911985 973eb1 lib/i965_dri.so > 8852017 388752 671064 9911833 973e19 > --- > src/mesa/drivers/dri/i965/intel_tiled_memcpy.c | 48 > +- >

Re: [Mesa-dev] [PATCH 11/11] r600/radeonsi/clover: always assume PIPE_SHADER_IR_NATIVE for clover

2018-02-07 Thread Francisco Jerez
Pierre Moreau writes: > On 2018-02-06 — 20:50, Jan Vesely wrote: > [snip] >> > > Happy to here suggestions for solving the current conflict in uses of >> > > PIPE_SHADER_CAP_PREFERRED_IR. >> > >> > One option could be to: >> > * look at the preferred IR >> > |-> if clover supports it, use it >

Re: [Mesa-dev] [PATCH] i965: Trim

2018-02-07 Thread Chris Wilson
Quoting Matt Turner (2018-02-07 20:42:15) > On Wed, Feb 7, 2018 at 11:41 AM, Chris Wilson > wrote: > >textdata bss dec hex filename > > 8852169 388752 671064 9911985 973eb1 lib/i965_dri.so > > 8852017 388752 671064 9911833 973e19 > > --- > > src/mesa/drivers/dri/i965/in

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

2018-02-07 Thread AppVeyor
Build mesa 6853 failed Commit 6f82b8d8d0 by Marek Olšák on 9/4/2017 8:36 PM: gallium: build ddebug, noop, rbug, trace as part of auxiliary\n\nBuilding gallium is faster by 7.5 seconds on a 4core/8thread 3GHz CPU.\n(gallium build time is reduced by 15% when buil

Re: [Mesa-dev] [PATCH 2/2] intel/compiler: Use null destination register for memory fence messages

2018-02-07 Thread Anuj Phogat
On Wed, Feb 7, 2018 at 12:24 PM, Francisco Jerez wrote: > Anuj Phogat writes: > > > On Wed, Feb 7, 2018 at 11:55 AM, Francisco Jerez > > wrote: > > > >> Anuj Phogat writes: > >> > >> > On Wed, Feb 7, 2018 at 11:14 AM, Kenneth Graunke < > kenn...@whitecape.org> > >> > wrote: > >> > > >> >> On T

Re: [Mesa-dev] [PATCH v3 20/24] anv/cmd_buffer: Rework aux tracking

2018-02-07 Thread Nanley Chery
On Wed, Feb 07, 2018 at 11:27:38AM -0800, Jason Ekstrand wrote: > On Wed, Feb 7, 2018 at 9:59 AM, Nanley Chery wrote: > > > On Tue, Feb 06, 2018 at 05:57:26PM -0800, Jason Ekstrand wrote: > > > On Tue, Feb 6, 2018 at 5:09 PM, Nanley Chery > > wrote: > > > > > > > On Mon, Feb 05, 2018 at 06:16:26

[Mesa-dev] [PATCH 2/2] st/mesa: remove out_num_textures from update_textures

2018-02-07 Thread Marek Olšák
From: Marek Olšák --- src/mesa/state_tracker/st_atom_texture.c | 32 1 file changed, 12 insertions(+), 20 deletions(-) diff --git a/src/mesa/state_tracker/st_atom_texture.c b/src/mesa/state_tracker/st_atom_texture.c index 105fa79..ce7755f 100644 --- a/src/mesa/

[Mesa-dev] [PATCH 1/2] st/mesa: don't store non-fragment sampler states and views in st_context

2018-02-07 Thread Marek Olšák
From: Marek Olšák those are unused. st_context: 10120 -> 3704 bytes --- src/mesa/state_tracker/st_atom_sampler.c | 35 +-- src/mesa/state_tracker/st_atom_texture.c | 56 +-- src/mesa/state_tracker/st_cb_bitmap.c | 8 ++--- src/mesa/state_tracke

Re: [Mesa-dev] [PATCH 5/5] st/mesa: generate blend state according to the number of enabled color buffers

2018-02-07 Thread Marek Olšák
Ping. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 2/2] st/mesa: remove out_num_textures from update_textures

2018-02-07 Thread Timothy Arceri
Series: Reviewed-by: Timothy Arceri ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] r600: fix rendering regression on r6/7 gpus

2018-02-07 Thread Dave Airlie
From: Dave Airlie Fixes: 2d5b5d267e (r600: work out target mask at framebuffer bind.) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104989 Signed-off-by: Dave Airlie --- src/gallium/drivers/r600/r600_state.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src

[Mesa-dev] [Bug 104989] [r600] [bisected] OpenGL applications can't render anything at all

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104989 --- Comment #2 from Dave Airlie --- https://patchwork.freedesktop.org/series/37853/ Should fix it, I tested on my rv770, sorry for breakage. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for

Re: [Mesa-dev] [PATCH v2 7/8] radeonsi:create uvd hevc enc entry

2018-02-07 Thread Boyuan Zhang
This patch is Reviewed-by: Boyuan Zhang On 2018-02-06 03:05 PM, James Zhu wrote: Add UVD hevc encode pipe video codec creation entry Signed-off-by: James Zhu --- src/gallium/drivers/radeonsi/si_uvd.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/

Re: [Mesa-dev] [PATCH v2 3/8] radeon/uvd:add uvd hevc enc hw interface header

2018-02-07 Thread Boyuan Zhang
Better to add it to Makefile.source and Meson in this patch. Other than this, this patch is Reviewed-by: Boyuan Zhang On 2018-02-06 03:05 PM, James Zhu wrote: Add hevc encode hardware interface for UVD Signed-off-by: James Zhu --- src/gallium/drivers/radeon/radeon_uvd_enc.h | 471 +++

Re: [Mesa-dev] [PATCH v2 4/8] radeon/uvd:add uvd hevc enc hw ib implementation

2018-02-07 Thread Boyuan Zhang
Better to add it to Makefile.source and Meson in this patch. Other than this, this patch is Reviewed-by: Boyuan Zhang On 2018-02-06 03:05 PM, James Zhu wrote: Implement required IBs for UVD HEVC encode. Signed-off-by: James Zhu --- src/gallium/drivers/radeon/radeon_uvd_enc_1_1.c | 1115 +

Re: [Mesa-dev] [PATCH v2 5/8] radeon/uvd:add uvd hevc enc functions

2018-02-07 Thread Boyuan Zhang
Better to add it to Makefile.source and Meson in this patch. Other than this, this patch is Reviewed-by: Boyuan Zhang On 2018-02-06 03:05 PM, James Zhu wrote: Implement UVD hevc encode functions Signed-off-by: James Zhu --- src/gallium/drivers/radeon/radeon_uvd_enc.c | 370 ++

Re: [Mesa-dev] [PATCH 2/2] intel/compiler: Use null destination register for memory fence messages

2018-02-07 Thread Kenneth Graunke
On Wednesday, February 7, 2018 1:21:53 PM PST Anuj Phogat wrote: > On Wed, Feb 7, 2018 at 12:24 PM, Francisco Jerez wrote: > > Anuj Phogat writes: > > > On Wed, Feb 7, 2018 at 11:55 AM, Francisco Jerez wrote: > > > > You can also just drop the patch, unless you want to change the > > > > front-end

Re: [Mesa-dev] [PATCH] r600: fix rendering regression on r6/7 gpus

2018-02-07 Thread Roland Scheidegger
Am 07.02.2018 um 23:25 schrieb Dave Airlie: > From: Dave Airlie > > Fixes: 2d5b5d267e (r600: work out target mask at framebuffer bind.) > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104989 > > Signed-off-by: Dave Airlie Looks alright to me. It's quite easy to miss changes to family-

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

2018-02-07 Thread AppVeyor
Build mesa 6854 completed Commit 09f49b9e50 by Roland Scheidegger on 2/7/2018 10:47 PM: Revert "gallium: build ddebug, noop, rbug, trace as part of auxiliary"\n\nThis reverts commit 6f82b8d8d0a986aac28e7bec47fc313fb950475c.\n\nThis broke scons build, and report

Re: [Mesa-dev] [PATCH 2/5] st/mesa: don't check for ARB_draw_buffers_blend in update_blend

2018-02-07 Thread Timothy Arceri
On 01/02/18 06:55, Marek Olšák wrote> From: Marek Olšák If the GL API is missing, different blend functions can't be set through GL. Looking at the commit that added this a476ca1fd1b4e7 the commit message is: "st/mesa: Use blend equation and function of first render target for all render

[Mesa-dev] [Bug 104983] current version, warning during make process in glsl

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104983 --- Comment #2 from Timothy Arceri --- FYI this is also fixed in recent versions of flex. -- You are receiving this mail because: You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@l

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

2018-02-07 Thread Mark Thompson
It is present from libva 2.1 (VAAPI 1.1.0 or higher). Signed-off-by: Mark Thompson Acked-by: Christian König --- Retested with up-to-date stuff, including unmodified git libva now. They have applied the version bump and it looks like 2.1 will actually be released soon (

Re: [Mesa-dev] [PATCH 2/5] st/mesa: don't check for ARB_draw_buffers_blend in update_blend

2018-02-07 Thread Roland Scheidegger
Am 07.02.2018 um 23:56 schrieb Timothy Arceri: > > On 01/02/18 06:55, Marek Olšák wrote> From: Marek Olšák > >> >> If the GL API is missing, different blend functions can't be set >> through GL. > > Looking at the commit that added this a476ca1fd1b4e7 the commit message is: > > "st/mesa: Use bl

[Mesa-dev] [PATCH 2/2] st/va: Make the vendor string more descriptive

2018-02-07 Thread Mark Thompson
Include the Mesa version and detail about the platform. Signed-off-by: Mark Thompson --- This gives: $ vainfo --display drm --device /dev/dri/renderD128 libva info: VA-API version 1.1.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/local/lib/dri/radeonsi_drv_video.so l

Re: [Mesa-dev] [PATCH v3 20/24] anv/cmd_buffer: Rework aux tracking

2018-02-07 Thread Nanley Chery
On Wed, Feb 07, 2018 at 03:02:12PM -0800, Jason Ekstrand wrote: > On Wed, Feb 7, 2018 at 1:39 PM, Nanley Chery wrote: > > > On Wed, Feb 07, 2018 at 11:27:38AM -0800, Jason Ekstrand wrote: > > > On Wed, Feb 7, 2018 at 9:59 AM, Nanley Chery > > wrote: > > > > > > > On Tue, Feb 06, 2018 at 05:57:26

Re: [Mesa-dev] [PATCH 00/14] anv: Rework subpass resolves and clears

2018-02-07 Thread Nanley Chery
On Mon, Feb 05, 2018 at 02:34:49PM -0800, Jason Ekstrand wrote: > This little series just shuffles code around to make things a bit more > clear. (At least I think it does!) The basic idea is to split set_subpass > into begin_subpass and end_subpass and then move all of resolve and clear > code i

Re: [Mesa-dev] [PATCH 2/5] st/mesa: don't check for ARB_draw_buffers_blend in update_blend

2018-02-07 Thread Marek Olšák
On Wed, Feb 7, 2018 at 11:56 PM, Timothy Arceri wrote: > > On 01/02/18 06:55, Marek Olšák wrote> From: Marek Olšák > >> >> >> If the GL API is missing, different blend functions can't be set >> through GL. > > > Looking at the commit that added this a476ca1fd1b4e7 the commit message is: > > "st/m

[Mesa-dev] [PATCH] r600/radeonsi/clover: use PIPE_SHADER_CAP_SUPPORTED_IRS with clover

2018-02-07 Thread Timothy Arceri
PIPE_SHADER_CAP_PREFERRED_IR was conlicting with PIPE_SHADER_IR_NIR for compute shaders, so we let clover pick the one it wants to use. This change indirectly enables NIR support for compute shaders on radeonsi. --- src/gallium/drivers/r600/r600_pipe.c | 6 +- src/gallium/driver

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

2018-02-07 Thread Scott D Phillips
Chris Wilson writes: > From: Scott D Phillips > > 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 m

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

2018-02-07 Thread Scott D Phillips
From: Kevin Rogovin Adds a new debug tool to pad each GEM BO allocated with (weak) pseudo-random noise values which are then checked after each batchbuffer dispatch to the kernel. This can be quite valuable to find diffucult to track down heisenberg style bugs. [scott.d.phill...@intel.com: split

Re: [Mesa-dev] [PATCH 2/3] android: anv: add dependency on libnativewindow for O and later

2018-02-07 Thread Mauro Rossi
> How about introducing ANV_LIBRARIES (near to ANV_INCLUDES) and setting > libdrm and libnativewindow there, then for each libanv just have the > $(ANV_LIBRARIES)? > > IMO this would make it cleaner to add new libs like we do here. In > Android-IA we've just had the libnativewindow include path (si

[Mesa-dev] [PATCH v2 2/3] ac: move get_elem_bits() to ac_llvm_build.c

2018-02-07 Thread Timothy Arceri
Reviewed-by: Marek Olšák --- src/amd/common/ac_llvm_build.c | 19 +++ src/amd/common/ac_llvm_build.h | 3 +++ src/amd/common/ac_nir_to_llvm.c | 34 -- 3 files changed, 30 insertions(+), 26 deletions(-) diff --git a/src/amd/common/ac_llvm_build.c

  1   2   >