Mesa (10.5): 29 new commits
Emil Velikov
evelikov at kemper.freedesktop.org
Thu May 21 12:26:23 UTC 2015
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe521a083f6db01208956527f388e1a8061cc591
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Wed May 20 21:51:52 2015 +0100
targets/osmesa: drop the -module tag from LDFLAGS
Gallium equivalent of commit 06ff751f97f(darwin: Fix install name of
libOSMesa)
Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
(cherry picked from commit 36438f0db6c7c696df73ced12684f4df9d2b47e5)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=86b7e91ae95b83423525ff22d3a02fae7173de12
Author: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
Date: Wed Feb 11 02:32:33 2015 -0800
darwin: Fix install name of libOSMesa
Passing -module to glibtool causes the resulting library to be called
libSomething.so rather than libSomething.dylib on darwin.
Regardless if libOSMesa is a library or a module, it has been used as
the former for quite some time. Update the build to reflect that and
resolve the naming issue.
Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
[Emil Velikov: Tweak the commit message.]
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
(cherry picked from commit 06ff751f97fbeb62a23936cd8f9c54733920d082)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a265449854bbfd86f0227499e65464b7fcc6670
Author: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
Date: Thu Jan 1 19:48:40 2015 -0800
swrast: Build fix for darwin
Fixes regression from commit 64b1dc44495890cbc2c7c5509cb830264020998c
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90147
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
CC: Emil Velikov <emil.l.velikov at gmail.com>
CC: jon.turney at dronecode.org.uk
CC: ionic at macports.org
(cherry picked from commit 5b2d3480f57168d50ad24cf0b8c9244414bd3701)
Nominated-by: Emil Velikov <emil.l.velikov at gmail.com>
Squashed with commit
swrast: Build fix for Solaris
Fixes regression from commit 5b2d3480f57168d50ad24cf0b8c9244414bd3701
Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
(cherry picked from commit 31cd2d75dc3844e40143f649fe383de17c152a13)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb1b41302d07e6850987e17832c33a844a334d73
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Tue May 12 00:30:16 2015 +0100
egl/main: fix EGL_KHR_get_all_proc_addresses
The extension requires that the address of the core functions should be
available via eglGetProcAddress. Currently the list is guarded by
_EGL_GET_CORE_ADDRESSES, which was only set for the scons (windows)
build.
Unconditionally enable it for all the builds (automake, android and
haiku) considering that the extension is not platform specific and is
always enabled.
v2: Drop the _EGL_GET_CORE_ADDRESSES macro altogether.
Cc: mesa-stable at lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
(cherry picked from commit 448e01b2918c76dfff8abfbd56a606fdff8c356c)
Conflicts:
src/egl/main/eglapi.c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b1c045c62ffaacb131767345c11b0838111db29c
Author: Rob Clark <robclark at freedesktop.org>
Date: Wed May 13 14:36:03 2015 -0400
freedreno: fix bug in tile/slot calculation
This was causing corruption with hw binning on a306. Unlikely that it
is a306 specific, but rather the smaller gmem size resulted in different
tile configuration which was triggering the bug at certain resolutions.
Signed-off-by: Rob Clark <robclark at freedesktop.org>
Cc: "10.4" and "10.5" and "10.6" <mesa-stable at lists.freedesktop.org>
(cherry picked from commit 4925c35660b777ae6b33a1f87a2f74f3436c7c41)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=21dd729dcc34a9435c5b69eac103056f86b965d2
Author: Rob Clark <robclark at freedesktop.org>
Date: Tue May 12 14:46:50 2015 -0400
freedreno: enable a306
Whitelist adreno 306 (as found in msm8916/apq8016). Works pretty much
out of the box, although the smaller GMEM size requires more tiles to
fit 1920x1080, so bump up the max # of tiles as well.
Since it is just whitelist + trivial change, it makes sense to land on
all the active release branches.
Note that a305c ends up with gpu-id "306", hence a306 ends up with
gpu-id of "307". Apparently that is what happens when you let the
marketing dept name things.
Cc: "10.4" and "10.5" and "10.6" <mesa-stable at lists.freedesktop.org>
Signed-off-by: Rob Clark <robclark at freedesktop.org>
(cherry picked from commit fcc7d6323bbea489219225f467d59192d538e95f)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=104dc7447d66fb0006b40e8f8fc4664a7a1216e5
Author: Laura Ekstrand <laura at jlekstrand.net>
Date: Wed Feb 4 14:21:17 2015 -0800
main: Complete error conditions for glInvalidate*Framebuffer.
Signed-off-by: Fredrik Höglund <fredrik at kde.org>
Reviewed-by: Fredrik Höglund <fredrik at kde.org>
Reviewed-by: Adam Jackson <ajax at redhat.com>
Cc: "10.4 10.5" <mesa-stable at lists.freedesktop.org>
(cherry picked from commit b4368ac09db75cea412121ada6c12af1414feb50)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0475deac263f6af527bda376b39c29fc839c5d1d
Author: Laura Ekstrand <laura at jlekstrand.net>
Date: Mon Apr 20 17:21:20 2015 +0200
main: Fix an error generated by FramebufferTexture
gl*FramebufferTexture should generate GL_INVALID_VALUE when the
texture doesn't exist.
[Fredrik: Split this change out from the next commit]
Signed-off-by: Fredrik Höglund <fredrik at kde.org>
Reviewed-by: Fredrik Höglund <fredrik at kde.org>
Reviewed-by: Adam Jackson <ajax at redhat.com>
Cc: "10.4 10.5" <mesa-stable at lists.freedesktop.org>
(cherry picked from commit 69bdc9dcb8e5d3648e8d96029d5988b8971de8dc)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f7e74b5360b9ee876743ff7a2046fab90aacf29
Author: Fredrik Höglund <fredrik at kde.org>
Date: Sat May 9 15:31:45 2015 +0200
mesa: Generate GL_INVALID_VALUE in framebuffer_texture when layer < 0
Signed-off-by: Fredrik Höglund <fredrik at kde.org>
Reviewed-by: Adam Jackson <ajax at redhat.com>
Cc: "10.4 10.5" <mesa-stable at lists.freedesktop.org>
(cherry picked from commit 8ba7ad8abc7d71131e17970203c991ccb1befbe6)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a2624f2d2eb41c859a8754d81c262aab6b21dd22
Author: Fredrik Höglund <fredrik at kde.org>
Date: Thu May 7 20:28:23 2015 +0200
main: Require that the texture exists in framebuffer_texture
Generate GL_INVALID_OPERATION if the texture hasn't been created.
Signed-off-by: Fredrik Höglund <fredrik at kde.org>
Reviewed-by: Adam Jackson <ajax at redhat.com>
Cc: "10.4 10.5" <mesa-stable at lists.freedesktop.org>
(cherry picked from commit f9f5c822845698482d0d81eaa64bc13c2fd8852a)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a6e1495aa7a980308833ddf078d2c4af113a807b
Author: Francisco Jerez <currojerez at riseup.net>
Date: Sat Jan 31 20:04:55 2015 +0200
i965: Fix PBO cache coherency issue after _mesa_meta_pbo_GetTexSubImage().
This problem can easily be reproduced with a number of
ARB_shader_image_load_store piglit tests, which use a buffer object as
PBO for a pixel transfer operation and later on bind the same buffer
to the pipeline as shader image -- The problem is not exclusive to
images though, and is likely to affect other kinds of buffer objects
that can be bound to the 3D pipeline, including vertex, index,
uniform, atomic counter buffers, etc.
CC: 10.5 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand at intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
(cherry picked from commit d247615e0d67a7c8eaeea3fece837229c8c9658c)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=005def20f41ff9743f9689d4884dc2f49a25a881
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Sun May 10 01:57:56 2015 -0400
nvc0: switch mechanism for shader eviction to be a while loop
This aligns it to work similarly to nv50. However there's no library
code there, so the whole thing can be freed. Here we end up with an
allocated node that's not attached to a specific program.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=86792
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: mesa-stable at lists.freedesktop.org
(cherry picked from commit d06ce2f1df54edd234b1abde37bba524ed599acb)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ad41f45b59410c5feee0f025fc2aa3bc1edec08
Author: Alex Deucher <alexander.deucher at amd.com>
Date: Tue May 12 13:13:05 2015 -0400
radeonsi: add new bonaire pci id
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
Cc: mesa-stable at lists.freedesktop.org
(cherry picked from commit 71ba30f7788167c04d0968d286a387fce16afcce)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=907ee1494faba1e8a53bbd95546ffda241f7d6cd
Author: Francisco Jerez <currojerez at riseup.net>
Date: Sat May 9 16:01:23 2015 +0300
clover: Implement locking of the wait_count, _chain and _status members of event.
Tested-by: Tom Stellard <thomas.stellard at amd.com>
CC: 10.5 <mesa-stable at lists.freedesktop.org>
(cherry picked from commit a533d4edf1ea346dd9e343c71b2cd500fa550ef8)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4045dd5e9bbe3c29a8926ac66a42baf3d7cac9a
Author: Francisco Jerez <currojerez at riseup.net>
Date: Sat May 9 16:22:33 2015 +0300
clover: Wrap event::_status in a method to prevent unlocked access.
Tested-by: Tom Stellard <thomas.stellard at amd.com>
CC: 10.5 <mesa-stable at lists.freedesktop.org>
(cherry picked from commit 4022a468b2976c65e0d2afe9c9ac5804729e8641)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f25af5317f7acb29503df8685c501af0daa2b8a1
Author: Francisco Jerez <currojerez at riseup.net>
Date: Sat May 9 14:47:38 2015 +0300
clover: Refactor event::trigger and ::abort to prevent deadlock and reentrancy issues.
Refactor ::trigger and ::abort to split out the operations that access
concurrently modified data members and require locking from the
recursive and possibly re-entrant part of these methods. This will
avoid some deadlock situations when locking is implemented.
Tested-by: Tom Stellard <thomas.stellard at amd.com>
CC: 10.5 <mesa-stable at lists.freedesktop.org>
(cherry picked from commit 2232b929fd9ca6f00c8dab9dc45c386986be922d)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1353ba53977e9a531fcadf3c04ad4c69c32c22c0
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Wed May 6 23:29:33 2015 -0400
st/mesa: make sure to create a "clean" bool when doing i2b
i2b has to work for all integers, not just 1. INEG would not necessarily
result with all bits set, which is something that other operations can
rely on by e.g. using AND (or INEG for b2i).
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Jason Ekstrand <jason.ekstrand at intel.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
Cc: mesa-stable at lists.freedesktop.org
(cherry picked from commit 2b5355c8ab383d86bb6332dd29c417a6a1bc52bd)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=097e70202b6ae5b07303274c1d5087f94bd3cf06
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Thu Mar 26 19:33:24 2015 +0000
clover: Fix a bug with multi-threaded events v2
It was possible for some events never to get triggered if one thread
was creating events and another threads was waiting for them.
This patch consolidates soft_event::wait() and hard_event::wait()
into event::wait() so that hard_event objects will now wait for
all their dependencies to be submitted before flushing the command
queue.
v2:
- Rename variables
- Use mutable varibales so we can keep event::wait() const
- Open code signalled() call so mutex can be atted to signalled
without deadlocking.
CC: 10.5 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Francisco Jerez <currojerez at riseup.net>
(cherry picked from commit 9c4dc98b298c74015f2a7c21571bccf0a5b6cc98)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5bb7ee4fd605da1d9ca3b4aa2b6a7a28e214e0f6
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Thu May 7 13:57:14 2015 +0000
clover: Add a mutex to guard queue::queued_events
This fixes a potential crash where on a sequence like this:
Thread 0: Check if queue is not empty.
Thread 1: Remove item from queue, making it empty.
Thread 0: Do something assuming queue is not empty.
CC: 10.5 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Francisco Jerez <currojerez at riseup.net>
(cherry picked from commit f546902d9597429713c83e2caf6b69856bd7ba4d)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0024b85cc66e2e69e3c374c1f9bc9ef88cb0bf81
Author: Axel Davy <axel.davy at ens.fr>
Date: Fri May 1 00:20:34 2015 +0200
glx/dri3: Add additional check for gpu offloading case
Checks blitImage is implemented.
Initially having the __DRIimageExtension extension
at version 9 at least meant blitImage was supported.
However some implementation do advertise version >= 9
without implementing it.
CC: 10.5 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Dave Airlie <airlied at redhat.com>
Reviewed-by: Daniel Stone <daniels at collabora.com>
Signed-off-by: Axel Davy <axel.davy at ens.fr>
(cherry picked from commit c4ff6d00cd7dde4646ff96733f68d3ddbf540c2c)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ace7d9afc912b3d34f875e9a8a964e7a16113cf9
Author: Axel Davy <axel.davy at ens.fr>
Date: Fri May 1 00:03:32 2015 +0200
egl/wayland: properly destroy wayland objects
the wl_registry and the wl_queue allocated weren't destroyed.
CC: 10.5 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Dave Airlie <airlied at redhat.com>
Reviewed-by: Daniel Stone <daniels at collabora.com>
Signed-off-by: Axel Davy <axel.davy at ens.fr>
(cherry picked from commit 6aaf09b93b668a24b557e05195b9897e8cee8559)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3dc08d4d8962cb4b00d7cc7e2a1dbdae17b6ae1e
Author: Marta Lofstedt <marta.lofstedt at linux.intel.com>
Date: Thu May 7 17:13:47 2015 +0200
main: glGetIntegeri_v fails for GL_VERTEX_BINDING_STRIDE
The return type for GL_VERTEX_BINDING_STRIDE is missing,
this cause glGetIntegeri_v to fail.
Signed-off-by: Marta Lofstedt <marta.lofstedt at linux.intel.com>
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Cc: "10.4 10.5" <mesa-stable at lists.freedesktop.org>
(cherry picked from commit 4a8cd2799c2467b9916dd0ba672f05a394aa9b9f)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8a3ed2dee7f4c2ee13dab984459b80d2dd7f13c2
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Sat May 9 03:26:07 2015 -0400
nv50/ir: only enable mul saturate on G200+
Commit 44673512a84 enabled support for saturating fmul. However
experimentally this does not seem to work on the older chips. Restrict
the feature to G200 (NVA0) and later.
Reported-by: Pierre Moreau <pierre.morrow at free.fr>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90350
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Tested-by: Pierre Moreau <pierre.morrow at free.fr>
Reviewed-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de>
Cc: mesa-stable at lists.freedesktop.org
(cherry picked from commit da136dc07ddb6147d181c96f475b94f6281efd73)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d47d799b5f0e860c5ca2cc634015167dfd98e2e6
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Sat May 9 13:25:51 2015 -0400
nvc0: reset the instanced elements state when doing blit using 3d engine
Since we update num_vtxelts here, we could otherwise end up with stale
instancing information in the upper bits which wouldn't otherwise get
reset. (Also we run the risk of the previous draw having set the first
element as instanced.)
This appears as one of the causes for the test pointed out in fdo#90363
to fail on nvc0.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90363
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: mesa-stable at lists.freedesktop.org
(cherry picked from commit 7892210400e8f3bd14697c0a3dd56e98454a45df)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f3804a005195ab3d77a727a71727cc1a9d09427c
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Fri May 8 00:26:24 2015 -0400
nvc0: keep track of PGRAPH state in nvc0_screen
See identical commit for nv50. Destroying the current context and then
creating a new one or switching to another existing context would cause
the "current" state to not be properly initialized, so we save it off in
the screen.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: mesa-stable at lists.freedesktop.org
(cherry picked from commit e9b1ea29bf1e8f09e83bd6358d0d2068053f09d4)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=113e2bd73269864b08536fee9e7147718dfd7c07
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Fri May 8 00:15:22 2015 -0400
nv50: keep track of PGRAPH state in nv50_screen
Normally this is kept in nv50_context, and on switching the active
context, the state is copied from the previous context. However when the
last context is destroyed, this is lost, and a new context might later
be created. When the currently-active context is destroyed, save its
state in the screen, and restore it when setting the current context.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90363
Reported-by: Matteo Bruni <matteo.mystral at gmail.com>
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Tested-by: Matteo Bruni <matteo.mystral at gmail.com>
Cc: mesa-stable at lists.freedesktop.org
(cherry picked from commit f617029db3f8786d94c64f1a73c42b89b6d261fa)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e63d65b23599fd5e65107d2e1a8bebea1d493bee
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Fri May 8 18:54:08 2015 -0400
nv50/ir: only propagate saturate up if some actual folding took place
The former logic would copy the saturate up to any mul with an immediate
if there was a subsequent mul with a saturate. However we only want to
do that if we collapsed 2 muls by multiplying their immediates (or were
able to put the immediate in as a post-multiplier).
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: mesa-stable at lists.freedesktop.org
(cherry picked from commit c4ac09e30e2520b0ac6d403eb6c77f23e7f24f49)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4504642cccdab7f276a7fa2a8f8af0f123a6b71b
Author: Roland Scheidegger <sroland at vmware.com>
Date: Wed May 6 15:56:17 2015 +0200
draw: (trivial) fix out-of-bounds vector initialization
Was off-by-one. llvm says inserting an element with an index higher than the
number of elements yields undefined results. Previously such inserts were
ignored but as of llvm revision 235854 the vector gets replaced with undef,
causing failures.
This fixes piglit gl-3.2-layered-rendering-gl-layer, as mentioned in
https://llvm.org/bugs/show_bug.cgi?id=23424.
Reviewed-by: Brian Paul <brianp at vmware.com>
Cc: mesa-stable at lists.freedesktop.org
(cherry picked from commit b8a1495106a8b70e9026b7798a5df2fb9737c55e)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=be7b998a1f4d550634ba76320ba8d9ed033b50a4
Author: Tim Rowley <timothy.o.rowley at intel.com>
Date: Mon May 4 16:54:27 2015 -0500
mesa: fix shininess check for ffvertex_prog v2
Switch to using VERT_BIT_GENERIC macro, as varying_vp_inputs is a
bitmask.
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: mesa-stable at lists.freedesktop.org
(cherry picked from commit ce01c0af70f2475fbbb1c3ab90d43a19047abc5c)
More information about the mesa-commit
mailing list