URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=15f23fb855edf5a82b096ca34cfa6293b97fa867 Author: Emil Velikov <emil.veli...@collabora.com> Date: Mon Aug 21 11:49:19 2017 +0100
Update version to 17.2.0-rc5 Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dd4fafcfdadab08509f5cecc97f168e0755ef2ae Author: Emil Velikov <emil.veli...@collabora.com> Date: Sat Aug 19 01:58:37 2017 +0100 cherry-ignore: ignore storage offset fixes For stable the regressions were addressed by reverting the offending commits - see previous commit. Signed-off-by: Emil Velikov <emil.veli...@collabora.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=17a3e4891bf4fa09785fe9d22db5c79a949004db Author: Samuel Pitoiset <samuel.pitoi...@gmail.com> Date: Mon Jul 31 22:59:16 2017 +0200 Revert "mesa: stop assigning unused storage for non-bindless opaque types" This reverts commit fcbb93e860246375d03f280f927f79d3645a8988 and also commit 7c5b204e38d8cae70f5bf26e7223da5bc448bb5c to avoid compilation errors. Basically, the parameter indexes look wrong when a non-bindless sampler is declared inside a nested struct (because it is skipped). I think it's safer to just restore the previous behaviour which is here since ages and also because the initial attempt is only a little performance improvement. This fixes a regression with ES2-CTS.functional.shaders.struct.uniform.sampler_nested*. Note: this patch is only for 17.2 since the fixes in master are rather invasive. Namely: 365d34540f3 mesa: correctly calculate the storage offset for i915 de0e62e1065 st/mesa: correctly calculate the storage offset Fixes: fcbb93e860 ("mesa: stop assigning unused storage for non-bindless opaque types") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101983 Cc: 17.2 <mesa-sta...@lists.freedesktop.org> Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=85cc3533fa89f28eb8ed432a02b14dd95ff09c2b Author: Jason Ekstrand <jason.ekstr...@intel.com> Date: Thu Aug 3 09:48:55 2017 -0700 i965/miptree: Set supports_fast_clear = false in make_shareable The make_shareable function deletes the aux buffer and then whacks aux_usage to ISL_AUX_USAGE_NONE but not unsetting supports_fast_clear. Since we only look at supports_fast_clear to decide whether or not to do fast clears, this was causing assertion failures. Reported-by: Tapani Pälli <tapani.pa...@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101925 Reviewed-by: Kenneth Graunke <kenn...@whitecape.org> Reviewed-by: Tapani Pälli <tapani.pa...@intel.com> (cherry picked from commit e7a52cc381d275b4ab8ee2fb230e32ab97090daf) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=93bd5fbfe170cd7b085d6dfdcabfec63d604b615 Author: Eric Anholt <e...@anholt.net> Date: Mon Jul 31 14:59:38 2017 -0700 broadcom/vc4: Build the vc4_tiling_lt_neon.c with -mfpu=neon on ARM. If you don't pass this, the compiler refuses to compile the assembly for pre-v7 CPUs. This also keeps us from building identical, non-NEON code on aarch64 and x86. Fixes: a373f77662c5 ("vc4: Use a wrapper file to set VC4_BUILD_NEON instead of CFLAGS.") v2: Fix Android build by just appending NEON_C_SOURCES when ARCH_ARM_HAVE_NEON. Tested-by: Rob Herring <r...@kernel.org> (cherry picked from commit bd5efbd70b33a9f7977e75799c3b7d293113ba4d) [Emil Velikov: address libvc4_la_LIBADD conflicts] Signed-off-by: Emil Velikov <emil.veli...@collabora.com> Conflicts: src/gallium/drivers/vc4/Makefile.am URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=833f12abdfa17c1e9e60f1705fc18ca13a3b7f34 Author: Eric Anholt <e...@anholt.net> Date: Mon Jul 31 15:15:14 2017 -0700 configure.ac: Introduce HAVE_ARM_ASM/HAVE_AARCH64_ASM and the -D flags. I've been trying to get away without these conditionals in vc4's NEON code, but it meant compiling extra unused code on x86, and build failing on ARMv6. v2: Use the _arm/_arm64 flags to simplify detection (suggested by Rob), but hide the _arm version under ARCH_ARM_HAVE_NEON to keep from trying to build this stuff for armv5te. Tested-by: Rob Herring <r...@kernel.org> Reviewed-by: Matt Turner <matts...@gmail.com> (cherry picked from commit ba8533b6ea6a3e0121da4ab73be1dd18580b4d9b) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1fc44a3ba0a64afff69da927a03b19f74b819f5b Author: Eric Anholt <e...@anholt.net> Date: Mon Jul 31 14:47:12 2017 -0700 util: Fix build on old glibc. We need to link librt for u_thread.h's clock_gettime() call. Fixes: b822d9dd67b5 ("gallium/util: move u_queue.{c,h} to src/util") Reviewed-by: Matt Turner <matts...@gmail.com> (cherry picked from commit b94ddc181bc514bd32c1d4103aa1c7582a7a60ff) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6ccb75e869be2543b74ce8bd9700264cb228d008 Author: Scott D Phillips <scott.d.phill...@intel.com> Date: Fri Aug 4 22:21:43 2017 +0000 intel/genxml: Fix gen10 BLEND_STATE variable length packing BLEND_STATE packing was modified to be variable-length in: 9670124e31 genxml: Make BLEND_STATE command support variable length array. The initial gen10.xml still had the old, fixed-length style definition for BLEND_STATE. So gen10_upload_blend_state would overwrite the packed BLEND_STATE_ENTRYs with its own fixed array of all-zero entries when packing BLEND_STATE. This caused BLEND_STATE upload to not work at all. Fixes: aa416f515a ("i965/genxml: Add gen10.xml") Reviewed-by: Rafael Antognolli <rafael.antogno...@intel.com> Reviewed-by: Anuj Phogat <anuj.pho...@gmail.com> (cherry picked from commit d6539608a440f0102f88b375d20143f5f2d0c798) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4fec4271beeae6b13ac80a3ef0c5c9e0053cc2a Author: Chris Wilson <ch...@chris-wilson.co.uk> Date: Sat Aug 5 10:39:59 2017 +0100 i965: Always allow CPU readback of the scanout on LLC platforms LLC platforms are magic in that reads from the CPU are always cache coherent, or rather GPU writes that bypass LLC do still invalidate the appropriate cache line. Cc: "17.2" <mesa-sta...@lists.freedesktop.org> Reviewed-by: Kenneth Graunke <kenn...@whitecape.org> (cherry picked from commit 49eda75df6aafdf5d2ffe5d9247b516ac7d14691) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=efb9b5740e1a0458e466d3ac280afb94a79b73c9 Author: Ilia Mirkin <imir...@alum.mit.edu> Date: Wed Aug 16 22:18:39 2017 -0400 glsl: add a few missing int64 constant propagation cases Fixes KHR-GL45.shader_ballot_tests.ShaderBallotAvailability, which causes some silly swizzles to appear, triggering this optimization to get hit. Signed-off-by: Ilia Mirkin <imir...@alum.mit.edu> Reviewed-by: Dave Airlie <airl...@redhat.com> Cc: mesa-sta...@lists.freedesktop.org (cherry picked from commit 9c8f017f77188d9048132a30d31f18b9690cbe04) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e44393cb238329dcc4e0fc1324f68b52a86e5922 Author: Dave Airlie <airl...@redhat.com> Date: Fri Aug 18 09:33:41 2017 +1000 radv: disable support for VEGA for now. I'm working on this, but I'm not sure I'll make 17.2 at this stage, maybe 17.2.1. Cc: "17.2" <mesa-sta...@lists.freedesktop.org> Reviewed-by: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> Signed-off-by: Dave Airlie <airl...@redhat.com> (cherry picked from commit 611076a41aac3095a82dff2432943d7f8d429822) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=81b5a6a85ba49ae83ef490624bce27eeff12a947 Author: Ilia Mirkin <imir...@alum.mit.edu> Date: Wed Aug 16 00:33:34 2017 -0400 nv50/ir: fix TXQ srcMask src0.x is always read for the LOD, irrespective of which outputs are read. Signed-off-by: Ilia Mirkin <imir...@alum.mit.edu> Cc: mesa-sta...@lists.freedesktop.org (cherry picked from commit 934511d1f3a8e2e9b0091d725c87a22a51233141) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5795e42116ddb85e1c0f094ed4645e8c1ab2f10a Author: Ilia Mirkin <imir...@alum.mit.edu> Date: Wed Aug 16 00:25:40 2017 -0400 nv50/ir: fix srcMask computation for TG4 and TXF This affects which inputs are marked as used. In a situation where only the texture instruction uses an input, it might have been ignored as unused due to input masks. Affects subtests of KHR-GL45.texture_cube_map_array.sampling Signed-off-by: Ilia Mirkin <imir...@alum.mit.edu> Cc: mesa-sta...@lists.freedesktop.org (cherry picked from commit 054c54d1be634dec106c30030bb4921f398d6c90) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=42e8f3ccdf3137fc2810f745d2ba5a93fa8a5b8e Author: Frank Richter <frank.rich...@dynardo.de> Date: Tue Aug 15 15:46:35 2017 +0200 gallium/os: fix os_time_get_nano() to roll over less Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102241 Cc: mesa-sta...@lists.freedesktop.org Reviewed-by: Brian Paul <bri...@vmware.com> Reviewed-by: Jose Fonseca <jfons...@vmware.com> (cherry picked from commit 7fb7287ce72066db7dffd918226bf15c3131a871) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e452ed26ff2272d12e1b8c435cb4fc24949627ff Author: Frank Richter <frank.rich...@dynardo.de> Date: Mon Aug 14 16:05:22 2017 +0200 st/wgl: check for negative delta in wait_swap_interval() This can happen because of rollover. See bug report for details. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102241 Cc: mesa-sta...@lists.freedesktop.org Reviewed-by: Brian Paul <bri...@vmware.com> Reviewed-by: Jose Fonseca <jfons...@vmware.com> (cherry picked from commit d90e05ad487e9fe7e17c293814ac8549d9d686d8) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c7c6ba44ca50a2ff7a6cbb0bdf48c03fab323eaf Author: Frank Richter <frank.rich...@dynardo.de> Date: Wed Jun 7 14:40:23 2017 +0200 st/mesa: fix a null pointer access Fixes crash with llvmpipe on Windows. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102148 Cc: mesa-sta...@lists.freedesktop.org Reviewed-by: Brian Paul <bri...@vmware.com> (cherry picked from commit 496a691e3544d082670ac1f33059692510a2a86d) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bdab7c69f5983aea197ca1a6746f60e58bcacb4c Author: Tim Rowley <timothy.o.row...@intel.com> Date: Mon Aug 7 20:33:24 2017 -0500 swr/rast: Fix invalid casting for calls to Interlocked* functions CID: 1416243, 1416244, 1416255 CC: mesa-sta...@lists.freedesktop.org Reviewed-by: Bruce Cherniak <bruce.chern...@intel.com> (cherry picked from commit b333bc753e2dd1ed1a676606046a4289e7d58187) [Emil Velikov: resolve trivial conflicts - LONG -> long] Signed-off-by: Emil Velikov <emil.veli...@collabora.com> Conflicts: src/gallium/drivers/swr/rasterizer/core/api.cpp src/gallium/drivers/swr/rasterizer/core/threads.cpp URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=47507ec1fd3f0811ca6e82ba9428cbb8a44e63bb Author: Ilia Mirkin <imir...@alum.mit.edu> Date: Tue Aug 15 13:47:08 2017 -0400 glsl/ast: update rhs in addition to the var's constant_value We continue in the code to do some more things with the rhs, including setting a constant initializer. If the type is wrong, this causes some confusion down the line, leading to assertions. This makes sure that the rhs processing continues to flow as-if the type was correct to start with (even though the state has been marked as an error state). Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101766 Signed-off-by: Ilia Mirkin <imir...@alum.mit.edu> Reviewed-by: Kenneth Graunke <kenn...@whitecape.org> Cc: mesa-sta...@lists.freedesktop.org (cherry picked from commit 978c4c597aa48e65bd6822a85e6b8f82ca9281f1) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3fb5cc263733590857ff56be92e79a45b223d57c Author: Dave Airlie <airl...@redhat.com> Date: Tue Aug 15 15:28:09 2017 +1000 radv/gfx9: for fast clear use is_linear flag. The legacy test won't work on gfx9. Reviewed-by: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> Cc: "17.2" <mesa-sta...@lists.freedesktop.org> Signed-off-by: Dave Airlie <airl...@redhat.com> (cherry picked from commit 694d59fbaf4bc85daaff6cc411162dd6d1232968) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=42d6e7eba2f12db66821c47a697f5a64a5ffe7a3 Author: David Airlie <airl...@dhcp-40-204.bne.redhat.com> Date: Tue Aug 15 14:02:54 2017 +1000 radv/gfx9: handle GFX9 opaque metadata port the opaque metadata changes from radeonsi for gfx9. Reviewed-by: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> Cc: "17.2" <mesa-sta...@lists.freedesktop.org> Signed-off-by: Dave Airlie <airl...@redhat.com> (cherry picked from commit e43cc3e3afc98783310f81f8c0151a8314044739) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f60ff71b6f459e20928af08a082afd85b6592fe6 Author: David Airlie <airl...@dhcp-40-204.bne.redhat.com> Date: Tue Aug 15 14:20:16 2017 +1000 radv: emit db_htile_surface reg on gfx9 as well This is also a GFX9 register. Reviewed-by: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> Cc: "17.2" <mesa-sta...@lists.freedesktop.org> Signed-off-by: Dave Airlie <airl...@redhat.com> (cherry picked from commit 674ecbfef2acb17be363867425a013ca151e16b2) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f70f21656454a50c25b17add5e20e6199aad2b8b Author: Dave Airlie <airl...@redhat.com> Date: Tue Aug 15 15:18:04 2017 +1000 radv/gfx9: remove some leftover gfx6 descriptor setup. We set this later in the non-gfx9 path, just remove these bits from here. Reviewed-by: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> Cc: "17.2" <mesa-sta...@lists.freedesktop.org> Signed-off-by: Dave Airlie <airl...@redhat.com> (cherry picked from commit fc600eb98d5846fe59f4a79ed1c7ad2a0667e927) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=827bf790521b584b54b27be4a67a189c39ed76b0 Author: Dave Airlie <airl...@redhat.com> Date: Tue Aug 15 15:17:38 2017 +1000 radv/gfx9: fix set predication packet. The predication packet changed format on GFX9, update the driver. Reviewed-by: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> Cc: "17.2" <mesa-sta...@lists.freedesktop.org> Signed-off-by: Dave Airlie <airl...@redhat.com> (cherry picked from commit 5247b311e9b348fedd74980a34c4b6542d85b07b) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b10b3a4173fe9ff2a5945002dff6a5e118f2c5f Author: Marek Olšák <marek.ol...@amd.com> Date: Sun Aug 13 19:22:06 2017 +0200 radeonsi: disable CE by default It makes performance worse by a very small (hard to measure) amount. We've done extensive profiling of this feature internally. Cc: 17.1 17.2 <mesa-sta...@lists.freedesktop.org> Reviewed-by: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> Acked-by: Christian König <christian.koe...@amd.com> (cherry picked from commit 1ab7fed7079a8b0f670d6a51ddc98691ace29508) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=27e7a3a5efc7ca6818429e337955b4ab316b307c Author: Scott D Phillips <scott.d.phill...@intel.com> Date: Wed Aug 9 15:52:30 2017 -0700 i965/blorp: Correct type of src_format in call to intel_miptree_texture_aux_usage intel_miptree_texture_aux_usage() takes an isl_format, but we are passing a mesa_format. clang warns: brw_blorp.c:305:52: warning: implicit conversion from enumeration type 'mesa_format' to different enumeration type 'enum isl_format' [-Wenum-conversion] intel_miptree_texture_aux_usage(brw, src_mt, src_format); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~ Fixes: fc1639e46d ("i965/blorp: Use texture/render_aux_usage for blits") Cc: "17.2" <mesa-sta...@lists.freedesktop.org> Reviewed-by: Jordan Justen <jordan.l.jus...@intel.com> Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net> (cherry picked from commit f7dfc44c617bec0f847ebe49b8672a64354ab13d) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=da005f55669ec8c2b2c5446216fbd82bc44c48bb Author: Ilia Mirkin <imir...@alum.mit.edu> Date: Sat Aug 12 13:43:34 2017 -0400 nv50/ir: clean up saturated values immediately Since we don't iterate to a fixed point, we can end up in situations where we have a SAT instruction + a long immediate. This is not legal. However since it's immediately computable, just run unary straight away to handle the situation. Fixes: 24a799ad35a82 ("nv50/ir: fix ConstantFolding with saturation") Reported-by: Tobias Klausmann <tobias.johannes.klausm...@mni.thm.de> Signed-off-by: Ilia Mirkin <imir...@alum.mit.edu> Cc: mesa-sta...@lists.freedesktop.org (cherry picked from commit 165e18dd219fbf4d60fd582b02e2dbf75ccd026f) _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit