Re: [Mesa-dev] [PATCH v3 4/4] st/omx: add headless support

2015-11-09 Thread Emil Velikov
; +goto error; > + omx_screen = vl_drm_screen_create(drm_fd); > + if (!omx_screen) { > +close(drm_fd); > +goto error; > + } > + } else { > + omx_screen = vl_screen_create(omx_display, 0); > + if (!omx_s

Re: [Mesa-dev] [PATCH 1/7] radeonsi: initialize SX_PS_DOWNCONVERT to 0 on Stoney

2015-11-09 Thread Emil Velikov
tag. Can we get a rough list of fixes for stable, alternatively should we just revert the Stoney patches from stable ? Thanks Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] st/omx: straighten get/put_screen

2015-11-09 Thread Emil Velikov
: Emil Velikov --- Leo, feel free to point out if I'm loosing the plot and some of these don't hold true. -Emil src/gallium/state_trackers/omx/entrypoint.c | 35 - 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/src/gallium/state_tr

[Mesa-dev] [PATCH 09/13] st/xvmc: use the vl_screen dispatch

2015-11-09 Thread Emil Velikov
Signed-off-by: Emil Velikov --- src/gallium/state_trackers/xvmc/context.c | 10 +- src/gallium/state_trackers/xvmc/surface.c | 13 ++--- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/src/gallium/state_trackers/xvmc/context.c b/src/gallium/state_trackers/xvmc

[Mesa-dev] [PATCH 00/13] auxiliary/vl: winsys' galore

2015-11-09 Thread Emil Velikov
' at https://github.com/evelikov/mesa Comments, suggestions and bikeshed wars are welcome. Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH 05/13] auxiliary/vl/drm: use a label for the error path

2015-11-09 Thread Emil Velikov
... just like every other place in gallium. Signed-off-by: Emil Velikov --- src/gallium/auxiliary/vl/vl_winsys_drm.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/gallium/auxiliary/vl/vl_winsys_drm.c b/src/gallium/auxiliary/vl/vl_winsys_drm.c index

[Mesa-dev] [PATCH 01/13] st/va: trivial cleanup

2015-11-09 Thread Emil Velikov
Drop the temporary variable and fold the two conditional. Signed-off-by: Emil Velikov --- src/gallium/state_trackers/va/context.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/gallium/state_trackers/va/context.c b/src/gallium/state_trackers/va/context.c

[Mesa-dev] [PATCH 13/13] auxiliary/vl/dri2: coding style fixes

2015-11-09 Thread Emil Velikov
Rewrap long(ish) lines, add space between struct foo and *. Trivial or bikeshedding you decide. Signed-off-by: Emil Velikov --- src/gallium/auxiliary/vl/vl_winsys.h | 2 +- src/gallium/auxiliary/vl/vl_winsys_dri.c | 54 +++- 2 files changed, 34 insertions

[Mesa-dev] [PATCH 07/13] st/omx: use the vl_screen dispatch

2015-11-09 Thread Emil Velikov
Signed-off-by: Emil Velikov --- src/gallium/state_trackers/omx/entrypoint.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/gallium/state_trackers/omx/entrypoint.c b/src/gallium/state_trackers/omx/entrypoint.c index d369cec..883a2a1 100644 --- a/src/gallium

[Mesa-dev] [PATCH 06/13] auxiliary/vl/dri2: setup the dispatch

2015-11-09 Thread Emil Velikov
Signed-off-by: Emil Velikov --- This commit might cause some build warnings, all of which are handled with the next commit(s). -Emil src/gallium/auxiliary/vl/vl_winsys.h | 4 ++-- src/gallium/auxiliary/vl/vl_winsys_dri.c | 19 +-- 2 files changed, 15 insertions(+), 8

[Mesa-dev] [PATCH 04/13] auxiliary/vl/drm: setup the dispatch

2015-11-09 Thread Emil Velikov
Signed-off-by: Emil Velikov --- src/gallium/auxiliary/vl/vl_winsys_drm.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/gallium/auxiliary/vl/vl_winsys_drm.c b/src/gallium/auxiliary/vl/vl_winsys_drm.c index 1167fcf..2ebf20c 100644 --- a/src/gallium/auxiliary/vl/vl_winsys_drm.c

[Mesa-dev] [PATCH 10/13] st/vdpau: use the vl_screen dispatch

2015-11-09 Thread Emil Velikov
Signed-off-by: Emil Velikov --- src/gallium/state_trackers/vdpau/device.c | 4 ++-- src/gallium/state_trackers/vdpau/presentation.c | 18 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/gallium/state_trackers/vdpau/device.c b/src/gallium

[Mesa-dev] [PATCH 11/13] auxiliary/vl/drm: hide internal functions

2015-11-09 Thread Emil Velikov
As of last commit everyone is using the vl_screen dispatch, thus we can hide this function from the headers and make it static. Signed-off-by: Emil Velikov --- src/gallium/auxiliary/vl/vl_winsys.h | 3 --- src/gallium/auxiliary/vl/vl_winsys_drm.c | 7 +-- 2 files changed, 5 insertions

[Mesa-dev] [PATCH 08/13] st/va: use the vl_screen dispatch

2015-11-09 Thread Emil Velikov
Signed-off-by: Emil Velikov --- src/gallium/state_trackers/va/context.c | 10 ++ src/gallium/state_trackers/va/picture.c | 2 +- src/gallium/state_trackers/va/surface.c | 13 ++--- 3 files changed, 9 insertions(+), 16 deletions(-) diff --git a/src/gallium/state_trackers/va

[Mesa-dev] [PATCH 03/13] auxiliary/vl: add dispatch table

2015-11-09 Thread Emil Velikov
As mentioned previously, it will allow us to use different vl backend in a generic way from either video state-tracker. Signed-off-by: Emil Velikov --- src/gallium/auxiliary/vl/vl_winsys.h | 17 + 1 file changed, 17 insertions(+) diff --git a/src/gallium/auxiliary/vl

[Mesa-dev] [PATCH 02/13] auxiliary/vl: rename vl_screen_create to vl_dri2_screen_create

2015-11-09 Thread Emil Velikov
ff-by: Emil Velikov --- src/gallium/auxiliary/vl/vl_winsys.h| 6 +++--- src/gallium/auxiliary/vl/vl_winsys_dri.c| 2 +- src/gallium/state_trackers/omx/entrypoint.c | 2 +- src/gallium/state_trackers/va/context.c | 2 +- src/gallium/state_trackers/vdpau/device.c | 2 +- src/ga

[Mesa-dev] [PATCH 12/13] auxiliary/vl/dri2: hide internal functions

2015-11-09 Thread Emil Velikov
Analogous to previous commit. While we're here prefix all functions identically -> vl_dri2_foo Signed-off-by: Emil Velikov --- src/gallium/auxiliary/vl/vl_winsys.h | 17 --- src/gallium/auxiliary/vl/vl_winsys_dri.c | 37 +--- 2 files cha

Re: [Mesa-dev] [RFC PATCH 00/40] Rework/consolidate the pipe-loader business

2015-11-09 Thread Emil Velikov
On 30 October 2015 at 17:57, Emil Velikov wrote: > On 19 October 2015 at 18:41, Emil Velikov wrote: >> On 19 October 2015 at 17:07, Brian Paul wrote: > >>> >>> I'm not too familiar with this code or these changes but I'm wondering how >>> mu

Re: [Mesa-dev] [PATCH] st/omx: straighten get/put_screen

2015-11-09 Thread Emil Velikov
On 9 November 2015 at 15:22, Liu, Leo wrote: >>-Original Message- >>From: Emil Velikov [mailto:emil.l.veli...@gmail.com] >>Sent: Monday, November 09, 2015 8:17 AM >>To: mesa-dev@lists.freedesktop.org >>Cc: emil.l.veli...@gmail.com; Liu, Leo >>Sub

[Mesa-dev] [PATCH v2] st/omx: straighten get/put_screen

2015-11-10 Thread Emil Velikov
tring" check (Leo) Cc: Leo Liu Signed-off-by: Emil Velikov --- Sending with the comment addressed for posterity. Barring any objections, I'll pick the r-b tag, from earlier, and commit within by end of the week. -Emil src/gallium/state_trackers/omx/en

Re: [Mesa-dev] [PATCH V2 01/12] glsl: simplify interface block stream qualifier validation

2015-11-10 Thread Emil Velikov
On 8 November 2015 at 22:34, Timothy Arceri wrote: > From: Timothy Arceri > > Qualifiers on member variables are redundent all we need to do > if check if it matches the stream associated with the block and > throw an error if its not. > > Cc: Samuel Iglesias Gonsalve

Re: [Mesa-dev] [PATCH V2 02/12] mesa: add ARB_enhanced_layouts

2015-11-10 Thread Emil Velikov
s should be guarded by a conditional. Not a big deal though if you keep it as is - either way: Reviewed-by: Emil Velikov -Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH V2 03/12] glsl: add helper to check for enhanced layouts support

2015-11-10 Thread Emil Velikov
eturn ARB_enhanced_layouts_enable || is_version(440, 0); > + } > + > bool has_explicit_attrib_stream() const > { >return ARB_gpu_shader5_enable || is_version(400, 0); > -- Reviewed-by: Emil Velikov Emil

Re: [Mesa-dev] [PATCH V2 04/12] glsl: add layout qualifier validation to the ast for vars

2015-11-10 Thread Emil Velikov
a time. As is one has to jump back and forth between patches to double-check that the hunks added here match the ones in later patch(es). If others disagree and like the approach, feel free to ignore my picking. Emil ___ mesa-dev mailing list

Re: [Mesa-dev] [PATCH V2 05/12] glsl: add layout qualifier validation for the shader outside the parser

2015-11-10 Thread Emil Velikov
block->layout.flags.q.stream = 1; >block->layout.flags.q.explicit_stream = 0; > @@ -1615,7 +1623,7 @@ void ast_subroutine_list::print(void) const > > static void > set_shader_inout_layout(struct gl_shader *shader, > -struct _mesa_glsl_parse_

Re: [Mesa-dev] [PATCH V2 06/12] glsl: remove layout qualifier validation from the parser

2015-11-10 Thread Emil Velikov
gree with my suggestions feel free to add Reviewed-by: Emil Velikov -Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH V2 08/12] glsl: add process_qualifier_constant() helper

2015-11-10 Thread Emil Velikov
so I'm struggling to see the function declaration - perhaps we should just annotate it as static ? Thanks Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH V2 07/12] glsl: add new type from compile time constants

2015-11-10 Thread Emil Velikov
const_expression->get_location(); > + _mesa_glsl_error(&loc, state, "%s must be an integral constant " > + "expression", qual_indentifier); > + return false; Based on your earlier comment - "parse and print as much i

Re: [Mesa-dev] [PATCH V2 10/12] glsl: add support for complie-time constant expressions

2015-11-10 Thread Emil Velikov
Hi Tim, Mostly trivial suggestions, and one bug caught :-) On 8 November 2015 at 22:34, Timothy Arceri wrote: > From: Timothy Arceri > > This patch replaces the old interger constant qualifiers with either typo "integer" > the new ast_layout_expression type if the qualifier requires merging > o

Re: [Mesa-dev] [PATCH V2 08/12] glsl: add process_qualifier_constant() helper

2015-11-10 Thread Emil Velikov
s, minimum_value is always 0 (same goes for the process_qualifier_constant in previous patch). Perhaps just drop the argument ? Obviously can be done on top of the series as resolving the conflicts might be a bit painful. -Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH V2 11/12] glsl: add subroutine index qualifier support

2015-11-10 Thread Emil Velikov
ubroutine index (%d) index must " > +"be a number between 0 and " > +"GL_MAX_SUBROUTINES - 1 (%d)", qual_index, > +MAX_SUBROUTINES - 1); Nitpick: flesh the above into a separate validate() function -Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] nouveau: fix double free when screen_create fails

2015-11-10 Thread Emil Velikov
Hi Samuel, Sorry about this I thought I already replied :-\ On 29 October 2015 at 22:22, Samuel Pitoiset wrote: > On 10/27/2015 02:01 PM, samuel.pitoiset wrote: >> On 27/10/2015 12:52, Emil Velikov wrote: >>> >>> On 27 October 2015 at 10:50, samuel.pitoiset >>

[Mesa-dev] Mesa 11.0.5

2015-11-11 Thread Emil Velikov
been updated. Alex Deucher (1): radeon/uvd: don't expose HEVC on old UVD hw (v3) Ben Widawsky (1): i965/skl: Add GT4 PCI IDs Emil Velikov (5): docs: add sha256 checksums for 11.0.4 cherry-ignore: ignore a possible wrong nomination Revert "mesa/glformats:

Re: [Mesa-dev] Can't get OpenGL 3.x inside VMware Workstation 12 (Ubuntu guest)

2015-11-11 Thread Emil Velikov
r distro and add svga to the gallium-drivers array" style of instructions ? I'm not volunteering or suggesting that one has to rewrite them, mostly curious. Can you please sync the changes between mesa3d.org and the git repo. Assuming only vmware-guest.html differs yet I've haven't checked the rest bth. Thanks Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] Can't get OpenGL 3.x inside VMware Workstation 12 (Ubuntu guest)

2015-11-11 Thread Emil Velikov
On 11 November 2015 at 16:48, Brian Paul wrote: > On 11/11/2015 08:44 AM, Emil Velikov wrote: >> >> I have seen similar type of documents in the past, most of which going >> out of date very quickly due to distribution changes and/or others. >> Wondering how you'

Re: [Mesa-dev] Can't get OpenGL 3.x inside VMware Workstation 12 (Ubuntu guest)

2015-11-11 Thread Emil Velikov
On 11 November 2015 at 18:25, Thomas Hellstrom wrote: > On 11/11/2015 07:07 PM, Brian Paul wrote: >> On 11/11/2015 10:44 AM, Emil Velikov wrote: >>> On 11 November 2015 at 16:48, Brian Paul wrote: >>>> On 11/11/2015 08:44 AM, Emil Velikov wrote: >>>

Re: [Mesa-dev] Can't get OpenGL 3.x inside VMware Workstation 12 (Ubuntu guest)

2015-11-11 Thread Emil Velikov
On 11 November 2015 at 19:51, Brian Paul wrote: > On 11/11/2015 11:38 AM, Emil Velikov wrote: >> >> On 11 November 2015 at 18:25, Thomas Hellstrom >> wrote: >>> >>> On 11/11/2015 07:07 PM, Brian Paul wrote: >>>> >>>> On 11/11/2015 1

Re: [Mesa-dev] [PATCH 12/24] i965: Initialize registers' file to BAD_FILE.

2015-11-12 Thread Emil Velikov
spectively in i965 and glsl. Seems like sorting these will be another lengthy series :-] Thanks Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [RFC PATCH 00/40] Rework/consolidate the pipe-loader business

2015-11-12 Thread Emil Velikov
On 11 November 2015 at 20:45, Rob Clark wrote: > On Mon, Nov 9, 2015 at 8:39 AM, Rob Clark wrote: >> On Mon, Nov 9, 2015 at 8:30 AM, Emil Velikov >> wrote: >>> On 30 October 2015 at 17:57, Emil Velikov wrote: >>>> On 19 October 2015 at 18:41, Emil Velikov

Re: [Mesa-dev] [PATCH 1/2] glsl: enable 'shared' keyword also for layout qualifiers

2015-11-12 Thread Emil Velikov
Right. Please ignore this patch. > In this case, may I suggest that you tag the patch as Rejected (or similar) in patchwork [1]. Afaict there are quite a few patches in there from yourself and fellow colleagues. Any chance someone can go through them and change their status appropriately ?

Re: [Mesa-dev] [PATCH] mesa: fix MSVC build break in extensions.h

2015-11-12 Thread Emil Velikov
> + > +extern const struct mesa_extension _mesa_extension_table[]; > Now I know why mesa rarely declares variables in such a way :-P Reviewed-by: Emil Velikov -Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] Patchwork admin rights

2015-11-13 Thread Emil Velikov
be to assigned to you or anything. As long as you're registered/login with the same email as the one sending the patches, you should be good to go :-) That said I'm have nothing against if people grant you permissions. Emil ___ mesa-dev mailing l

Re: [Mesa-dev] [PATCH 1/2] glsl: enable 'shared' keyword also for layout qualifiers

2015-11-13 Thread Emil Velikov
On 13 November 2015 at 09:14, Kai Wasserbäch wrote: > Hi Emil, > Emil Velikov wrote on 12.11.2015 18:45: >> On 12 November 2015 at 15:36, Samuel Iglesias Gonsálvez >> wrote: >>> On 12/11/15 15:28, Timothy Arceri wrote: >>>> On 13 November 2015 12:22

Re: [Mesa-dev] Patchwork admin rights

2015-11-13 Thread Emil Velikov
On 13 November 2015 at 12:56, Samuel Iglesias Gonsálvez wrote: > On 13/11/15 13:40, Emil Velikov wrote: >> On 13 November 2015 at 12:34, Antía Puentes wrote: >>> On vie, 2015-11-13 at 13:26 +0100, Samuel Iglesias Gonsálvez wrote: >>>> Hello, >>>> >

Re: [Mesa-dev] [PATCH 0/7] DRI3 support for EGL (v4)

2015-11-13 Thread Emil Velikov
i3_helper.c > create mode 100644 src/loader/loader_dri3_helper.h > I have a gut feeling that we're missing something trivial (like leaking a bit of memory here and there) but we can squash that when we spot it. Thanks for addressing all my comments - I realise that the renaming/consiste

Re: [Mesa-dev] [Nouveau] llvm TGSI backend (WIP) questions

2015-11-13 Thread Emil Velikov
Hello Hans, Not to muddy the waters or anything, have you thought about the NIR integration that Rob was thinking about ? I'm pretty sure he'll be happy to have extra people helping him out. Cheers, Emil ___ mesa-dev mailing lis

Re: [Mesa-dev] [Mesa-stable] [PATCH 2/2] r200: fix bgrx8/xrgb8 blits

2015-11-13 Thread Emil Velikov
On 12 November 2015 at 22:53, Ian Romanick wrote: > I'll try to swap the RV200 for the R200 next week. I'm not sure when > Emil is planning the next stable release... I'll try to test before > that... unless someone beats me to it. ;) > Next stable should be

Re: [Mesa-dev] [Nouveau] llvm TGSI backend (WIP) questions

2015-11-13 Thread Emil Velikov
On 13 November 2015 at 14:38, Ilia Mirkin wrote: > On Fri, Nov 13, 2015 at 9:25 AM, Emil Velikov > wrote: >> Hello Hans, >> >> Not to muddy the waters or anything, have you thought about the NIR >> integration that Rob was thinking about ? >> I'm pretty

Re: [Mesa-dev] [PATCH] egl/dri2: implement platform_null.

2015-01-22 Thread Emil Velikov
On 22/01/15 22:23, Haixia Shi wrote: > Hi Emil > > On Thu, Jan 22, 2015 at 1:36 PM, Emil Velikov > wrote: >> Hi Haixia Shi, >> >> On 22/01/15 17:35, Haixia Shi wrote: >>> Try the render node first and use it if available. Otherwise fall back to >>&g

[Mesa-dev] New stable-branch 10.4 candidate pushed

2015-01-22 Thread Emil Velikov
morning :-) Thanks Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] New stable-branch 10.4 candidate pushed

2015-01-23 Thread Emil Velikov
. If you have any questions or comments that you would like to share before the release, please go ahead. Cheers, Emil Mesa stable queue - Nominated (4) == Jose Fonseca (1): egl: Pass the correct X visual depth to xcb_put_image(). Mario Kleiner (2): glx/

Re: [Mesa-dev] [PATCH] egl/dri2: implement platform_null.

2015-01-23 Thread Emil Velikov
On 23/01/15 02:00, Haixia Shi wrote: > Hi Emil, > > On Thu, Jan 22, 2015 at 4:38 PM, Emil Velikov > wrote: >> On 22/01/15 22:23, Haixia Shi wrote: >>> Hi Emil >>> >>> On Thu, Jan 22, 2015 at 1:36 PM, Emil Velikov >>> wrote: >>>

Re: [Mesa-dev] [PATCH 01/41] glapi: Added ARB_direct_state_access.xml file.

2015-01-23 Thread Emil Velikov
On 23/01/15 20:51, Jason Ekstrand wrote: > > > On Thu, Jan 22, 2015 at 9:27 AM, Emil Velikov <mailto:emil.l.veli...@gmail.com>> wrote: > > On 05/01/15 17:45, Laura Ekstrand wrote: > > This comment is vague. Do you have a specific recommenda

Re: [Mesa-dev] [PATCH] egl/dri2: implement platform_null.

2015-01-23 Thread Emil Velikov
On 23/01/15 19:24, Haixia Shi wrote: > Hi Emil, > > On Fri, Jan 23, 2015 at 8:42 AM, Emil Velikov > wrote: >> Might be worth having a look at how platform_drm does it. But we warned >> there be dragons :) > > It seems platform_drm would cast disp->PlatformDis

Re: [Mesa-dev] [PATCH 01/41] glapi: Added ARB_direct_state_access.xml file.

2015-01-23 Thread Emil Velikov
On 23/01/15 21:53, Jason Ekstrand wrote: > > > On Fri, Jan 23, 2015 at 1:46 PM, Emil Velikov <mailto:emil.l.veli...@gmail.com>> wrote: > > On 23/01/15 20:51, Jason Ekstrand wrote: > > > > > > On Thu, Jan 22, 2015 at 9:27 AM, Emil

Re: [Mesa-dev] [PATCH] i965: Do Sandybridge workaround flushes before each primitive.

2015-01-23 Thread Emil Velikov
On 23/01/15 22:25, Kenneth Graunke wrote: > On Thursday, January 22, 2015 07:14:33 PM Emil Velikov wrote: >> On 10/01/15 07:07, Kenneth Graunke wrote: >>> Sandybridge requires the post-sync non-zero workaround in a ton of >>> places, and if you ever miss one, the GPU usu

[Mesa-dev] Mesa 10.4.3

2015-01-24 Thread Emil Velikov
d building from the .tar.bz2 file by doing: tar xjf MesaLib-10.4.3.tar.bz2 cd Mesa-10.4.3 ./configure --enable-gallium-llvm make -j6 make -j6 install I have also verified that I pushed the tag. -Emil -- Changes from 10.4.2 to 10.4.3: Axel Davy (39): st/nine: Add new texture format string

[Mesa-dev] Mesa 10.5.0 release plan

2015-01-28 Thread Emil Velikov
o you guys ? If anyone has something special in mind (can we get this earlier to align with XXX, can we push it back to get feature YYY) please speak up. Thanks Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/ma

Re: [Mesa-dev] [PATCH 3/3] nir: Add an ALU op builder kind of like ir_builder.h

2015-01-28 Thread Emil Velikov
odes_h.py > Hi Eric, Please add nir/nir_builder_opcodes.h to the NIR_FILES list. Otherwise the dependency tracking will not be established. Thanks Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] mesa: Add new fast mtx_t mutex type for basic use cases

2015-01-29 Thread Emil Velikov
hem ? This way it'll be easier if/when things go crazy. Also the patch seems to wonder between posix and win32 + typedef full_mtx_t mtx_t; and + typedef mtx_t fast_mtx_t; Looks like a left over from the "should I rename XX variables to fast* or just one to full*" mome

Re: [Mesa-dev] [PATCH] mesa: Add new fast mtx_t mutex type for basic use cases

2015-01-29 Thread Emil Velikov
On 29/01/15 17:14, Kristian Høgsberg wrote: > On Thu, Jan 29, 2015 at 6:36 AM, Emil Velikov > wrote: >> On 28/01/15 05:08, Kristian Høgsberg wrote: >>> While modern pthread mutexes are very fast, they still incur a call to an >>> external DSO and overhead of

Re: [Mesa-dev] Mesa 10.5.0 release plan

2015-01-29 Thread Emil Velikov
On 29/01/15 04:05, Michel Dänzer wrote: > On 29.01.2015 00:37, Emil Velikov wrote: >> >> February 20th 2015 - Release candidate 3 >> February 20th 2015 - Release candidate 4 > > I assume you meant February 27th for rc4. :) > Sigh... will I be able to write a state

Re: [Mesa-dev] [PATCH] egl: Soften several HAVE_DRM_PLATFORM to HAVE_LIBDRM

2015-02-02 Thread Emil Velikov
On 22/01/15 20:53, Samuel Thibault wrote: > Emil Velikov, le Thu 22 Jan 2015 16:52:06 +, a écrit : >> On 14/01/15 19:36, Axel Davy wrote: >>> To fix build when libdrm is not found, >>> commit a594cec7e3ef275c386054127a357110a19dd823 did put several >>

Re: [Mesa-dev] [PATCH v2] c11/threads: Use PTHREAD_MUTEX_RECURSIVE by default

2015-02-02 Thread Emil Velikov
ug report associated with this please mention it in the commit message, like Bugzilla: $(full_url) Thanks Emil [1] http://osxr.org/glibc/source/nptl/sysdeps/pthread/pthread.h#0048 Thanks Emil > --- > include/c11/threads_posix.h | 7 +-- > 1 file changed, 1 insertion(+), 6 deletions(-)

Re: [Mesa-dev] [PATCH v2] c11/threads: Use PTHREAD_MUTEX_RECURSIVE by default

2015-02-03 Thread Emil Velikov
On 3 February 2015 at 02:53, Emil Velikov wrote: > Hi Felix, > > On 2 February 2015 at 19:04, Felix Janda wrote: >> Previously PTHREAD_MUTEX_RECURSIVE_NP had been used on linux for >> compatibility with old glibc. Since mesa defines __GNU_SOURCE__ >> on linux PTHR

[Mesa-dev] New stable-branch 10.4 candidate pushed

2015-02-04 Thread Emil Velikov
ons or comments that you would like to share before the release, please go ahead. Cheers, Emil Mesa stable queue - Nominated (2) == Mario Kleiner (1): glx: Handle out-of-sequence swap completion events correctly. Marius Predut (1): Fixing an x86 FPU

Re: [Mesa-dev] Rename mesa/src/util (Was: gallium/util: add u_bit_scan64)

2015-02-06 Thread Emil Velikov
yet I don't see it as a "util". Thus my idea above about renaming the folder and (optionally) keeping things a bit more gallium-like. > Or maybe Brian is right - we could just move Gallium's utility code to > src/util and use it everywhere. It'd be nice to not hav

[Mesa-dev] Mesa 10.4.4

2015-02-06 Thread Emil Velikov
d building from the .tar.bz2 file by doing: tar xjf MesaLib-10.4.4.tar.bz2 cd Mesa-10.4.4 ./configure --enable-gallium-llvm make -j6 make -j6 install I have also verified that I pushed the tag. -Emil -- Changes from 10.4.3 to 10.4.4: Brian Paul (1): mesa: fix display list 8-byte alignment i

Re: [Mesa-dev] Rename mesa/src/util (Was: gallium/util: add u_bit_scan64)

2015-02-06 Thread Emil Velikov
On 7 February 2015 at 00:10, Matt Turner wrote: > On Fri, Feb 6, 2015 at 3:58 PM, Emil Velikov wrote: >>> "util" is meant to be for shared utility across the entire code base - >>> both Mesa and Gallium. It's been growing slowly as people move things >&

Re: [Mesa-dev] nesa-10.4.4: gallivm/lp_bld_misc.cpp:503:38: error: no viable conversion from 'ShaderMemoryManager *' to 'std::unique_ptr'

2015-02-09 Thread Emil Velikov
I would recommend (a) applying it locally or (b) using mesa from the 10.5 or master branch. Thanks Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] mesa-10.4.4: BROKEN TLS support in GLX with llvm-toolchain v3.6.0rc2

2015-02-09 Thread Emil Velikov
2 > ... > > I have attached my build-script, the detailed full build-log (used > 'clang -v' and 'make -j1') and the two diagnostic tmp-files. > > I am not sure if this is fixable in mesa by refactoring the code - > that's w

[Mesa-dev] [PATCH 3/4] configure: rework wayland_scanner handling(fix make distcheck)

2015-02-10 Thread Emil Velikov
ch in turn will cause some files to not get generated. There has been a wayland-scanner package as of wayland 1.2 which provides a variable for the scanner binary, so let's use that one and fall back to manually searching via AC_PATH_PROG when needed. Cc: "10.5" Signed-

[Mesa-dev] [PATCH 2/4] nir: add missing header to the sources list

2015-02-10 Thread Emil Velikov
Cc: "10.5" Signed-off-by: Emil Velikov --- src/glsl/Makefile.sources | 1 + 1 file changed, 1 insertion(+) diff --git a/src/glsl/Makefile.sources b/src/glsl/Makefile.sources index a580b6e..7e66e91 100644 --- a/src/glsl/Makefile.sources +++ b/src/glsl/Makefile.sources @@ -

[Mesa-dev] [PATCH 4/4] auxiliary/vl: bring back the VL code for the dri targets

2015-02-10 Thread Emil Velikov
functionality by keeping the vl <> vl_stub separation as requrested by Christian. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=86837 Cc: "10.5" Signed-off-by: Emil Velikov --- configure.ac| 3 ++- src/gallium/auxiliary/Makefile.a

[Mesa-dev] [PATCH 1/4] nir: resolve nir.h dependency list (fix make distcheck)

2015-02-10 Thread Emil Velikov
Use nir/nir_opcodes.h as is (w/o the absolute path), as it is the target name used to generate the actual file. Otherwise the target is missing, the file won't get generated and the build will fail. Cc: "10.5" Signed-off-by: Emil Velikov --- src/glsl/Makefile.am | 2 +- 1

Re: [Mesa-dev] [PATCH 1/4] nir: resolve nir.h dependency list (fix make distcheck)

2015-02-10 Thread Emil Velikov
On 10/02/15 16:07, Emil Velikov wrote: > Use nir/nir_opcodes.h as is (w/o the absolute path), as it is the target > name used to generate the actual file. Otherwise the target is missing, > the file won't get generated and the build will fail. > > Cc: "10.5" Fw

Re: [Mesa-dev] [PATCH 3/4] configure: rework wayland_scanner handling(fix make distcheck)

2015-02-10 Thread Emil Velikov
On 10/02/15 18:23, Matt Turner wrote: > On Tue, Feb 10, 2015 at 8:08 AM, Emil Velikov > wrote: >> Currently having the wayland-scanner is optional, which causes problems >> when autotools parses through the makefiles, and tries to generate all >> the BUILT_SOURCES. &g

[Mesa-dev] [PATCH v2] auxiliary/vl: bring back the VL code for the dri targets

2015-02-10 Thread Emil Velikov
functionality by keeping the vl <> vl_stub separation as requrested by Christian. v2: Update the omx target as well. Update mesa-stable email address. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=86837 Cc: "10.5" Signed-off-by: Emil Velikov -

Re: [Mesa-dev] [LLVMdev] mesa-10.4.4: BROKEN TLS support in GLX with llvm-toolchain v3.6.0rc2

2015-02-10 Thread Emil Velikov
On 10/02/15 13:17, Dimitry Andric wrote: > On 09 Feb 2015, at 18:52, Sedat Dilek wrote: >> >> On Mon, Feb 9, 2015 at 6:44 PM, Emil Velikov >> wrote: >>> On 07/02/15 22:42, Sedat Dilek wrote: > ... >>>> In file included from ../../src/mapi/entry.

Re: [Mesa-dev] [Mesa-stable] [PATCH] configure: don't try to build gallium DRI drivers if --disable-dri is set

2015-02-10 Thread Emil Velikov
st*pid/masochistic enough to occasionally look at it :-P -Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] arb_occlusion_query2: expect an error when target mismatch in glBeginQuery()

2015-02-10 Thread Emil Velikov
I'm guessing that this was meant for the piglit ML - Cc-ing it :) -Emil On 10/02/15 07:48, Eduardo Lima Mitev wrote: > From the OpenGL ES 3.0.0 spec, section "2.13. ASYNCHRONOUS QUERIES", > page 82: > > "BeginQuery generates an INVALID_OPERATION erro

Re: [Mesa-dev] [Mesa-stable] [PATCH] configure: don't try to build gallium DRI drivers if --disable-dri is set

2015-02-10 Thread Emil Velikov
On 10/02/15 23:40, Brian Paul wrote: > On 02/10/2015 04:24 PM, Emil Velikov wrote: >> On 10/02/15 16:32, Brian Paul wrote: >>> Before, if --disable-dri was set we were still testing the libdrm >>> version >>> for r300, r600, vmware/svga. >>> >

Re: [Mesa-dev] Removing the --allow-multiple-definition hack

2015-02-11 Thread Emil Velikov
kely involve a bit of a headache getting all the dependencies in the correct order. Will try to get it working this week but no guarantees. -Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] darwin: Fix install name of libOSMesa

2015-02-11 Thread Emil Velikov
ean with "Fix install name" and update the gallium one (src/gallium/targets/osmesa). Thanks Emil * lib prefix, soname, living in lib, pkgconfig providing -lOSMesa) I see no problems wit ___ mesa-dev mailing list mesa-dev@lists.freedesktop.o

Re: [Mesa-dev] [PATCH] glx: do not leak the dri2 extension information

2015-02-12 Thread Emil Velikov
Humble ping. On 22/01/15 17:35, Emil Velikov wrote: > The XExtensionInfo is allocated dynamically (if the pointer is NULL) > in the XEXT_GENERATE_FIND_DISPLAY macro. On the other hand the > macro XEXT_GENERATE_CLOSE_DISPLAY does not check/free the memory. > > Follow the example

Re: [Mesa-dev] [PATCH] opengles2: fix building without X11

2015-02-12 Thread Emil Velikov
Humble ping. On 22/01/15 18:28, Emil Velikov wrote: > From: Michael Olbrich > > es2_info, es2gears_x11 and es2tri require X11, so don't build them if X11 > is disabled. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88618 > Reviewed-by: Emil Velikov >

[Mesa-dev] Mesa 10.5.0 release candidate 1

2015-02-12 Thread Emil Velikov
tory has been changed - s/MesaLib/mesa/ - The tar.bz2 tarball has been depreciated in favour of tar.xz one. - The zip archive is no longer available. As usual if you have any comments and/or have any problems with this release kindly let me know :-) -Emil signature.asc Description:

[Mesa-dev] [PATCH] automake: Use AM_DISTCHECK_CONFIGURE_FLAGS

2015-02-12 Thread Emil Velikov
Currently we use DISTCHECK_CONFIGURE_FLAGS, which is reserved for the user. As with other variables, one should use the AM_ variable within the makefile. Signed-off-by: Emil Velikov --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am

Re: [Mesa-dev] Mesa 10.5.0 release candidate 1

2015-02-16 Thread Emil Velikov
On 16/02/15 08:43, Maarten Lankhorst wrote: > Hey, > > Op 12-02-15 om 15:24 schreef Emil Velikov: >> Mesa 10.5.0 release candidate 1 is now available for testing. The >> current plan is to have an additional release candidate every Friday >> until the eventual 10.5.0 re

[Mesa-dev] [PATCH] auxiliary/vl: Build vl_winsys_dri.c only when needed.

2015-02-16 Thread Emil Velikov
Jon TURNEY Signed-off-by: Emil Velikov --- Hi Jon, Can you give this patch a try. I realise it's longer solution than the one you sent, but imho this makes sense (in a way) considering all the craziness that we have around. -Emil configure.ac | 10 +- src/ga

[Mesa-dev] [PATCH] auxiliary/vl: honour the DRI2PROTO_CFLAGS

2015-02-16 Thread Emil Velikov
Otherwise for non-default installations the build will fail to find the headers and error out. Cc: "10.5" Signed-off-by: Emil Velikov --- src/gallium/auxiliary/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/auxiliary/Makefile.am b/src/gallium/auxiliary/M

Re: [Mesa-dev] [PATCH:mesa 2/4] Avoid fighting with Solaris headers over isnormal()

2015-02-17 Thread Emil Velikov
ics there is a similar redefinition of isnormal in src/glsl/nir/nir_constant_expressions.py. The series looks like stable material imho. If you're planning to push these yourself please add Cc: "10.5" Reviewed-by: Emil Velikov Thanks Emil __

[Mesa-dev] New stable-branch 10.4 candidate pushed

2015-02-18 Thread Emil Velikov
r comments that you would like to share before the release, please go ahead. Cheers, Emil Mesa stable queue - Nominated (7) = Andreas Boll (2): mesa: Redefine GLX_CONTEXT_{CORE|COMPATIBILITY}_PROFILE_BIT_ARB dri/common: Fix returned value of __DRI2_RENDERE

[Mesa-dev] Mesa 10.4.5

2015-02-21 Thread Emil Velikov
d building from the .tar.bz2 file by doing: tar xjf MesaLib-10.4.5.tar.bz2 cd Mesa-10.4.5 ./configure --enable-gallium-llvm make -j6 make -j6 install I have also verified that I pushed the tag. -Emil -- Changes from 10.4.4 to 10.4.5: Carl Worth (1): Revert use of Mesa IR opt

Re: [Mesa-dev] [PATCH libdrm] add support for imx-drm in tests

2015-02-23 Thread Emil Velikov
From: Philipp Zabel >> >> Since imx-drm has graduated from staging it seems to be a good idea to >> recognize it by default in the libdrm tests. >> >> Signed-off-by: Philipp Zabel >> Signed-off-by: Lucas Stach I knew I saw this one somewhere but bth I was

Re: [Mesa-dev] [PATCH 1/3] mesa: Move C99 MSVC compatibility code from u_math.h to c99_compat.h.

2015-02-23 Thread Emil Velikov
m version and fixes it up. I think it should probably > go there, instead. > I may be mistaking but I think that those headers are used when the compiler lacks them, rather than wrapping around the system ones. -Emil ___ mesa-dev mail

[Mesa-dev] [PATCH] install-lib-links: remove the .install-lib-links file

2015-02-24 Thread Emil Velikov
time, otherwise we'll end up with dangling files. Cc: "10.3 10.4 10.5" Cc: Matt Turner Cc: Lucas Stach Signed-off-by: Emil Velikov --- install-lib-links.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/install-lib-links.mk b/install-lib-links.mk index 3545b26..5fe9141 1006

[Mesa-dev] Mesa 10.5.0 release candidate 2

2015-02-24 Thread Emil Velikov
permanent changes: - The tarball name has changed - s/MesaLib/mesa/ - A tar.xz tarball is available. - The tar.bz2 and zip tarball have been depreciated and will no longer be available. If you have any comments and/or spot any problems with this release kindly let me know. -Emil -- Changes from

Re: [Mesa-dev] [PATCH] auxilary/os: correct sysctl use in os_get_total_physical_memory()

2015-02-25 Thread Emil Velikov
On 24/02/15 22:48, Jonathan Gray wrote: > On Tue, Feb 24, 2015 at 04:53:03PM +0000, Emil Velikov wrote: >> On 22 February 2015 at 08:19, Jonathan Gray wrote: >>> The length argument passed to sysctl was the size of the pointer >>> not the type. The result of this is

Re: [Mesa-dev] [PATCH] pipe-loader: Fix build with dri drivers enabled, and vl state trackers disabled

2015-02-25 Thread Emil Velikov
yesterday but could not recall the exact details. Sorry about breaking things. Do give me a shout as soon as you spot any problems. Cc: "10.5" Reviewed-by: Emil Velikov -Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org ht

<    1   2   3   4   5   6   7   8   9   10   >