Re: [Mesa-dev] [PATCH 01/14] i965: Set JumpCount, not JIP, on ENDIF on Gen 6.

2014-08-29 Thread Kenneth Graunke
On Thursday, August 28, 2014 08:10:31 PM Matt Turner wrote: > Despite what the Sandybridge PRM says, ENDIF has Jump Count in , > not JIP in . (The same mistake appears about WHILE as well). > --- > src/mesa/drivers/dri/i965/brw_eu_emit.c | 11 +++ > 1 file changed, 7 insertions(+), 4 delet

Re: [Mesa-dev] [PATCH] [RFC] mesa: propose simple EGL_MESA_image_dma_buf_export

2014-08-29 Thread Gwenole Beauchesne
Hi, 2014-03-03 4:58 GMT+01:00 Dave Airlie : > From: Dave Airlie > > At the moment to get an EGL image to a dma-buf file descriptor, > you have to use EGL_MESA_drm_image, and then use libdrm to > convert this to a file descriptor. > > This extension just provides an API modelled on EGL_MESA_drm_im

[Mesa-dev] [PATCH v2 2/2] glapi: add function pointers for KHR_debug for gles

2014-08-29 Thread Matthew Waters
Signed-off-by: Matthew Waters --- src/mapi/glapi/gen/KHR_debug.xml| 73 + src/mesa/main/extensions.c | 2 +- src/mesa/main/tests/dispatch_sanity.cpp | 25 +++ 3 files changed, 99 insertions(+), 1 deletion(-) diff --git a/src/mapi/glap

[Mesa-dev] [PATCH v2 1/2] egl: rework handling EGL_CONTEXT_FLAGS for ES debug contexts

2014-08-29 Thread Matthew Waters
As of version 15 of the EGL_KHR_create_context spec, debug contexts are allowed for ES contexts. We should allow creation instead of erroring. Signed-off-by: Matthew Waters --- src/egl/main/eglcontext.c | 50 ++ src/mesa/drivers/dri/common/dri_util.c

[Mesa-dev] [PATCH v2 0/2] add KHR_debug for gles contexts

2014-08-29 Thread Matthew Waters
v2: - replace &= with |= - remove offset="assign" from the api xml Matthew Waters (2): egl: rework handling EGL_CONTEXT_FLAGS for ES debug contexts glapi: add function pointers for KHR_debug for gles src/egl/main/eglcontext.c | 50 +++--- src/mapi/glapi/gen/KH

Re: [Mesa-dev] [PATCH] [RFC] mesa: propose simple EGL_MESA_image_dma_buf_export

2014-08-29 Thread Daniel Stone
Hi, On 29 August 2014 08:46, Gwenole Beauchesne wrote: > Could you please describe in there the ownership model? I think the > implementation should own the fd, so the clients should dup() it if > ever necessary. > So the fd can be destroyed at any time, particularly with threads? Meaning that

Re: [Mesa-dev] [PATCH 2/3] radeonsi: add sampling of 4:2:2 subsampled textures

2014-08-29 Thread Christian König
Am 29.08.2014 um 01:54 schrieb Grigori Goronzy: On 04.07.2014 01:24, Andy Furniss wrote: Maybe not 1/frame but anyway the first couple of a run have numbers rather than s [27977.386795] radeon :01:00.0: GPU fault detected: 146 0x0c035014 [27977.386800] radeon :01:00.0: VM_CONTEXT1

Re: [Mesa-dev] [PATCH] [RFC] mesa: propose simple EGL_MESA_image_dma_buf_export

2014-08-29 Thread Gwenole Beauchesne
Hi, 2014-08-29 10:05 GMT+02:00 Daniel Stone : > Hi, > > On 29 August 2014 08:46, Gwenole Beauchesne wrote: >> >> Could you please describe in there the ownership model? I think the >> implementation should own the fd, so the clients should dup() it if >> ever necessary. > > > So the fd can be des

[Mesa-dev] [PATCH] mesa/st: don't advertise NV_vdpau_interop if it doesn't work.

2014-08-29 Thread Christian König
From: Christian König As long as we don't have a workaround for field based decoding in VDPAu we should not advertise NV_vdpau_interop. Signed-off-by: Christian König Cc: mesa-sta...@lists.freedesktop.org --- src/mesa/state_tracker/st_extensions.c | 7 ++- 1 file changed, 6 insertions(+),

Re: [Mesa-dev] [PATCH 2/3] radeonsi: add sampling of 4:2:2 subsampled textures

2014-08-29 Thread Andy Furniss
Grigori Goronzy wrote: On 04.07.2014 01:24, Andy Furniss wrote: Maybe not 1/frame but anyway the first couple of a run have numbers rather than s [27977.386795] radeon :01:00.0: GPU fault detected: 146 0x0c035014 [27977.386800] radeon :01:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x00

Re: [Mesa-dev] [PATCH 1/3] gallivm: handle cube map arrays for texture sampling

2014-08-29 Thread Jose Fonseca
On 28/08/14 17:25, Roland Scheidegger wrote: Am 28.08.2014 18:19, schrieb Jose Fonseca: On 28/08/14 04:15, srol...@vmware.com wrote: From: Roland Scheidegger Pretty easy, just make sure that all paths testing for PIPE_TEXTURE_CUBE also recognize PIPE_TEXTURE_CUBE_ARRAY, and add the layer * 6

Re: [Mesa-dev] [PATCH 2/3] radeonsi: add sampling of 4:2:2 subsampled textures

2014-08-29 Thread Grigori Goronzy
On 29.08.2014 10:19, Christian König wrote: > > That sounds like something doesn't work correctly. > > The resources are created with the subsamled formats R8G8_R8B8 or > G8R8_B8R8, but since this can't be accessed by the CB we need to use > R8G8B8A8 as surface format for writing to them. > > If

Re: [Mesa-dev] [PATCH 2/3] radeonsi: add sampling of 4:2:2 subsampled textures

2014-08-29 Thread Grigori Goronzy
On 29.08.2014 12:31, Andy Furniss wrote: >> As for that 4:2:2 "doesn't work", AFAICT it absolutely does, but >> there is no linear interpolation for chroma, so quality isn't ideal. >> This seems to be a hardware restriction, unfortunately. > > Hmm, we may have to disagree on the definition of work

[Mesa-dev] [PATCH] main/get: make KHR_debug enums available everywhere

2014-08-29 Thread Matthew Waters
Although GL_CONTEXT_FLAGS is not explicitly added by KHR_debug, it contains, "It is implementation defined how much debug output is generated if the context was created without the CONTEXT_DEBUG_BIT set. This is a new query bit added to the existing GL_CONTEXT_FLAGS state to specify wh

Re: [Mesa-dev] [PATCH 0/3] Pixman for Mesa

2014-08-29 Thread Juha-Pekka Heikkila
On 28.08.2014 19:18, Jason Ekstrand wrote: > Juha-Pekka, > I'll try and look at the actual patches here next week. For now, a > couple quick comments. > > > On Thu, Aug 28, 2014 at 5:51 AM, Juha-Pekka Heikkila > mailto:juhapekka.heikk...@gmail.com>> wrote: > > Here is new version of my patc

Re: [Mesa-dev] [PATCH 1/2] egl: rework handling EGL_CONTEXT_FLAGS for ES debug contexts

2014-08-29 Thread Matthew Waters
On 24/08/14 03:36, Ian Romanick wrote: > On 08/21/2014 03:02 AM, Matthew Waters wrote: >> As of version 15 of the EGL_KHR_create_context spec, debug contexts >> are allowed for ES contexts. We should allow creation instead of >> erroring. >> >> Signed-off-by: Matthew Waters >> --- >> src/egl/mai

Re: [Mesa-dev] [PATCH 2/3] radeonsi: add sampling of 4:2:2 subsampled textures

2014-08-29 Thread Andy Furniss
Grigori Goronzy wrote: On 29.08.2014 12:31, Andy Furniss wrote: As for that 4:2:2 "doesn't work", AFAICT it absolutely does, but there is no linear interpolation for chroma, so quality isn't ideal. This seems to be a hardware restriction, unfortunately. Hmm, we may have to disagree on the defi

[Mesa-dev] [PATCH 2/2] st/hgl: Move st_visual create/destroy into hgl state_tracker

2014-08-29 Thread Alexander von Gluck IV
--- src/gallium/state_trackers/hgl/hgl.c | 103 +++- src/gallium/state_trackers/hgl/hgl_context.h |4 + .../targets/haiku-softpipe/GalliumContext.cpp | 102 +-- .../targets/haiku-softpipe/GalliumContext.h|2 - 4 files chang

[Mesa-dev] [PATCH 1/2] st/hgl: Move st_manager create/destroy into hgl state_tracker

2014-08-29 Thread Alexander von Gluck IV
--- src/gallium/state_trackers/hgl/hgl.c | 50 +++- src/gallium/state_trackers/hgl/hgl_context.h |5 ++ .../targets/haiku-softpipe/GalliumContext.cpp | 32 ++--- 3 files changed, 58 insertions(+), 29 deletions(-) diff --git a/src/gallium/st

Re: [Mesa-dev] [RFC PATCH 00/16] A new IR for Mesa

2014-08-29 Thread Greg Fischer
Some additional information on GlassyMesa from the engineer who integrated LunarGlass and wrote the LLVM Bottom IR to GLSL IR pass. [Begin Steve...] I wasn't subscribed to the mesa-dev list at the time of prior replies to this thread, so sending this to the list via Greg. Per request from Thomas

Re: [Mesa-dev] [RFC PATCH 00/16] A new IR for Mesa

2014-08-29 Thread Anca Emanuel
After all the messages, some think that llvm is the solution. And why is the Connor solution right ? This is an very hard problem and some people want the easiest way out. That is llvm. I think we need the Connor in house approach. I think we can have compiler experts, here. If no one want to say

[Mesa-dev] Clamp/saturate optimizations v4

2014-08-29 Thread Abdiel Janulgue
Hi, Latest rebase of the saturate and clamp optimizations. Changes since v3: - Inline generate_vec4_instruction before counting loops - In patch 17, add the check for can_do_saturate() as suggested by Ken. Patches 3-18 are already reviewed by Ian and Matt * no piglit regressions * ___

[Mesa-dev] [PATCH 14/18] i965/fs: Allow propagation of instructions with saturate flag to sel

2014-08-29 Thread Abdiel Janulgue
When sel conditon is bounded within 0 and 1.0. This allows code as: mov.sat a b sel.ge dst a 0.25F To be propagated as: sel.ge.sat dst b 0.25F v3: Syntax clarifications in inst->saturate assignment (Matt Turner) Reviewed-by: Matt Turner Signed-off-by: Abdiel Janulgue -

[Mesa-dev] [PATCH 02/18] i965/vec4/fs: Count loops in shader debug

2014-08-29 Thread Abdiel Janulgue
Signed-off-by: Abdiel Janulgue --- src/mesa/drivers/dri/i965/brw_fs_generator.cpp | 6 -- src/mesa/drivers/dri/i965/brw_vec4_generator.cpp | 6 -- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp b/src/mesa/drivers/dri/i965/b

[Mesa-dev] [PATCH 01/18] i965/vec4: inline generate_vec4_instruction() within generate_code()

2014-08-29 Thread Abdiel Janulgue
Suggested by Matt. This patch combines and moves back the code-generation functions from generate_vec4_instruction() into generate_code(). Makes generate_code() a bit larger, but helps us to count loops in a straightforward manner. Signed-off-by: Abdiel Janulgue --- src/mesa/drivers/dri/i965/brw

[Mesa-dev] [PATCH 03/18] glsl: Add ir_unop_saturate

2014-08-29 Thread Abdiel Janulgue
Signed-off-by: Abdiel Janulgue Reviewed-by: Matt Turner Reviewed-by: Ian Romanick --- src/glsl/ir.cpp | 2 ++ src/glsl/ir.h| 1 + src/glsl/ir_validate.cpp | 1 + 3 files changed, 4 insertions(+) diff --git a/src/glsl/ir.cpp b/src/glsl/ir.cpp index 4a4d304..ef04ed0 100644 -

[Mesa-dev] [PATCH 05/18] glsl: Add a pass to lower ir_unop_saturate to clamp(x, 0, 1)

2014-08-29 Thread Abdiel Janulgue
Signed-off-by: Abdiel Janulgue Reviewed-by: Matt Turner Reviewed-by: Ian Romanick --- src/glsl/ir_optimization.h | 1 + src/glsl/lower_instructions.cpp | 29 + 2 files changed, 30 insertions(+) diff --git a/src/glsl/ir_optimization.h b/src/glsl/ir_optimization

[Mesa-dev] [PATCH 13/18] glsl: Optimize clamp(x, b, 1.0), where b > 0.0 as max(saturate(x), b)

2014-08-29 Thread Abdiel Janulgue
v2: - Output max(saturate(x),b) instead of saturate(max(x,b)) - Make sure we do component-wise comparison for vectors (Ian Romanick) v3: - Add missing condition where the outer constant value is > 0.0 and inner constant is 1.0. - Fix comments to show that the optimization is a commuta

[Mesa-dev] [PATCH 07/18] ir_to_mesa, glsl_to_tgsi: Add support for ir_unop_saturate

2014-08-29 Thread Abdiel Janulgue
Reviewed-by: Matt Turner Reviewed-by: Ian Romanick Signed-off-by: Abdiel Janulgue --- src/mesa/program/ir_to_mesa.cpp| 6 ++ src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 6 ++ 2 files changed, 12 insertions(+) diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/

[Mesa-dev] [PATCH 10/18] glsl: Implement saturate as ir_unop_saturate

2014-08-29 Thread Abdiel Janulgue
Now that we have the ir_unop_saturate implemented as a single instruction, generate the correct simplified expression. Reviewed-by: Matt Turner Reviewed-by: Ian Romanick Signed-off-by: Abdiel Janulgue --- src/glsl/ir_builder.cpp | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff

[Mesa-dev] [PATCH 04/18] glsl: Add constant evaluation of ir_unop_saturate

2014-08-29 Thread Abdiel Janulgue
v2: Use CLAMP macro (Ian Romanick) Signed-off-by: Abdiel Janulgue Reviewed-by: Matt Turner Reviewed-by: Ian Romanick --- src/glsl/ir_constant_expression.cpp | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/glsl/ir_constant_expression.cpp b/src/glsl/ir_constant_expression.cpp inde

[Mesa-dev] [PATCH 15/18] i965/vec4: Allow propagation of instructions with saturate flag to sel

2014-08-29 Thread Abdiel Janulgue
When sel conditon is bounded within 0 and 1.0. This allows code as: mov.sat a b sel.ge dst a 0.25F To be propagated as: sel.ge.sat dst b 0.25F v3: - Syntax clarifications in inst->saturate assignment - Remove extra parenthesis when assigning src_reg value from c

[Mesa-dev] [PATCH 08/18] i965/fs: Add support for ir_unop_saturate

2014-08-29 Thread Abdiel Janulgue
Reviewed-by: Matt Turner Signed-off-by: Abdiel Janulgue --- src/mesa/drivers/dri/i965/brw_fs_channel_expressions.cpp | 1 + src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 4 2 files changed, 5 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_fs_channel_expressions.cpp

[Mesa-dev] [PATCH 18/18] i965/vec4: Remove try_emit_saturate

2014-08-29 Thread Abdiel Janulgue
Now that saturate is implemented natively as an instruction, we can cut down on unneeded functionality. Reviewed-by: Matt Turner Reviewed-by: Ian Romanick Signed-off-by: Abdiel Janulgue --- src/mesa/drivers/dri/i965/brw_vec4.h | 1 - src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp |

[Mesa-dev] [PATCH 17/18] i965/fs: Refactor try_emit_saturate

2014-08-29 Thread Abdiel Janulgue
v3: Since the fs backend can emit saturate as a separate instruction, there is no need to detect for min/max instructions and to rewrite the instruction tree accordingly. On the other hand, we don't need to emit a separate saturated mov either when the expression generating src can do

[Mesa-dev] [PATCH 12/18] glsl: Optimize clamp(x, 0.0, b), where b < 1.0 as min(saturate(x), b)

2014-08-29 Thread Abdiel Janulgue
v2: - Output min(saturate(x),b) instead of saturate(min(x,b)) suggested by Ilia Mirkin - Make sure we do component-wise comparison for vectors (Ian Romanick) v3: - Add missing condition where the outer constant value is zero and inner constant is < 1 - Fix comments to reflect we are

[Mesa-dev] [PATCH 16/18] ir_to_mesa, glsl_to_tgsi: Remove try_emit_saturate

2014-08-29 Thread Abdiel Janulgue
Now that saturate is implemented natively as instruction, we can cut down on unneeded functionality. Reviewed-by: Matt Turner Reviewed-by: Ian Romanick Signed-off-by: Abdiel Janulgue --- src/mesa/program/ir_to_mesa.cpp| 48 src/mesa/state_tracker/st_gls

[Mesa-dev] [PATCH 09/18] yi965/vec4: Add support for ir_unop_saturate

2014-08-29 Thread Abdiel Janulgue
Reviewed-by: Matt Turner Signed-off-by: Abdiel Janulgue --- src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 4 1 file changed, 4 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp index 6e48be7..61bd6ec 100644 --- a/

[Mesa-dev] [PATCH 06/18] ir_to_mesa, glsl_to_tgsi: lower ir_unop_saturate

2014-08-29 Thread Abdiel Janulgue
Needed when vertex programs doesn't allow saturate Reviewed-by: Matt Turner Reviewed-by: Ian Romanick Signed-off-by: Abdiel Janulgue --- src/mesa/program/ir_to_mesa.cpp| 5 - src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 6 +- 2 files changed, 9 insertions(+), 2 deletions(-)

[Mesa-dev] [PATCH 11/18] glsl: Optimize clamp(x, 0, 1) as saturate(x)

2014-08-29 Thread Abdiel Janulgue
v2: - Check that the base type is float (Ian Romanick) v3: - Make sure comments reflect that we are doing a commutative operation - Add missing condition where the inner constant is 1.0 and outer constant is 0.0 - Make indexing of operands easier to read (Matt Turner) Reviewed-by: Matt Tu

Re: [Mesa-dev] [RFC PATCH 00/16] A new IR for Mesa

2014-08-29 Thread Christian König
Maybe a heretical thought, but how close are you guys to shortcut the front end compiler with let's say the LLVM back end in radeonsi? Regards, Christian. Am 29.08.2014 um 17:51 schrieb Greg Fischer: Some additional information on GlassyMesa from the engineer who integrated LunarGlass and wrot

Re: [Mesa-dev] [RFC PATCH 00/16] A new IR for Mesa

2014-08-29 Thread Connor Abbott
On Thu, Aug 28, 2014 at 5:07 AM, Christian König wrote: >> At least with the other components on which Mesa relies (e.g., libdrm, >> 2D drivers, etc.) it's largely the same group of people with the same >> set of goals. > > > This was only true until Tom Stellard started to manage LLVM point relea

Re: [Mesa-dev] [PATCH 3/3] meta: Avoid shader recompilation for msaa color resolve blit

2014-08-29 Thread Jason Ekstrand
Other than the comment I made yesterday, this series looks good to me. --Jason Ekstrand On Thu, Aug 28, 2014 at 7:31 PM, Jason Ekstrand wrote: > Anuj, > A cursory reading on my phone says these patches should be OK. I'll give > it a more thorough look tomorrow when I have the full source in fr

Re: [Mesa-dev] [PATCH] mesa/st: don't advertise NV_vdpau_interop if it doesn't work.

2014-08-29 Thread Ilia Mirkin
On Fri, Aug 29, 2014 at 5:59 AM, Christian König wrote: > From: Christian König > > As long as we don't have a workaround for field based frame-based... field is the one that's supported. > decoding in VDPAu we should not advertise NV_vdpau_interop. VDPAU > > Signed-off-by: Christian König >

Re: [Mesa-dev] [PATCH 3/3] meta: Avoid shader recompilation for msaa color resolve blit

2014-08-29 Thread Anuj Phogat
On Fri, Aug 29, 2014 at 11:02 AM, Jason Ekstrand wrote: > Other than the comment I made yesterday, this series looks good to me. Thanks. I'll add your r-b. > --Jason Ekstrand > > > On Thu, Aug 28, 2014 at 7:31 PM, Jason Ekstrand > wrote: >> >> Anuj, >> A cursory reading on my phone says these pa

Re: [Mesa-dev] [PATCH 3/3] meta: Avoid shader recompilation for msaa color resolve blit

2014-08-29 Thread Jason Ekstrand
Also, if you could make sure that we don't end up with unused stuff in the blit structure that would be good to. --Jason On Fri, Aug 29, 2014 at 1:16 PM, Anuj Phogat wrote: > On Fri, Aug 29, 2014 at 11:02 AM, Jason Ekstrand > wrote: > > Other than the comment I made yesterday, this series look

Re: [Mesa-dev] [PATCH 3/3] meta: Avoid shader recompilation for msaa color resolve blit

2014-08-29 Thread Anuj Phogat
On Fri, Aug 29, 2014 at 1:21 PM, Jason Ekstrand wrote: > Also, if you could make sure that we don't end up with unused stuff in the > blit structure that would be good to. Yes. I'll do that. > --Jason > > > On Fri, Aug 29, 2014 at 1:16 PM, Anuj Phogat wrote: >> >> On Fri, Aug 29, 2014 at 11:02 A

Re: [Mesa-dev] Clamp/saturate optimizations v4

2014-08-29 Thread Matt Turner
On Fri, Aug 29, 2014 at 9:41 AM, Abdiel Janulgue wrote: > Hi, > > Latest rebase of the saturate and clamp optimizations. > > Changes since v3: > - Inline generate_vec4_instruction before counting loops > - In patch 17, add the check for can_do_saturate() as suggested by Ken. > > Patches 3-18 are a

Re: [Mesa-dev] [PATCH 01/18] i965/vec4: inline generate_vec4_instruction() within generate_code()

2014-08-29 Thread Matt Turner
Patches 1 and 2 are Reviewed-by: Matt Turner I think everything is ready to commit. Thanks Abdiel :) ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] TGSI and Tessellation Control Shader outputs

2014-08-29 Thread Ilia Mirkin
Hello, I've been thinking a bit about how to properly implement TCS outputs in TGSI. As a quick reminder, there are per-vertex (i.e. invocation) and per-patch outputs in TCS. And while you can only write to the current invocation's per-vertex outputs, you can read from any of them. (With barrier()

[Mesa-dev] [Bug 80011] [softpipe] tgsi/tgsi_exec.c:2023:exec_txf: Assertion `0' failed.

2014-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80011 --- Comment #1 from Roland Scheidegger --- Fixed by 032fe4ed233e5cc2c2da9f453087745ff4ee1277 -- You are receiving this mail because: You are the assignee for the bug. ___ mesa-dev mailing list mesa-de

[Mesa-dev] [Bug 80011] [softpipe] tgsi/tgsi_exec.c:2023:exec_txf: Assertion `0' failed.

2014-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80011 Roland Scheidegger changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 80012] [softpipe] draw/draw_gs.c:113:tgsi_fetch_gs_outputs: Assertion `!util_is_inf_or_nan(output[slot][0])' failed.

2014-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80012 Roland Scheidegger changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [PATCH 02/27] gallium: ship the non-automaked state-trackers & targets

2014-08-29 Thread Emil Velikov
Signed-off-by: Emil Velikov --- src/gallium/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/Makefile.am b/src/gallium/Makefile.am index e4ef003..fd205d7 100644 --- a/src/gallium/Makefile.am +++ b/src/gallium/Makefile.am @@ -177,6 +177,8 @@ endif ## EXTRA_DIST +=

[Mesa-dev] The long road to 'make dist' (gallium#2)

2014-08-29 Thread Emil Velikov
Hello list, Another boring yet important series, if we are to have properly working solution to package a mesa release tarball via 'make dist'. This series covers a few state-tracker files missed out previously, picks up all the gallium tests, tools and drivers. The following remain to be check

[Mesa-dev] [PATCH 04/27] st/clover: ship Doxyfile in the release tarball

2014-08-29 Thread Emil Velikov
Signed-off-by: Emil Velikov --- src/gallium/state_trackers/clover/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/state_trackers/clover/Makefile.am b/src/gallium/state_trackers/clover/Makefile.am index e1daafa..cb1e9c2 100644 --- a/src/gallium/state_trackers/clover/

[Mesa-dev] [PATCH 16/27] gallium/llvmpipe: ship all files in the tarball

2014-08-29 Thread Emil Velikov
- include all headers in Makefile.sources - sort the list(s) - bundle the scons buildscript v2: Don't double include the test sources. Signed-off-by: Emil Velikov --- src/gallium/drivers/llvmpipe/Makefile.am | 3 +++ src/gallium/drivers/llvmpipe/Makefile.sources | 35 ++

[Mesa-dev] [PATCH 09/27] gallium/tests: ship all the tests in the release tarball

2014-08-29 Thread Emil Velikov
Signed-off-by: Emil Velikov --- src/gallium/Makefile.am | 4 1 file changed, 4 insertions(+) diff --git a/src/gallium/Makefile.am b/src/gallium/Makefile.am index 304cb50..f6c06ed 100644 --- a/src/gallium/Makefile.am +++ b/src/gallium/Makefile.am @@ -192,3 +192,7 @@ SUBDIRS += \ test

[Mesa-dev] [PATCH 07/27] st/egl: include the remaining files in the tarball

2014-08-29 Thread Emil Velikov
A few files were missing, namely: - a few of the common headers - the android + gdi sources Signed-off-by: Emil Velikov --- src/gallium/state_trackers/egl/Makefile.am | 4 +++- src/gallium/state_trackers/egl/Makefile.sources | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff -

[Mesa-dev] [PATCH 11/27] gallium/freedreno: ship all files in the tarball

2014-08-29 Thread Emil Velikov
- include all headers in Makefile.sources - sort the list(s) - bundle the android build Cc: freedr...@lists.freedesktop.org Cc: Rob Clark Signed-off-by: Emil Velikov --- src/gallium/drivers/freedreno/Makefile.am | 2 + src/gallium/drivers/freedreno/Makefile.sources | 75 +++

[Mesa-dev] [PATCH 14/27] gallium/ilo: ship all files in the tarball

2014-08-29 Thread Emil Velikov
- include all headers in Makefile.sources - bundle the android buildscript Cc: Chia-I Wu Signed-off-by: Emil Velikov --- src/gallium/drivers/ilo/Makefile.am | 3 +++ src/gallium/drivers/ilo/Makefile.sources | 46 +++- 2 files changed, 48 insertions(+), 1 dele

[Mesa-dev] [PATCH 10/27] gallium/tools: pick up the tools for distribution

2014-08-29 Thread Emil Velikov
Signed-off-by: Emil Velikov --- src/gallium/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/Makefile.am b/src/gallium/Makefile.am index f6c06ed..4caf2e0 100644 --- a/src/gallium/Makefile.am +++ b/src/gallium/Makefile.am @@ -183,6 +183,9 @@ EXTRA_DIST += \ st

[Mesa-dev] [PATCH 03/27] gallium: ship state-tracker/README in the release tarball

2014-08-29 Thread Emil Velikov
Signed-off-by: Emil Velikov --- src/gallium/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/Makefile.am b/src/gallium/Makefile.am index fd205d7..304cb50 100644 --- a/src/gallium/Makefile.am +++ b/src/gallium/Makefile.am @@ -177,6 +177,7 @@ endif ## EXTRA_DIST += \

[Mesa-dev] [PATCH 08/27] st/vega: ship the final headers

2014-08-29 Thread Emil Velikov
Commit 60d772cd9d1(st/vega: add headers and SConscript in the tarball) meant to pick all the headers to be included in the release tarball yet it missed a few. Signed-off-by: Emil Velikov --- src/gallium/state_trackers/vega/Makefile.sources | 4 1 file changed, 4 insertions(+) diff --git a

[Mesa-dev] [PATCH 15/27] gallium/identity: ship all files in the tarball

2014-08-29 Thread Emil Velikov
- include all headers in Makefile.sources - sort the list(s) - bundle the scons buildscript Signed-off-by: Emil Velikov --- src/gallium/drivers/identity/Makefile.am | 2 ++ src/gallium/drivers/identity/Makefile.sources | 8 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff

[Mesa-dev] [PATCH 25/27] gallium/svga: ship all files in the tarball

2014-08-29 Thread Emil Velikov
- include all headers in Makefile.sources - sort the list(s) - bundle the android & scons buildscript - include the headers' README & svga_dump.py Signed-off-by: Emil Velikov --- src/gallium/drivers/svga/Makefile.am | 5 +++ src/gallium/drivers/svga/Makefile.sources | 69 ++

[Mesa-dev] [PATCH 06/27] st/glx/xlib: ship the SConscript in the release tarball

2014-08-29 Thread Emil Velikov
Signed-off-by: Emil Velikov --- src/gallium/state_trackers/glx/xlib/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/state_trackers/glx/xlib/Makefile.am b/src/gallium/state_trackers/glx/xlib/Makefile.am index 0b2520a..a7e6c0c 100644 --- a/src/gallium/state_trackers/g

[Mesa-dev] [PATCH 27/27] gallium/vc4: ship all files in the tarball

2014-08-29 Thread Emil Velikov
- include all headers in Makefile.sources Cc: Eric Anholt Signed-off-by: Emil Velikov --- src/gallium/drivers/vc4/Makefile.sources | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/vc4/Makefile.sources b/src/gallium/drivers/vc4/Makefile.sou

[Mesa-dev] [PATCH 01/27] winsys/intel: drop intel_winsys.h from makefile.sources

2014-08-29 Thread Emil Velikov
With the last revisions of commit 664c2d76947(gallium/ilo: cleanup intel_winsys.h) we moved the header from winsys to drivers, but we forgot to update the makefile.sources to reflect this. Cc: Chia-I Wu Signed-off-by: Emil Velikov --- src/gallium/winsys/intel/drm/Makefile.sources | 3 +-- 1 fil

[Mesa-dev] [PATCH 05/27] st/dri: ship the scons buildscript in the release tarball

2014-08-29 Thread Emil Velikov
Signed-off-by: Emil Velikov --- src/gallium/state_trackers/dri/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/state_trackers/dri/Makefile.am b/src/gallium/state_trackers/dri/Makefile.am index aa196eb..5d701f7 100644 --- a/src/gallium/state_trackers/dri/Makefile.am

[Mesa-dev] [PATCH 13/27] gallium/i915: ship all files in the tarball

2014-08-29 Thread Emil Velikov
- include all headers in Makefile.sources - sort the list(s) - bundle the android buildscript & TODO Cc: Stephane Marchesin Signed-off-by: Emil Velikov --- src/gallium/drivers/i915/Makefile.am | 2 ++ src/gallium/drivers/i915/Makefile.sources | 44 +-- 2 fil

[Mesa-dev] [PATCH 17/27] gallium/noop: ship all files in the tarball

2014-08-29 Thread Emil Velikov
- include all headers in Makefile.sources - bundle the scons buildscript Signed-off-by: Emil Velikov --- src/gallium/drivers/noop/Makefile.am | 2 ++ src/gallium/drivers/noop/Makefile.sources | 1 + 2 files changed, 3 insertions(+) diff --git a/src/gallium/drivers/noop/Makefile.am b/src

[Mesa-dev] [PATCH 18/27] gallium/nouveau: ship all files in the tarball

2014-08-29 Thread Emil Velikov
- include all headers in Makefile.sources - sort the list(s) - bundle the android buildscript v2: Don't double-include the compiler sources. Signed-off-by: Emil Velikov --- src/gallium/drivers/nouveau/Makefile.am | 2 + src/gallium/drivers/nouveau/Makefile.sources | 147 ++

[Mesa-dev] [PATCH 21/27] gallium/radeon: ship all files in the tarball

2014-08-29 Thread Emil Velikov
- include all headers in Makefile.sources - sort the list(s) - bundle the android buildscript & LLVM note Signed-off-by: Emil Velikov --- src/gallium/drivers/radeon/Makefile.am | 3 +++ src/gallium/drivers/radeon/Makefile.sources | 24 +--- 2 files changed, 20 insert

[Mesa-dev] [PATCH 22/27] gallium/radeonsi: ship all files in the tarball

2014-08-29 Thread Emil Velikov
- include all headers in Makefile.sources - bundle the android buildscript Signed-off-by: Emil Velikov --- src/gallium/drivers/radeonsi/Makefile.am | 2 ++ src/gallium/drivers/radeonsi/Makefile.sources | 6 ++ 2 files changed, 8 insertions(+) diff --git a/src/gallium/drivers/radeonsi

[Mesa-dev] [PATCH 24/27] gallium/softpipe: ship all files in the tarball

2014-08-29 Thread Emil Velikov
- include all headers in Makefile.sources - sort the list(s) - bundle the android & scons buildscript Signed-off-by: Emil Velikov --- src/gallium/drivers/softpipe/Makefile.am | 2 ++ src/gallium/drivers/softpipe/Makefile.sources | 40 --- 2 files changed, 32 inse

[Mesa-dev] [PATCH 26/27] gallium/trace: ship all files in the tarball

2014-08-29 Thread Emil Velikov
- include all headers in Makefile.sources - bundle the scons buildscript, README and trace.xsl Signed-off-by: Emil Velikov --- src/gallium/drivers/trace/Makefile.am | 4 src/gallium/drivers/trace/Makefile.sources | 9 - 2 files changed, 12 insertions(+), 1 deletion(-) diff -

[Mesa-dev] [PATCH 20/27] gallium/r600: ship all files in the tarball

2014-08-29 Thread Emil Velikov
- include all headers in Makefile.sources - sort the list(s) - bundle the android buildscript & custom include Signed-off-by: Emil Velikov --- src/gallium/drivers/r600/Makefile.am | 4 src/gallium/drivers/r600/Makefile.sources | 40 --- 2 files changed,

[Mesa-dev] [PATCH 19/27] gallium/r300: ship all files in the tarball

2014-08-29 Thread Emil Velikov
- include all headers in Makefile.sources - sort the list(s) - bundle the android buildscript & the tests Signed-off-by: Emil Velikov --- src/gallium/drivers/r300/Makefile.am | 4 ++ src/gallium/drivers/r300/Makefile.sources | 93 ++- 2 files changed, 72 inse

[Mesa-dev] [PATCH 12/27] gallium/galahad: ship all files in the tarball

2014-08-29 Thread Emil Velikov
- include all headers in Makefile.sources - sort the list(s) - bundle the scons buildscript Signed-off-by: Emil Velikov --- src/gallium/drivers/galahad/Makefile.am | 2 ++ src/gallium/drivers/galahad/Makefile.sources | 8 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --

[Mesa-dev] [PATCH 23/27] gallium/rbug: ship all files in the tarball

2014-08-29 Thread Emil Velikov
- include all headers in Makefile.sources - sort the list(s) - bundle the android buildscript & README Signed-off-by: Emil Velikov --- src/gallium/drivers/rbug/Makefile.am | 2 ++ src/gallium/drivers/rbug/Makefile.sources | 8 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) di

[Mesa-dev] [Bug 76188] EGL_EXT_image_dma_buf_import fd ownership is incorrect

2014-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76188 Chad Versace changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #10 from Chad Versac

Re: [Mesa-dev] [PATCH 01/27] winsys/intel: drop intel_winsys.h from makefile.sources

2014-08-29 Thread Chia-I Wu
On Sat, Aug 30, 2014 at 7:44 AM, Emil Velikov wrote: > With the last revisions of commit 664c2d76947(gallium/ilo: cleanup > intel_winsys.h) we moved the header from winsys to drivers, but we > forgot to update the makefile.sources to reflect this. This and patch 14 looks good to me. Thanks. > > C

Re: [Mesa-dev] [PATCH 07/27] st/egl: include the remaining files in the tarball

2014-08-29 Thread Matt Turner
On Fri, Aug 29, 2014 at 4:45 PM, Emil Velikov wrote: > A few files were missing, namely: > - a few of the common headers > - the android + gdi sources > > Signed-off-by: Emil Velikov > --- > src/gallium/state_trackers/egl/Makefile.am | 4 +++- > src/gallium/state_trackers/egl/Makefile.sou

Re: [Mesa-dev] [PATCH 10/27] gallium/tools: pick up the tools for distribution

2014-08-29 Thread Matt Turner
On Fri, Aug 29, 2014 at 4:45 PM, Emil Velikov wrote: > Signed-off-by: Emil Velikov > --- > src/gallium/Makefile.am | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/src/gallium/Makefile.am b/src/gallium/Makefile.am > index f6c06ed..4caf2e0 100644 > --- a/src/gallium/Makefile.am > +++ b

Re: [Mesa-dev] The long road to 'make dist' (gallium#2)

2014-08-29 Thread Matt Turner
On Fri, Aug 29, 2014 at 4:44 PM, Emil Velikov wrote: > Hello list, > > Another boring yet important series, if we are to have properly working > solution to package a mesa release tarball via 'make dist'. > > This series covers a few state-tracker files missed out previously, > picks up all the ga

[Mesa-dev] [Bug 83195] destroy GL context on stall recovery

2014-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=83195 Kenneth Graunke changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #1 from Kenneth G

[Mesa-dev] [PATCH 2/4] i965: Issue performance warnings on MapBufferRange stalls.

2014-08-29 Thread Kenneth Graunke
This is easy: we just need to use brw_map_bo instead of mapping it directly. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/intel_buffer_objects.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/mesa/drivers/dri/i965/intel_buffer_objects.c b/src/mesa

[Mesa-dev] [PATCH 4/4] i965: Use unsynchronized maps for the program cache on LLC platforms.

2014-08-29 Thread Kenneth Graunke
There's no reason to stall on pwrite - the CPU always appends to the buffer and never modifies existing contents, and the GPU never writes it. Further, the CPU always appends new data before submitting a batch that requires it. This code predates the unsynchronized mapping feature, so we simply d

[Mesa-dev] [PATCH 3/4] i965: Issue performance warnings for program cache related stalls.

2014-08-29 Thread Kenneth Graunke
We don't really want extra buffer copying or stalls when mapping, so it'd be nice to know when it's happening. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_state_cache.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_

[Mesa-dev] [PATCH 1/4] i965: Fix GPU hangs when INTEL_DEBUG=no16 is set.

2014-08-29 Thread Kenneth Graunke
The replicated data clear shader needs to be SIMD16, or else the GPU will hang. So, compile it even if INTEL_DEBUG=no16 is set. Signed-off-by: Kenneth Graunke Cc: Kristian Høgsberg --- src/mesa/drivers/dri/i965/brw_fs.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sr

[Mesa-dev] [Bug 83195] destroy GL context on stall recovery

2014-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=83195 --- Comment #2 from Stanisław Halik --- CP/CS stall, recovery after several seconds, in dmesg. If GPU hangs, recovery, GLX process causing it runs as previous, it'll repeat the stall. -- You are receiving this mail because: You are the assigne

[Mesa-dev] [PATCH] i965: Add 2x MSAA support to Broadwell fast clear code.

2014-08-29 Thread Kenneth Graunke
According to the cited documentation section (but in the newer docs), x_scaledown is the same for 2x and 4x MSAA. +47 piglits. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83081 Signed-off-by: Kenneth Graunke Cc: "10.3" Cc: Kristian Høgsberg --- src/mesa/drivers/dri/i965/brw_meta_fa