URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e1734634bf2e5f6d16953dbf416cd9afdf4a145 Author: Emil Velikov <emil.veli...@collabora.com> Date: Fri Feb 9 02:15:14 2018 +0000
Update version to 18.0.0-rc4 Signed-off-by: Emil Velikov <emil.veli...@collabora.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c0d6d77512fa0fb462728bbd6cfee726570efa3 Author: Roland Scheidegger <srol...@vmware.com> Date: Tue Jan 30 05:48:27 2018 +0100 r600: don't do stack workarounds for hemlock By the looks of it it seems hemlock is treated separately to cypress, but certainly it won't need the stack workarounds cedar/redwood (and seemingly every other eg chip except cypress/juniper) need. (Discovered by accident.) Acked-by: Alex Deucher <alexander.deuc...@amd.com> (cherry picked from commit c2f0e0885776f3f0a18b9db08149564d4b98e5b7) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f90ba6c1e080f8909d0aa7e4d6e574c0d2706e01 Author: Jon Turney <jon.tur...@dronecode.org.uk> Date: Thu Jan 18 13:05:06 2018 +0000 travis: add osx autotools build Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> Reviewed-by: Emil Velikov <emil.veli...@collabora.com> (cherry picked from commit b3a1d9588eaa486a01c3a2964d69540a4bf45818) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f009ba1fd7c57c83e6a4caea86dc770cd18cbed8 Author: Jon Turney <jon.tur...@dronecode.org.uk> Date: Thu Feb 1 15:23:49 2018 +0000 travis: pip -> pip2 On travis, for OSX, python2 from homebrew is pre-installed. per [1]: python points to the macOS system Python (with no manual PATH modification) python2 points to Homebrew’s Python 2.7.x (if installed) python3 points to Homebrew’s Python 3.x (if installed) pip doesn't exist pip2 points to Homebrew’s Python 2.7.x’s pip (if installed) pip3 points to Homebrew’s Python 3.x’s pip (if installed) We will end up using 'python2' for building mesa. Just use 'pip2' instead of 'pip', as that seems to work for all platforms on travis. [1] https://docs.brew.sh/Homebrew-and-Python.html Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> Reviewed-by: Emil Velikov <emil.veli...@collabora.com> (cherry picked from commit 4701379d967f8c42fc8cffa0e1c80dc9074bb0d5) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=331bea12db37669269376cb17ebe83bb3e976585 Author: Jon Turney <jon.tur...@dronecode.org.uk> Date: Thu Feb 1 15:19:08 2018 +0000 travis: conditionalize building of prerequisites on if OS=linux Use a '|' YAML literal block to avoid the convoluted syntax needed to put the entire conditional on a single line. Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> Reviewed-by: Emil Velikov <emil.veli...@collabora.com> (cherry picked from commit 7d1ec6d6a92f15a24377738f12e59d80bab96da3) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=937b151e4f99b21e47b58c099397e768b00980bb Author: Jon Turney <jon.tur...@dronecode.org.uk> Date: Thu Jan 25 17:34:54 2018 +0000 glx/test: fix building for osx An additional stub for applegl_create_context() is needed Cannot test indirect API as it's not built on osx, currently Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> Reviewed-by: Emil Velikov <emil.veli...@collabora.com> (cherry picked from commit 63041ba61308a0576c73cb6bc3d98540669188cf) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d7a80f4ae3919072a8a02ced0ad856d91632ca8 Author: Jon Turney <jon.tur...@dronecode.org.uk> Date: Tue Jan 16 16:26:57 2018 +0000 glx/apple: locate dispatch table functions to wrap by name Avoid reaching into the dispatch table internals (and thus having to deal with the complexities of remap etc.) by identifying functions to wrap by name. See: https://lists.freedesktop.org/archives/mesa-dev/2015-June/086721.html et seq. https://bugs.freedesktop.org/show_bug.cgi?id=90311 Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> Reviewed-by: Emil Velikov <emil.veli...@collabora.com> (cherry picked from commit d3540b405b975450b9c2f9d8eb273be062cbf73a) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac08cc687345b6124153b20e9f21eef8eebc3b15 Author: Jon Turney <jon.tur...@dronecode.org.uk> Date: Sat Dec 2 17:05:43 2017 +0000 glx/apple: include util/debug.h for env_var_as_boolean prototype mesa/src/glx/glxcmds.c:1295:21: error: implicit declaration of function 'env_var_as_boolean' is invalid in C99 [-Werror,-Wimplicit-function-declaration] mesa/src/glx/apple/apple_visual.c:85:28: error: implicit declaration of function 'env_var_as_boolean' is invalid in C99 [-Werror,-Wimplicit-function-declaration] Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> Reviewed-by: Emil Velikov <emil.veli...@collabora.com> (cherry picked from commit b37b7b42dcc33d636c3db0558d032d7d95664c56) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=53f8d524a0ce4ff8ac4ea04306788217c2a99551 Author: Jon Turney <jon.tur...@dronecode.org.uk> Date: Sun Dec 3 21:58:12 2017 +0000 osx: ld doesn't support --build-id Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> Reviewed-by: Emil Velikov <emil.veli...@collabora.com> (cherry picked from commit f8ed9f24d5eac1549e480dd0348d091b4299302e) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eeee001d784716f25acdb8c3a283164230b1b96c Author: Jon Turney <jon.tur...@dronecode.org.uk> Date: Tue Jan 16 23:27:43 2018 +0000 configure: Default to gbm=no on osx Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> Reviewed-by: Emil Velikov <emil.veli...@collabora.com> (cherry picked from commit 7ad7a07c88b1b1c697132e8f990c0d9530fdf827) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6fb0121e2c153002286681b3bb6560e6954e0a4d Author: Eric Anholt <e...@anholt.net> Date: Thu Feb 1 11:12:47 2018 -0800 mesa: Drop incorrect A4B4G4R4 _mesa_format_matches_format_and_type() cases. swapBytes operates on bytes, not 4-bit channels, so you can't just take non-swapBytes cases and flip the REV flag. Avoids piglit texture-packed-formats regressions when enabling the ABGR4444 format. Fixes: c5a5c9a7db89 ("mesa/formats: add new mesa formats and their pack/unpack functions.") Reviewed-by: Marek Olšák <marek.ol...@amd.com> (cherry picked from commit 1429cd74c2c03a311d92a60b66806db3d96d6b16) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7769005a12e63adc46af7aa6f6d8bace1ea9dc80 Author: Dylan Baker <dy...@pnwbakers.com> Date: Fri Feb 2 10:45:12 2018 -0800 meson: Check for actual LLVM required versions Currently we always check for 3.9.0, which is pretty safe since everything except radv work with >= 3.9 and 3.9 is pretty old at this point. However, radv actually requires 4.0, and there is a patch for radeonsi to do the same. Fixes: 673dda833076 ("meson: build "radv" vulkan driver for radeon hardware") Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> Reviewed-by: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> (cherry picked from commit c75a4e5b465261e982ea31ef875325a3cc30e79d) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a99c5211ba9bdc15117892847b10a8de5b3c486 Author: Dylan Baker <dy...@pnwbakers.com> Date: Tue Jan 16 10:36:28 2018 -0800 meson: Don't confuse the install and search paths for dri drivers Currently there is not a separate option for setting the search path of DRI drivers in meson, like there is in scons and autotools. This is an oversight and needs to be fixed. This adds an extra option `dri-search-path`, which will default to the value of `dri-drivers-path`, like autotools does. v2: - Split input list before joining. v3: - use : instead of ; as the delimiter. The autotools help string incorrectly says ; but the code uses : v4: - Take list in pre : delimited form (Ilia) - Ensure that the dri-search-path is absolute when using dri_drivers_path Fixes: db9788420d4bc7b4 ("meson: Add support for configuring dri drivers directory.") Reported-by: Ilia Mirkin <imir...@alum.mit.edu> Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> Reviewed-by: Eric Anholt <e...@anholt.net> (v2) Reviewed-by: Eric Engestrom <e...@engestrom.ch> (v3) (cherry picked from commit d7235ef83b92175537e3b538634ffcff29bf0dce) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6a8939225710b01db846e612738d2eb05f7fa0a Author: Kenneth Graunke <kenn...@whitecape.org> Date: Wed Jan 31 07:03:17 2018 -0800 i965: Bump official kernel requirement to Linux v3.9. In commit 3f353342a6b6744773c26ed66b12afed42bd57af (present in 17.3.0) we started unconditionally using I915_EXEC_NO_RELOC, which was introduced in Linux v3.9. ChromeOS kernel 3.8 has backported this, so it should work too. Running on older kernels would likely result in every single batch being rejected by the kernel, which is pretty catastrophic. Yet, it appears that nobody noticed. So, let's just bump the official requirement and move forward ever so slowly. Fixes: 3f353342a6b ("i965: Use I915_EXEC_NO_RELOC") Reviewed-by: Chris Wilson <ch...@chris-wilson.co.uk> Acked-by: Emil Velikov <emil.veli...@collabora.com> (cherry picked from commit c3cd2aac279908a2de755d9454f293761d7b8d5a) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a445cba84d982a2f8b6eed24cf9e83fe47fee682 Author: Marc Dietrich <marvi...@gmx.de> Date: Thu Feb 1 13:27:28 2018 +0100 meson: don't install windows headers on non-windows platforms Only dive into the windows subdir if windows platform is selected. Signed-off-by: Marc Dietrich <marvi...@gmx.de> Fixes: 5ef75cb02b2b4db5506b8 "meson: build src/glx/windows" Reviewed-by: Eric Engestrom <eric.engest...@imgtec.com> (cherry picked from commit 4c5f0b4fd45a5ca96a0e3137c177140dd85b149e) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4ac792671e574bedd00e01951580654912bb3fb Author: Andres Gomez <ago...@igalia.com> Date: Mon Jan 29 18:25:30 2018 +0200 i965: perform 2 uploads with dual slot *64*PASSTHRU formats on gen<8 The emission of vertex attributes corresponding to dvec3 and dvec4 vertex shader input variables was not correct when the <size> passed to the VertexAttribL* commands was <= 2. In 61a8a55f557 ("i965/gen8: Fix vertex attrib upload for dvec3/4 shader inputs"), for gen8+ we needed to determine if the attrib was dual slot to emit 128 or 256-bit, independently of the VAO size. Similarly, for gen < 8 we also need to determine whether the attrib is dual slot to force the emission of 256-bits through 2 uploads. Additionally, we make use of the ISL_FORMAT_R32_FLOAT format in this second upload to fill these unspecified components with zeros, as we also do for gen8+. Fixes the following test on Haswell: KHR-GL46.vertex_attrib_binding.basic-inputL-case1 v2: Added more inline comments to explain why we are using ISL_FORMAT_R32_FLOAT and its consequences, as requested by Alejandro and Antía. Fixes: 75968a668e4 ("i965/gen7: expose OpenGL 4.2 on Haswell when supported") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103006 Cc: Alejandro Piñeiro <apinhe...@igalia.com> Cc: Juan A. Suarez Romero <jasua...@igalia.com> Cc: Antia Puentes <apuen...@igalia.com> Cc: Rafael Antognolli <rafael.antogno...@intel.com> Cc: Kenneth Graunke <kenn...@whitecape.org> Signed-off-by: Andres Gomez <ago...@igalia.com> Reviewed-by: Alejandro Piñeiro <apinhe...@igalia.com> Reviewed-by: Antia Puentes <apuen...@igalia.com> Reviewed-by: Rafael Antognolli <rafael.antogno...@intel.com> Reviewed-by: Kenneth Graunke <kenn...@whitecape.org> (cherry picked from commit 5a7aba2e0a7fb3414a94d04d5970a2ed10c1f63e) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=25583470fc4bc8c43a4cd55079ba0276d2759078 Author: Michel Dänzer <michel.daen...@amd.com> Date: Fri Jan 26 18:32:32 2018 +0100 winsys/radeon: Compute is_displayable in surf_drm_to_winsys It was always 0, breaking (at least) DRI3 with Xwayland. Bugzilla: https://bugs.freedesktop.org/104306 Fixes: 5f2073be3282 ("ac/surface: add ac_surface::is_displayable") Reviewed-by: Marek Olšák <marek.ol...@amd.com> (cherry picked from commit 1cf1bf32eff5ffca0b928c0884b0e792207b61b7) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7eaa4049f11ececb06b0065611ea9161b3e501b0 Author: Matthew Nicholls <mnicho...@feralinteractive.com> Date: Mon Jan 29 16:26:18 2018 +0000 radv: remove predication on cache flushes This can lead to a situation where cache flushes could get conditionally disabled while still clearing the flush_bits, and thus flushes due to application pipeline barriers may never get executed. Fixes: a6c2001ace (radv: add support for cmd predication.) Signed-off-by: Dave Airlie <airl...@redhat.com> (cherry picked from commit ef272b161e05e8216f2d1f4df5023f3aed0ae4fa) [Emil Velikov: trivial conflicts] Signed-off-by: Emil Velikov <emil.veli...@collabora.com> Conflicts: src/amd/vulkan/radv_cmd_buffer.c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=15ef35052c0df90b4dc54bd1e1f4005227311442 Author: Dave Airlie <airl...@redhat.com> Date: Tue Nov 14 06:52:06 2017 +1000 virgl: also remove dimension on indirect. This fixes some dEQP tests that generated bad shaders. Fixes: b6f6ead19 (virgl: drop const dimensions on first block.) Reviewed-by: Gurchetan Singh <gurchetansi...@chromium.org> Tested-by: Gurchetan Singh <gurchetansi...@chromium.org> Signed-off-by: Dave Airlie <airl...@redhat.com> (cherry picked from commit 49c61d8b841538e09b8c2b2d2f409147fd7b549a) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c688263234e28113f8b879d9f91bc0243bcd0c5 Author: Dave Airlie <airl...@redhat.com> Date: Mon Jan 29 04:15:09 2018 +0000 radv/gfx9: fix block compression texture views. (v2) This ports a fix from amdvlk, to fix the sizing for mip levels when block compressed images are viewed using uncompressed views. My original fix didn't power the clamping, but it looks like the clamping is required to stop the sizing going too large. Fixes: dEQP-VK.image.texel_view_compatible.graphic.extended*bc* Doesn't crash DOW3 anymore. Reviewed-by: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> Fixes: e38685cc62e 'Revert "radv: disable support for VEGA for now."' Signed-off-by: Dave Airlie <airl...@redhat.com> (cherry picked from commit f6cc15dccd54ff70be987457af790cac1c8fe5bb) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a26b547250629e61fc9f0cc037fceac9003c6da Author: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> Date: Sat Jan 27 14:51:12 2018 +0100 radv: Signal fence correctly after sparse binding. It did not signal syncobjs in the fence, and also signalled too early if there was work on the queue already, as we have to wait till that work is done. Fixes: d27aaae4d2 "radv: Add external fence support." Reviewed-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> (cherry picked from commit 0347a83bbfd8d993742e125335c6ae46a6aa5a15) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c827600edf5f0a8ce33ffb4c5c310aae298df13 Author: Jon Turney <jon.tur...@dronecode.org.uk> Date: Thu Jan 25 18:53:08 2018 +0000 meson: libdrm shouldn't appear in Requires.private: if it wasn't found Otherwise, using pkg-config to retrieve flags will fail, e.g. $ pkg-config gl --cflags Package libdrm was not found in the pkg-config search path. Perhaps you should add the directory containing `libdrm.pc' to the PKG_CONFIG_PATH environment variable Package 'libdrm', required by 'gl', not found Fixes: 3218056e0eb3 ("meson: Build i965 and dri stack") Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> (cherry picked from commit 4a0bab1d7f942ad0ac9b98ab34e6a9e4694f3c04) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c369ec95d907953320b4e3cc6498b85e38757f4d Author: Timothy Arceri <tarc...@itsqueeze.com> Date: Fri Jan 26 11:56:50 2018 +1100 st/shader_cache: restore num_tgsi_tokens when loading from cache Without this we will fail to correctly serialise programs when using glGetProgramBinary() if the program was retrieved from the disk cache rather than freshly compiled. Fixes: c69b0dd6817b "st/glsl_to_tgsi: store num_tgsi_tokens in st_*_program" Reviewed-by: Gert Wollny <gw.foss...@gmail.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104762 (cherry picked from commit 041b18cf23a0acf7b0eddf63cd7a2a10192432a1) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=626c84edb301f018836d4b79faa443e7a4b4fb5d Author: Rafael Antognolli <rafael.antogno...@intel.com> Date: Fri Jan 26 11:19:31 2018 -0800 i965/gen10: Use CS Stall instead of WriteImmediate. Fixes: ca19ee33d7d39cb89d948b1c983763065975ce5b Signed-off-by: Rafael Antognolli <rafael.antogno...@intel.com> Cc: Kenneth Graunke <kenn...@whitecape.org> Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net> (cherry picked from commit 131e871385b343467d3f8be0a8f3ccf09ab81075) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=657817030bf456985e919a4c7a7f0dd70f10f645 Author: Rafael Antognolli <rafael.antogno...@intel.com> Date: Fri Jan 26 11:15:47 2018 -0800 anv/gen10: Emit CS stall and mark push constants dirty. I got reviews and fixed the patches locally, but ended up merging the ones that I sent originally to the list. This patch fixes those mistakes. Fixes: 78c125af3904c539ea69bec2dd9fdf7a5162854f Signed-off-by: Rafael Antognolli <rafael.antogno...@intel.com> Cc: Jason Ekstrand <ja...@jlekstrand.net> Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net> (cherry picked from commit 20578f81a6a9a7d13b97083863d1240ac13aa5bd) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e6018eceb91489838cc1fcbca6efd338876c4743 Author: Stephan Gerhold <step...@gerhold.net> Date: Wed Jan 24 15:13:24 2018 +0100 util/build-id: Fix address comparison for binaries with LOAD vaddr > 0 build_id_find_nhdr_for_addr() fails to find the build-id if the first LOAD segment has a virtual address other than 0x0. For most shared libraries, the first LOAD segment has vaddr=0x0: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align LOAD 0x000000 0x00000000 0x00000000 0x2d2e26 0x2d2e26 R E 0x1000 LOAD 0x2d2e54 0x002d3e54 0x002d3e54 0x2e248 0x2f148 RW 0x1000 However, compiling the Intel Vulkan driver as 32-bit binary on Android produces the following ELF header with vaddr=0x8000 instead: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align PHDR 0x000034 0x00008034 0x00008034 0x00100 0x00100 R 0x4 LOAD 0x000000 0x00008000 0x00008000 0x224a04 0x224a04 R E 0x1000 LOAD 0x225710 0x0022e710 0x0022e710 0x25988 0x27364 RW 0x1000 build_id_find_nhdr_callback() compares the address of dli_fbase from dladdr() and dlpi_addr from dl_iterate_phdr(). With vaddr > 0, these point to a different memory address, e.g.: dli_fbase=0xd8395000 (offset 0x8000) dlpi_addr=0xd838d000 At least on glibc and bionic (Android) dli_fbase refers to the address where the shared object is mapped into the process space, whereas dlpi_addr is just the base address for the vaddrs declared in the ELF header. To compare them correctly, we need to calculate the start of the mapping by adding the vaddr of the first LOAD segment to the base address. Note: musl users will need the following patch. https://git.musl-libc.org/cgit/musl/commit/?id=b3ae7beabb9f0c219bb8a8b63567a01c6530c1ac Cc: Chad Versace <chadvers...@chromium.org> Cc: <mesa-sta...@lists.freedesktop.org> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104642 Fixes: 5c98d38 "util: Query build-id by symbol address, not library name" Reviewed-by: Emil Velikov <emil.veli...@collabora.com> Reviewed-by: Tapani Pälli <tapani.pa...@intel.com> (cherry picked from commit 02e2009b929a0f101540b9b55c5f0ed859d1b3be) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=227e0fb0a439807fc4f1930ab6a684920708601f Author: Jordan Justen <jordan.l.jus...@intel.com> Date: Fri Feb 2 13:03:10 2018 -0800 i965: Create new program cache bo when clearing the program cache When the disk shader cache CI testing was enabled, we started noticing occasional failures on deqp test runs. (Mainly SNB, rarely HSW) Before this change, when we cleared the (in memory) program cache we reused the same bo. Since the disk shader cache quickly restores programs, it appears that this would lead to overwrites of the older program binaries in the in memory program cache that apparently were still executing in some cases. If these programs were still executing, this could cause a GPU hang. This issue is probably not disk shader cache specific, but may have been hidden due to the compiler taking time to recompile programs after the cache was cleared. v2: * Don't add `copy` param to brw_cache_new_bo (Ken) * Call from brw_program_cache_check_size (Ken) Cc: Kenneth Graunke <kenn...@whitecape.org> Cc: mesa-sta...@lists.freedesktop.org Signed-off-by: Jordan Justen <jordan.l.jus...@intel.com> Reviewed-by: Kenneth Graunke <kenn...@whitecape.org> (cherry picked from commit 83e60ce927142752c57163fcb8b30eca2370d014) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=28097758a8d6cfc35333e0339b883067ef8a962e Author: George Kyriazis <george.kyria...@intel.com> Date: Thu Feb 1 10:46:27 2018 -0600 meson/swr: Updated copyright dates cc: mesa-sta...@lists.freedesktop.org cc: dy...@pnwbakers.com Reviewed-by: Dylan Baker <dy...@pnwbakers.com> (cherry picked from commit bbef9474fa52d9aba06eeede52558fc5ccb762dd) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5afeb68c7e87740230f7daa954b17c33d066a625 Author: George Kyriazis <george.kyria...@intel.com> Date: Wed Jan 31 21:44:54 2018 -0600 meson/swr: re-shuffle generated files Move generated files from codegen/meson.build to other directories, in order to satisfy generated include file dependencies Add correct file lists for architecture-specific libraries. cc: mesa-sta...@lists.freedesktop.org cc: dy...@pnwbakers.com Reviewed-by: Dylan Baker <dy...@pnwbakers.com> (cherry picked from commit 16bf8138308008f4b889caa827a8291ff72745b8) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4d9ceecf809d455aeed581d12167e4ff4c29d1f Author: Jason Ekstrand <jason.ekstr...@intel.com> Date: Wed Jan 31 17:31:39 2018 -0800 i965: Call prepare_external after implicit window-system MSAA resolves This fixes some rendering corruption in a couple of Android apps that use window-system MSAA. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104741 Cc: mesa-sta...@lists.freedesktop.org Reviewed-by: Tapani Pälli <tapani.pa...@intel.com> (cherry picked from commit 2f7205be47bbb730cdfa0a037224b9ebd5224fd1) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=133aa8c9f7d2cf9323e3fc9e826ace67ed2e1b37 Author: Emil Velikov <emil.veli...@collabora.com> Date: Mon Feb 5 19:04:56 2018 +0000 cherry-ignore: radv: Don't expose VK_KHX_multiview on android. stable: The KHX extension is disabled all together in the stable branches. Signed-off-by: Emil Velikov <emil.veli...@collabora.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a307f0696987a4a4f5b0a42ac1613e1a7877927d Author: Emil Velikov <emil.veli...@collabora.com> Date: Mon Feb 5 19:00:48 2018 +0000 radv: Stop advertising VK_KHX_multiview We don't want to advertise experimental extensions in actual releases. However, there's no harm in leaving the code lying around in the tree. [Emil Velikov: port from equivalent ANV commit] Signed-off-by: Emil Velikov <emil.veli...@collabora.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d50d11f84bdcc402a513b26318db849a71680ee8 Author: Jason Ekstrand <ja...@jlekstrand.net> Date: Mon Jul 31 11:27:23 2017 -0700 anv: Stop advertising VK_KHX_multiview We don't want to advertise experimental extensions in actual releases. However, there's no harm in leaving the code lying around in the tree. (cherry picked from commit e4371d14f17049e4878966de60cfb88e8cd137cb) Signed-off-by: Emil Velikov <emil.veli...@collabora.com> Conflicts: src/intel/vulkan/anv_device.c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c2caeb4415287642d36f8312de84b8863ebd0a3 Author: Lucas Stach <l.st...@pengutronix.de> Date: Tue Jan 30 15:11:35 2018 +0100 renderonly: fix dumb BO allocation for non 32bpp formats Take into account the resource format, instead of applying a hardcoded 32bpp. This not only over-allocates 16bpp formats, but also results in a wrong stride being filled into the handle. Fixes: 848b49b288f ("gallium: add renderonly library") CC: <mesa-sta...@lists.freedesktop.org> Signed-off-by: Lucas Stach <l.st...@pengutronix.de> Reviewed-by: Philipp Zabel <p.za...@pengutronix.de> Reviewed-by: Daniel Stone <dani...@collabora.com> (cherry picked from commit 0c71a19fe4368beaaf7ac676403b3079ad658890) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3cfa244e150b0b795e7b108273643188f5e547b Author: Jason Ekstrand <jason.ekstr...@intel.com> Date: Fri Jan 26 16:22:27 2018 -0800 anv/cmd_buffer: Re-emit the pipeline at every subpass If we ever hit this edge-case, it can theoretically cause problem for CNL because we could end up changing render targets without re-emitting 3DSTATE_MULTISAMPLE which is part of the pipeline. Just get rid of the edge case. Cc: mesa-sta...@lists.freedesktop.org Reviewed-by: Iago Toral Quiroga <ito...@igalia.com> (cherry picked from commit 97938dac36e2875001ba24a7968e4cd8e2271321) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=446187287aa785b36a15ab430907ef2bdbd50c08 Author: Dave Airlie <airl...@redhat.com> Date: Tue Jan 30 16:38:51 2018 +1000 r600/sb: insert the else clause when we might depart from a loop If there is a break inside the else clause and this means we are breaking from a loop, the loop finalise will want to insert the LOOP_BREAK/CONTINUE instruction, however if we don't emit the else there is no where for these to end up, so they will end up in the wrong place. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101442 Tested-By: Gert Wollny <gw.foss...@gmail.com> Cc: <mesa-sta...@lists.freedesktop.org> Reviewed-by: Roland Scheidegger <srol...@vmware.com> Signed-off-by: Dave Airlie <airl...@redhat.com> (cherry picked from commit 8d633f067b8a3d74e3f39faea0773a229d4b93b3) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=af748138ebef33c6771e17e6804ba31981bb89e2 Author: Tapani Pälli <tapani.pa...@intel.com> Date: Fri Jan 26 11:26:18 2018 +0200 nir: mark unused space in packed_tex_data This change cleans following scary warnings in valgrind output when disk cache is being written: ==6532== Uninitialised byte(s) found during client check request ==6532== at 0x14423FAD: blob_write_bytes (blob.c:152) ==6532== by 0x144240FB: blob_write_uint32 (blob.c:194) ==6532== by 0x144001A5: write_tex (nir_serialize.c:613) and later (loads of): ==6532== Use of uninitialised value of size 8 ==6532== at 0x62FCD9E: crc32_z (in /usr/lib64/libz.so.1.2.11) ==6532== by 0x13F65014: util_hash_crc32 (crc32.c:127) ==6532== by 0x13F5DABA: cache_put (disk_cache.c:947) Signed-off-by: Tapani Pälli <tapani.pa...@intel.com> Cc: mesa-sta...@lists.freedesktop.org Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net> Reviewed-by: Emil Velikov <emil.veli...@collabora.com> (cherry picked from commit d0343bef6680cc660ba691bbed31a2a1b7449f79) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=753e9d6dd23042d278166f235348c263098bc71d Author: Tapani Pälli <tapani.pa...@intel.com> Date: Fri Jan 26 10:47:31 2018 +0200 i965: fix disk_cache leak when destroying context ==2780== 1,024 bytes in 1 blocks are possibly lost in loss record 180 of 205 ==2780== at 0x4C31A1E: calloc (vg_replace_malloc.c:711) ==2780== by 0x13F6467E: util_queue_init (u_queue.c:309) ==2780== by 0x13F5C9F6: disk_cache_create (disk_cache.c:369) ==2780== by 0x13F05406: brw_disk_cache_init (brw_disk_cache.c:428) ==2780== by 0x13F01E78: brwCreateContext (brw_context.c:1068) Fixes: 1a61a8b9a7c ("i965: Initialize disk shader cache if MESA_GLSL_CACHE_DISABLE is false") Signed-off-by: Tapani Pälli <tapani.pa...@intel.com> Cc: mesa-sta...@lists.freedesktop.org Reviewed-by: Iago Toral Quiroga <ito...@igalia.com> Reviewed-by: Emil Velikov <emil.veli...@collabora.com> Reviewed-by: Jordan Justen <jordan.l.jus...@intel.com> (cherry picked from commit b99c88037bf64b033579f237ec287857c53b0ad6) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=62e8b651b1e005bf06452fe2aa8461a8513b274a Author: Tapani Pälli <tapani.pa...@intel.com> Date: Fri Jan 26 10:25:16 2018 +0200 i965: fix prog_data leak in brw_disk_cache ==25481== 576 bytes in 1 blocks are definitely lost in loss record 179 of 208 ==25481== at 0x4C2FB6B: malloc (vg_replace_malloc.c:299) ==25481== by 0x1404E2CC: ralloc_size (ralloc.c:121) ==25481== by 0x14119F82: read_and_upload (brw_disk_cache.c:176) ==25481== by 0x1411A5C9: brw_disk_cache_upload_program (brw_disk_cache.c:271) ==25481== by 0x1412FCA4: brw_upload_wm_prog (brw_wm.c:597) Fixes: 516d50db319 ("i965: add initial implementation of on disk shader cache") Cc: mesa-sta...@lists.freedesktop.org Signed-off-by: Tapani Pälli <tapani.pa...@intel.com> Reviewed-by: Iago Toral Quiroga <ito...@igalia.com> Reviewed-by: Emil Velikov <emil.veli...@collabora.com> (cherry picked from commit 28db950b51274ce296cd625db62abe935d1e4ed9) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=412c850120a4bb9a1829358bbf8314d5765b02e0 Author: Dave Airlie <airl...@redhat.com> Date: Fri Jan 19 13:20:36 2018 +1000 r600/eg: construct proper rat mask for image/buffers. If the images/buffer bindings had a gap, this produced the wrong values, this should fix that to generate the correct rat mask for mixes of images/buffers/cbs. Reviewed-by: Roland Scheidegger <srol...@vmware.com> Cc: "18.0" <mesa-sta...@lists.freedesktop.org> Signed-off-by: Dave Airlie <airl...@redhat.com> (cherry picked from commit e0e23ea69cab23b9193b1e7c568fd23fc7073071) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=61c42583d9d0fa2e762004a2c4356016f057c514 Author: Marek Olšák <marek.ol...@amd.com> Date: Fri Jan 26 03:48:37 2018 +0100 winsys/amdgpu: fix assertion failure with UVD and VCE rings Cc: 18.0 <mesa-sta...@lists.freedesktop.org> (cherry picked from commit 17423c993d0b083c7a77a404b85788687f5efe36) _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit