Re: [Mesa-dev] [PATCH] glx/dri3: a drawable might not be bound at wait time

2015-12-20 Thread Michel Dänzer
On 20.12.2015 05:31, Ilia Mirkin wrote: > A trace of Alien Isolation hit this on nouveau. > > Signed-off-by: Ilia Mirkin > Cc: "11.0 11.1" > --- > > Disclaimer: I have no idea if this is a legal situation, but other calls to > GetGLXDRIDrawable are null-checked. > > src/glx/dri3_glx.c | 6 +++

Re: [Mesa-dev] [RFC] i965: alternative to memctx for cleaning up nir variants

2015-12-20 Thread Jason Ekstrand
On Dec 20, 2015 7:43 PM, "Rob Clark" wrote: > > On Sun, Dec 20, 2015 at 10:29 PM, Connor Abbott wrote: > > On Sun, Dec 20, 2015 at 10:04 PM, Rob Clark wrote: > >> On Sun, Dec 20, 2015 at 9:12 PM, Jason Ekstrand wrote: > >>> > >>> On Dec 19, 2015 5:55 PM, "Rob Clark" wrote: > > From:

[Mesa-dev] [PATCH] loader: add a libdrm case for loader_get_device_name_for_fd

2015-12-20 Thread Jonathan Gray
Use dev_node_from_fd() with HAVE_LIBDRM to provide an implmentation of loader_get_device_name_for_fd() for non-linux systems that use libdrm but don't have udev or sysfs. Signed-off-by: Jonathan Gray --- src/loader/loader.c | 26 +- 1 file changed, 25 insertions(+), 1 del

Re: [Mesa-dev] [PATCH v3] Add .mailmap

2015-12-20 Thread Michel Dänzer
On 20.12.2015 23:41, Giuseppe Bilotta wrote: > > +Michel Dänzer Michel Daenzer > > +Michel Dänzer Michel Daenzer > > +Michel Dänzer > +Michel Dänzer > +Michel Dänzer If I am to be identified with a single e-mail address, mic...@daenzer.net makes more sense than any employer address.

Re: [Mesa-dev] [PATCH] nir/builder: fix C90 build errors

2015-12-20 Thread Connor Abbott
On Sun, Dec 20, 2015 at 10:43 AM, Rob Clark wrote: > On Sun, Dec 20, 2015 at 12:25 AM, Connor Abbott wrote: >>> But, this would still be an issue for tgsi_to_nir, which I guess >>> wouldn't make sense in glsl/nir. Although turns out we solve that >>> today by: >>> >>> #ifdef __GNUC__ >>> #pr

Re: [Mesa-dev] [RFC] i965: alternative to memctx for cleaning up nir variants

2015-12-20 Thread Rob Clark
On Sun, Dec 20, 2015 at 10:29 PM, Connor Abbott wrote: > On Sun, Dec 20, 2015 at 10:04 PM, Rob Clark wrote: >> On Sun, Dec 20, 2015 at 9:12 PM, Jason Ekstrand wrote: >>> >>> On Dec 19, 2015 5:55 PM, "Rob Clark" wrote: From: Rob Clark Jason, How much do you hate th

Re: [Mesa-dev] [RFC] i965: alternative to memctx for cleaning up nir variants

2015-12-20 Thread Connor Abbott
On Sun, Dec 20, 2015 at 10:04 PM, Rob Clark wrote: > On Sun, Dec 20, 2015 at 9:12 PM, Jason Ekstrand wrote: >> >> On Dec 19, 2015 5:55 PM, "Rob Clark" wrote: >>> >>> From: Rob Clark >>> >>> Jason, >>> >>> How much do you hate this idea? Seems like an easy alternative to >>> using ralloc ctx's

[Mesa-dev] [PATCH] gallium/auxiliary: don't build NIR sources with MSVC2008 flags

2015-12-20 Thread Connor Abbott
NIR has never been built with MSVC2008, so we shouldn't add MSVC_2008_COMPAT_CFLAGS to anything that uses it. This allows us to get rid of the pragma in tgsi_to_nir.c. Build tested with freedreno. Signed-off-by: Connor Abbott --- src/gallium/auxiliary/Makefile.am | 17 ++--- s

Re: [Mesa-dev] [RFC] i965: alternative to memctx for cleaning up nir variants

2015-12-20 Thread Rob Clark
On Sun, Dec 20, 2015 at 9:12 PM, Jason Ekstrand wrote: > > On Dec 19, 2015 5:55 PM, "Rob Clark" wrote: >> >> From: Rob Clark >> >> Jason, >> >> How much do you hate this idea? Seems like an easy alternative to >> using ralloc ctx's to clean up nir variants/clones, which would let >> us drop the

Re: [Mesa-dev] [PATCH] gallium/radeon: only dispose locally created target machine in radeon_llvm_compile

2015-12-20 Thread Michel Dänzer
On 19.12.2015 02:15, Nicolai Hähnle wrote: > On 17.12.2015 22:13, Michel Dänzer wrote: >> On 18.12.2015 07:00, Nicolai Hähnle wrote: >>> From: Nicolai Hähnle >>> >>> Unify the cleanup paths of the function rather than duplicating code. >> >> This should probably be backported to the stable branche

Re: [Mesa-dev] [RFC] i965: alternative to memctx for cleaning up nir variants

2015-12-20 Thread Jason Ekstrand
On Dec 19, 2015 5:55 PM, "Rob Clark" wrote: > > From: Rob Clark > > Jason, > > How much do you hate this idea? Seems like an easy alternative to > using ralloc ctx's to clean up nir variants/clones, which would let > us drop the parent memctx for nir_shader_create()/clone(), making > it easier t

Re: [Mesa-dev] [PATCH] nir/builder: fix C90 build errors

2015-12-20 Thread Rob Clark
On Sun, Dec 20, 2015 at 12:25 AM, Connor Abbott wrote: >> But, this would still be an issue for tgsi_to_nir, which I guess >> wouldn't make sense in glsl/nir. Although turns out we solve that >> today by: >> >> #ifdef __GNUC__ >> #pragma GCC diagnostic ignored "-Wdeclaration-after-statement"

[Mesa-dev] [PATCH v3] Add .mailmap

2015-12-20 Thread Giuseppe Bilotta
This adds a first tentative .mailmap file, to canonicize contributor name/emails in shortlogs and other statistical endeavours, for all git internal toosl and tools that make use of it. Additional information such as email-to-company mapping and timelines (contributor X was with company Y until dat