URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a2e6abe56a321bf0c5d166e108ab37470ce6b15 Author: Eric Engestrom <e...@engestrom.ch> Date: Wed Dec 13 19:15:13 2023 +0000
docs: add sha256sum for 23.3.1 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6cdc2b044d5cbf094540cbb562a32ecbe339fcc2 Author: Eric Engestrom <e...@engestrom.ch> Date: Wed Dec 13 18:58:59 2023 +0000 VERSION: bump for 23.3.1 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9d588b5db6a5bf04c5934a2e9a8b3354fe02094 Author: Eric Engestrom <e...@engestrom.ch> Date: Wed Dec 13 18:57:25 2023 +0000 docs: add release notes for 23.3.1 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7e3f3b58cf6750627523e7c65220fc9738e786a Author: Juan A. Suarez Romero <jasua...@igalia.com> Date: Wed Dec 6 12:42:37 2023 +0100 ci: do not mount already mounted directories In some cases we are using an initramfs image that pre-mounts some of the directories, so let's skip them in the next stage. Reviewed-by: Eric Engestrom <e...@igalia.com> Reviewed-by: David Heidelberg <david.heidelb...@collabora.com> Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26552> (cherry picked from commit d0ae58f4134bededcab45cf80dc9f194fdc1bdf3) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=137420fe9d6efc80d81f88d9be1c11e347a92cb0 Author: Juan A. Suarez Romero <jasua...@igalia.com> Date: Wed Dec 6 12:39:49 2023 +0100 ci/baremetal: make BM_BOOTCONFIG optional In some cases we can have the config.txt boot file already available in the tftp folder. Reviewed-by: Eric Engestrom <e...@igalia.com> Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26552> (cherry picked from commit f97e065c4f72856eccefcbf7dbe72253a6918294) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3ece9b09f5f25141cc20429f28821aea058db98 Author: Eric Engestrom <e...@igalia.com> Date: Sat Nov 18 16:12:17 2023 +0000 ci: fix kdl commit fetch Doing a `clone --depth 1` of the default branch then checking out a commit that might not be the latest of that branch cannot work. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26270> (cherry picked from commit 5efa4d56e2b7f2440d263ffb794ab3247d70d529) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=109f64de6c76927eafac5f68e40c8b61d590bc5a Author: Yiwei Zhang <zzyi...@chromium.org> Date: Sat Dec 9 06:02:10 2023 +0000 driconfig: add a workaround for Hades (Vulkan backend) Vulkan backend of Hades can only handle at most 3 swapchain images. It affects all drivers after below commit: 04d654a5d0b7bb4a072f515f6fbe2a686fc7f7f8 and then only affects specific driver backend which enables extra_xwayland_image in wsi device options after below commit: c1a62476acefcc94de9fd8e7f74d6bd9576796a7 Cc: mesa-stable Signed-off-by: Yiwei Zhang <zzyi...@chromium.org> Reviewed-by: Renato Pereyra <renatopere...@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26607> (cherry picked from commit 88c5affacf947ce64361fbe4155d2d9600f6a981) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=da30685af9121ed2a91f0b854cf0975e581769cc Author: Eric Engestrom <e...@igalia.com> Date: Sun Dec 10 16:35:53 2023 +0000 spirv: add missing build dependency Fixes: 59a72570b66ad7c4fd95 ("compiler: Move spirv into a module of its own") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10277 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26624> (cherry picked from commit c51e40dd8b031fb43993e3e6413c035f81ab1afa) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a858601acd87d62cecb6b36212e458140462c0a3 Author: Ian Romanick <ian.d.roman...@intel.com> Date: Thu Nov 30 13:30:53 2023 -0800 nir: Handle divergence for decl_reg Once decl_reg is handled, src[0].ssa->divergent will be properly set, so load_reg and load_reg_indirect do not need special treatment. shader-db can run to completion on HSW, IVB, and SNB now. No other testing was done. v2: Refactor nir_intrinsic_load_reg and nir_intrinsic_load_reg_indirect handling. Suggested by Daniel Schürmann. Reviewed-by: Daniel Schürmann <dan...@schuermann.dev> Fixes: 4fd257d20fe ("nir: Properly handle divergence for load_reg") Fixes: 6dbb5f1e07b ("intel/fs: rerun divergence analysis prior to convert_from_ssa") Closes: #10233 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26436> (cherry picked from commit 7fce0a5598fbfba73e10460b37865fe54b7c5bfc) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=49f4db4fa137e8f328cb21523caf66c6c79872d7 Author: David Heidelberg <david.heidelb...@collabora.com> Date: Sun Dec 10 17:02:35 2023 +0100 docs: drop unused manual optimizations override Fixes: ed4fd1d90e3f ("util: cleanup cpuinfo.* and it's related files") Reviewed-by: Erik Faye-Lund <erik.faye-l...@collabora.com> Signed-off-by: David Heidelberg <david.heidelb...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26620> (cherry picked from commit 81be60a2330296eef1186d6508a2a48e5483bc1a) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f12cdb8ba75aac2f3fceb86b00575c6eb70aa5e Author: Eric Engestrom <e...@engestrom.ch> Date: Tue Dec 12 09:59:52 2023 +0000 .pick_status.json: Update to a921a69010102c6e35267066dc8a50461cae46fd URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=836ef56c51c9f904417f165815e8a3b197bd9d00 Author: Juston Li <justo...@google.com> Date: Fri Dec 8 13:51:12 2023 -0800 venus: fix query feedback copy sanitize off by 1 Copy sanitization incorrectly included +1 range of the reset. Eg Reset Query=0 QueryCount=5 is [0,5) exclusive, not [0,5] inclusive. Fixes: 5b24ab91e43 ("venus: switch to unconditionally deferred query feedback") Signed-off-by: Juston Li <justo...@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26603> (cherry picked from commit 4f2b4b81d16edec691940f84e9b2b8e2cdb3dfd4) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a6094622576c6a2b670f15020f1251ac2095277 Author: Rob Clark <robdcl...@chromium.org> Date: Fri Dec 8 11:30:44 2023 -0800 freedreno/a6xx: Fix NV12+UBWC import Treat R8_G8B8_420_UNORM and NV12 the same, because dri2 frontend doesn't understand or care about the difference from the sampler PoV. Fixes: 1e820ac12850 ("freedreno: Rework supported-modifiers handling") Signed-off-by: Rob Clark <robdcl...@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26601> (cherry picked from commit 2132f95de0b0f291b116a67149793eaac2e2b5bf) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fd321f72a08778d6b8a10ea08ecdd77aac2efcba Author: Mark Collins <m...@igalia.com> Date: Tue Nov 14 07:43:10 2023 +0000 meson: Update lua wrap to 5.4.6-4 This version of the lua wrap fixes installation of the library which was previously causing liblua SOs to be missing when Mesa was installed using `meson install`. Signed-off-by: Mark Collins <pixely...@protonmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26185> (cherry picked from commit fa0476fa6e98b3ccdbcbe5d562ab8dbb7cba0c84) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=77d464619c1c788bdd6a081cde950ab3ac381123 Author: Eric Engestrom <e...@engestrom.ch> Date: Sun Dec 10 17:27:26 2023 +0000 .pick_status.json: Update to 9ab59574ef162393f89c36980a366eeb8ecccb64 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=583b2e031cdf19ca08e5da79652b82d47bc3729b Author: Dave Airlie <airl...@redhat.com> Date: Thu Dec 7 13:14:34 2023 +1000 nvk: fix transform feedback with multiple saved counters. The SET_STREAM_OUT_BUFFER_LOAD_WRITE_POINTER registers have an 8 dword stride, but the code is only adding one dword between them then the MME is calling an illegal method. This is the simple fix, otherwise I think we'd have to multiply somehow in the MME which seems pointless. Fixes KHR-GL45.transform_feedback* on zink on nvk. Fixes: 5fd7df4aa2c3 ("nvk: Support for vertex shader transform feedback") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26558> (cherry picked from commit 1b27a6be20732b251648c5ca6f93e6c0a9279f7f) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d9ec22da3ccf3ffc1d1da59f63f682ce42fbb8b Author: Yiwei Zhang <zzyi...@chromium.org> Date: Tue Nov 28 12:17:29 2023 -0800 venus: properly initialize ring monitor initial alive status This avoids a potential race condition if two threads are competing for the monitor with the initial states, and the losing one may run into alive status being false and abort. Fixes: 4a4b05869a6 ("venus: check and configure new ringMonitoring feature") Signed-off-by: Yiwei Zhang <zzyi...@chromium.org> Reported-by: Lina Versace <l...@kiwitree.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26179> (cherry picked from commit 8ac7d78bf3512aa7575f9c8595494ea592ab2e58) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f6ee029d8787b23721acd4653f6049233b2f8d4 Author: Yiwei Zhang <zzyi...@chromium.org> Date: Sat Nov 11 19:27:10 2023 -0800 venus: fix async compute pipeline creation Fixes: a771efdefed ("venus: Enable VK_EXT_pipeline_creation_cache_control") Signed-off-by: Yiwei Zhang <zzyi...@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26179> (cherry picked from commit aed4c4d04e76e65ed3ae3159ae12014aa1c8f492) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8975c22b5259c69c404c06dde36b352b46303d28 Author: Kenneth Graunke <kenn...@whitecape.org> Date: Wed Dec 6 08:01:36 2023 -0800 anv: Don't report more memory available than the heap size When calculating the system memory heap size, we report only 3/4 of the total RAM size (or 1/2 for systems with less than 4GB of RAM). In the memory budget extension query, we were reporting 90% of the available system memory. If most of the memory in the system is free, this could result in the total heap size being 3/4 of RAM, but the memory available being 9/10 of RAM. But if the application tried to allocate the memory reported as "available", it would exceed the heap size. This can confuse some applications. This patch makes the memory budget query clamp the available RAM to the heap size, so it will never report more available than the heap can provide. Unfortunately, this means that we'll report only 67.5% of system memory as available (3/4 * 9/10). We may want to adjust this estimate in the future. Cc: mesa-stable Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Reviewed-by: José Roberto de Souza <jose.so...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26553> (cherry picked from commit a7b054c974155183cbbc90f3929de37f40200b79) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=db5d58d009e7dad2ccac1bd049751853669c5266 Author: Kenneth Graunke <kenn...@whitecape.org> Date: Wed Dec 6 07:48:11 2023 -0800 anv: Drop 3/4 of PPGTT size restriction for sys heap size calculation This was mainly useful for older Gen7.x GPUs with 32-bit PPGTT, which are now supported by hasvk rather than anv. The remaining platforms which anv supports have 36, 47, or 48-bit PPGTT, which imposes a 3/4 limit of 48GB, 96TB, and 192TB of memory. The GPUs with 36-bit PPGTT are Elkhart Lake and Jasper Lake, which appear to be Atom CPUs that have a maximum supported memory configuration of 32GB or less, so this limit should not matter there. Nor is a multi-TB limit likely to matter on our other parts. Drop this check to simplify the heap and memory budget calculations. Cc: mesa-stable Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Reviewed-by: José Roberto de Souza <jose.so...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26553> (cherry picked from commit 029b1d3f262051c9b0fc3ba6c7faca2affa18ddf) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3913722a7faaed74d579199e4b86d2f14013572f Author: Rohan Garg <rohan.g...@intel.com> Date: Thu Nov 30 20:30:39 2023 +0100 intel/compiler: infer the number of operands using lsc_op_num_data_values nir_emit_global_atomic should utilize lsc_op_num_data_values to infer the number of operands for global atomic ops, following the same pattern as nir_emit_surface_atomic Fixes: 90a2137 ('intel/compiler: Use LSC opcode enum rather than legacy BRW_AOPs') Signed-off-by: Rohan Garg <rohan.g...@intel.com> Reviewed-by: Kenneth Graunke <kenn...@whitecape.org> Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26432> (cherry picked from commit db6aaa691d05ef017b803d11cce4e341d1a98882) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b4f608e105c34fec91e7e2b6fbe4f162435fb5e Author: José Roberto de Souza <jose.so...@intel.com> Date: Mon Dec 4 07:41:39 2023 -0800 anv: Fix handling of host_cached_coherent bos in gen9 lp in older kernels Kernel versions without DRM_I915_QUERY_MEMORY_REGIONS support will take a different code path in i915_gem_create() that lacks the i915_gem_set_caching() call to make cached bos in gen9 lp 1 way coherent. Fixes: fc0acf6d90 ("anv: Move i915 specific gem_set_caching to backend") Signed-off-by: José Roberto de Souza <jose.so...@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26457> (cherry picked from commit 0eac6298f2eb3030f53ec508af87f0c4488b20cb) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f63ea1a1303dcd25adb115eb695c6198e4606e19 Author: Rhys Perry <pendingchao...@gmail.com> Date: Fri Oct 13 19:56:24 2023 +0100 nir/loop_analyze: skip if basis/limit/comparison is vector Replacement in try_eval_const_alu() doesn't work because the replacements are always scalar. The callers also always give a scalar dest. This is encountered when compiling a Redout shader under ASan. Signed-off-by: Rhys Perry <pendingchao...@gmail.com> Acked-by: Timothy Arceri <tarc...@itsqueeze.com> Fixes: bc170e895f38 ("nir/loop_analyze: Use try_eval_const_alu and induction variable basis info") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26225> (cherry picked from commit 796058841378c4d5e04ff8b5cbe5adef5aae326a) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=85a215801cf8dc87587614fed7c49a846a923071 Author: Sil Vilerino <sivil...@microsoft.com> Date: Tue Nov 21 22:06:08 2023 -0500 d3d12: d3d12_create_fence_win32 - Fix double refcount bump Reviewed-by: Jesse Natalie <jenat...@microsoft.com> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26456> (cherry picked from commit d0103648410f75c1dae48283759d884e9fbf1190) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=668577272deca2a9b5a9b52e1c46bfd71001fce7 Author: Sil Vilerino <sivil...@microsoft.com> Date: Fri Dec 1 13:15:35 2023 -0500 d3d12: Fix screen->winsys leak in d3d12_screen Reviewed-by: Jesse Natalie <jenat...@microsoft.com> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26456> (cherry picked from commit 81c8e89ff8e846839fffc1d103b2080bef5c1b5c) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=425a702a89717949332f3ffaaa05088c2c51e7dd Author: Sil Vilerino <sivil...@microsoft.com> Date: Fri Dec 1 13:14:55 2023 -0500 d3d12: Fix d3d12_tcs_variant_cache_destroy leak in d3d12_context Reviewed-by: Jesse Natalie <jenat...@microsoft.com> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26456> (cherry picked from commit 7bd6a42d1f2d0cf06d0be1a5ded3bd065c513317) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f776553f4d77835860cc3c2961fe6233e71f460c Author: Samuel Pitoiset <samuel.pitoi...@gmail.com> Date: Mon Dec 4 13:57:21 2023 +0100 radv: set combinedImageSamplerDescriptorCount to 1 for multi-planar formats RADV compacts all descriptors for multi-planar images into one combined image sampler, so it should be 96, and not eg. 192 for a two planes format. Fixes new CTS dEQP-VK.binding_model.descriptor_buffer.ycbcr_sampler.*array. Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26498> (cherry picked from commit 3678482f1e834cd12b17fd0bbd18d7ba2de34a9f) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=605f8b70d4e6042da5de3fd44eb1fdcaf0cccbda Author: Boris Brezillon <boris.brezil...@collabora.com> Date: Thu Nov 30 11:15:10 2023 +0100 panfrost: Don't leak NIR compute shaders We never steal the NIR program or free it explicitly, and the state tracker expects drivers to take ownership of the program object. Since panfrost doesn't need to keep the original NIR shader around for compute, let's just free it before returning. Fixes: 40372bd720fe ("panfrost: Implement a disk cache") Cc: stable Signed-off-by: Boris Brezillon <boris.brezil...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26424> (cherry picked from commit 692a4b18047a9549ec993c6bded598c5f0c06de0) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=42f5040e696da52d44eeddd68eb2f5b916e4d3fa Author: Eric Engestrom <e...@igalia.com> Date: Tue Dec 5 18:14:46 2023 +0000 v3d: drop leftover from "move v3d_tiling to common" Fixes: d198e26a1ebc32c43e5b ("broadcom/common: move v3d_tiling to common") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26525> (cherry picked from commit 3a8da0b8bf91d0fa1dac511f6265a49f41861d78) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf55c9f591d8c3c533124c4ff3651f7913e49d4b Author: Eric Engestrom <e...@igalia.com> Date: Mon Dec 4 21:45:33 2023 +0000 ci: fix rules for formatting checks Fixes: 70eff587673ceec181ef ("ci: allow hw jobs even if lint jobs fail for non-Marge pipelines") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26511> (cherry picked from commit d971e3ba45059ba4e5f5e85d40a471dc66cf5df7) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b95d1a0303795bf1820c3980e289d9ade58cb5a Author: José Expósito <jexpo...@redhat.com> Date: Wed Nov 22 12:48:47 2023 +0100 zink: initialize drm_fd to -1 The `zink_internal_create_screen()` function initializes `screen->drm_fd` to 0, a valid file descriptor value, via `rzalloc`. If an error is found during initialization, the `zink_destroy_screen()` function is invoked in the `fail` label and the `screen->drm_fd` is closed because its value is 0 and `screen->drm_fd != -1` is checked. Initialize `screen->drm_fd` to -1 to avoid this issue. Resolves: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10191 Reviewed-by: Erik Faye-Lund <erik.faye-l...@collabora.com> Reviewed-by: Michel Dänzer <mdaen...@redhat.com> Signed-off-by: José Expósito <jexpo...@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26332> (cherry picked from commit fff3fc45a0125b408ca8d4dbd48e5633d63ccc5a) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa7a34120edf1acd92739d72dccbaeba2946fa9d Author: Eric Engestrom <e...@engestrom.ch> Date: Fri Dec 8 11:07:55 2023 +0000 .pick_status.json: Update to 5bf68ab70133edd264f832f4a133288b8b45f66d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d59fcc714ecaddbc5d668af1fa364e9de916b792 Author: Mario Kleiner <mario.kleiner...@gmail.com> Date: Mon Mar 13 15:57:34 2023 +0100 v3d: add B10G10R10[X2/A2]_UNORM to format table. Enables 10 bpc / color depth 30 bit support under XOrg with X11/GLX/OpenGL. Successfully tested with RaspberryPi OS 11, running X-Server 1.20, and also with Weston, on a RaspberryPi 400 on top of current Mesa 24.0-devel. Alejandro Piñeiro also performed a GLES CTS run with successful result, citing him: "Full GLES 31 CTS finished with 0 failres. So all ok" Note that this commit was originally developed and successfully tested by myself against Mesa 23.1-devel from February 2023, and therefore should apply and work cleanly against recent Mesa stable branches. One could see this commit as a trivial compatibility fix against X-Server 1.20 / modesetting-ddx 1.20, which is why I'm also nominating this commit for the current 23.3 stable branch, and also the 23.2 stable branch, so it may make it into RaspberryPi OS 12. Thanks for the consideration. Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com> Reviewed-by: Iago Toral Quiroga <ito...@igalia.com> Reviewed-by: Alejandro Piñeiro <apinhe...@igalia.com> Backport-to: 23.2 Backport-to: 23.3 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26472> (cherry picked from commit 1700c6af6f807f801382c6cea5cb7136563e8bad) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=65eb17f4153fd75b5c7bbd71748149b29dbecc64 Author: Eric Engestrom <e...@igalia.com> Date: Mon Dec 4 18:34:33 2023 +0000 nvk: use `||` instead of `|` between bools We have to split each call into its own variable, because simply replacing `|` with `||` would short-circuit the right side when the left side succeeds. Fixes: dadf9d59e6f9e0c4a7a7 ("nvk: Add support for variable pointers") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26509> (cherry picked from commit 81ec1fa0b5b924902b05531817a8b7b38e449bf1) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=10a47cde73f366603720251f3a6755366ab0e3db Author: Rob Clark <robdcl...@chromium.org> Date: Mon Dec 4 09:06:59 2023 -0800 freedreno/drm: Fix zombie BO import harder Fixes: 6ac133c646dd ("freedreno/drm: Fix race in zombie import") Signed-off-by: Rob Clark <robdcl...@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26506> (cherry picked from commit f2e3285d8e2b72e7408845afa5402ce48c4e93a8) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae6c9315a8803c62f59e6e1f1ec1a11ef6beabdc Author: Boris Brezillon <boris.brezil...@collabora.com> Date: Wed Nov 29 18:53:54 2023 +0100 panfrost: Fix multiplanar YUV texture descriptor emission on v9+ Multiplanar YUV textures require two surface descriptors, and the base address calculation should be moved inside the for loop, otherwise we always take the base address of the first plane. Fixes: 144f9324a374 ("panfrost: prepare v9+ to support YUV sampling") Cc: stable Signed-off-by: Boris Brezillon <boris.brezil...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26425> (cherry picked from commit 93e9bfcfd512858ccace258f1436bd0485a53b84) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6711f9e2d8879947d1c092511014b7755d30ea7 Author: Sviatoslav Peleshko <sviatoslav.peles...@globallogic.com> Date: Thu Nov 30 00:42:07 2023 +0200 anv: Fix MI_ARB_CHECK calls in generated indirect draws optimization According to PRMs, to use self-modifying code correctly we have to disable preparser before jumping to the generated commands, and re-enable it with a first command in that buffer. Old implementation did it wrong: for both inplace and inring generation it disabled preparser before running the generation shader, had it disabled during generation, and re-enabled it just before jumping to the generated commands. This usually didn't cause any trouble, because the generation shader and generated draws are in different BOs, and the jump distance is greater than the command FIFO depth. But we allocate them from the same pool, so there are rare cases where the end of the BO with generation commands, and the beginning of the BO with generated draws are adjacent. In such cases, the wrong commands might be fetched. Cc: mesa-stable Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10162 Signed-off-by: Sviatoslav Peleshko <sviatoslav.peles...@globallogic.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26427> (cherry picked from commit 5cb20b5edc6e6fcde49490bb6ac832023d001e5b) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=50cbb6ae23f674679c0606f904942cce46156d48 Author: Eric Engestrom <e...@engestrom.ch> Date: Tue Dec 5 14:31:58 2023 +0000 .pick_status.json: Update to 1700c6af6f807f801382c6cea5cb7136563e8bad URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7515018c22ed42412865f67e2bfbc938ebbd4b0b Author: Erik Faye-Lund <erik.faye-l...@collabora.com> Date: Fri Dec 1 13:23:10 2023 +0100 meson: work around meson 0.62 issue Ubuntu 22.04 LTS has Meson 0.62, but recent versions of mesa fails to build there due to an issue with using wayland-protocols from wrapdb, that wasn't fixed until Meson 0.63. Luckily the problem is easy to work around, so let's just do that. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10232 Fixes: 5fe5c3e2231 ("meson: add wayland-protocols from meson wrapdb") Tested-by: Eero Tamminen <eero.t.tammi...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26446> (cherry picked from commit d8d49ad03415a432392e1f09fc7e1a684bdff3d9) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d4626797bf344547c498f7c8b023c25650ee8630 Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-pra...@amd.com> Date: Mon Nov 27 17:36:54 2023 +0100 egl/wayland: set the correct modifier for the linear_copy image linear_copy_display_gpu_image is created using DRM_FORMAT_MOD_LINEAR, so use createImageFromDmaBufs3 to be able to pass the modifier when importing it on the render GPU. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9282 Reviewed-by: Simon Ser <cont...@emersion.fr> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26337> (cherry picked from commit 5119e0adc3e3d0bbf3fa162b00d952d71d53c6fe) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce68ed2d1c2e0a972a1d4bd47d1aba4340c2a207 Author: Felix bridault <felixbrida...@gmail.com> Date: Sun Dec 3 15:30:02 2023 +0000 radv: use 32bit va range for sparse descriptor buffers Fixes: 5c5735fd681 ("radv: advertise VK_EXT_descriptor_buffer") Reviewed-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26482> (cherry picked from commit 059391b63114055a5349f8aef9c3f03245a2aa07) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fdf972e418bd5509f9459e837a08b3150f68b960 Author: Eric Engestrom <e...@igalia.com> Date: Sun Dec 3 10:59:55 2023 +0000 amd/ci: radeonsi is gl, not vk Fixes: cf323446e70d9fa10d7d ("amd/ci: run gl(es) cts & piglit on radeonsi on vangogh") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26478> (cherry picked from commit 2cdebf51fdb800dea06c9a7d421c42a48e8ffd8e) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0f203c3da768b11e459e77cf9249019ee1e7ad1 Author: Eric Engestrom <e...@engestrom.ch> Date: Mon Dec 4 21:23:31 2023 +0000 .pick_status.json: Update to ebaede788e05ea3a22bfd4f054c85053247de9ff URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ddfd0618d608f1518a48014a3cf1ec1992f7f6b5 Author: Eric Engestrom <e...@igalia.com> Date: Sat Dec 2 11:43:28 2023 +0000 bin/gen_release_notes: fix regex raw string Fixes: ba6336ce3e6fa8f32c55 ("docs: use version-number as toctree-title for relnotes") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26468> (cherry picked from commit 2a6d750a53ecec2882d77fc3250989815830c9bf) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4de4ba5384ec69c516874901332e40c3c07c18b1 Author: Eric Engestrom <e...@engestrom.ch> Date: Sun Dec 3 08:07:09 2023 +0000 .pick_status.json: Mark e0c2244ea9b162788c781398743919956b0d55b7 as denominated URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b12733e5b7ae3d02d6fa2ef1fca06178218703fd Author: Samuel Pitoiset <samuel.pitoi...@gmail.com> Date: Thu Nov 30 11:06:55 2023 +0100 radv: fix bogus interaction between DGC and RT with descriptor bindings pipeline_is_dirty was never TRUE because it's emitted in the before helper. This might fix bad interactions between DGC and RT because they both use compute shaders and descriptor bindings need to be re-emitted. Found by inspection. Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26417> (cherry picked from commit ab6cf1592fc5c83a45709e68bceee9eb0e7d7870) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=530e0c153992599e137844c2285d0de7cc35187c Author: Gert Wollny <gert.wol...@collabora.com> Date: Thu Nov 30 13:43:11 2023 +0100 r600/sfn: Don't try to re-use iterators when the set is made empty It seems with libc++ the iterators are invalidated when the set is emptied during iterating over it. Fixes: 05fab97 (r600/sfn: Don't try to re-use the iterator when uses is updated) Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7931 Signed-off-by: Gert Wollny <gert.wol...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26420> (cherry picked from commit c13de0509c43f9b9764dc939aa64fe70c6a80870) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=beeb3af6f8b52233f96172dd0aeba231997919e0 Author: Gert Wollny <gert.wol...@collabora.com> Date: Thu Nov 30 10:53:05 2023 +0100 r600/sfn: Fix usage of std::string constructor Fixes: f718ac62688b (r600/sfn: Add a basic nir shader backend) Signed-off-by: Gert Wollny <gert.wol...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26415> (cherry picked from commit ac4b8aab21ccea79ac2f6f00ba1bc4be1ea1311e) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4425db9d9e88afeb458005efdc2b51a7e5e5060 Author: Alessandro Astone <ales.ast...@gmail.com> Date: Wed Oct 4 23:31:26 2023 +0200 asahi: Use the compat version of qsort_r Not all platforms define qsort_r, util_qsort_r takes care of that. CC: mesa-stable Acked-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25553> (cherry picked from commit 4f48a140ac9dc2d1581faed21ac07914c6744cb5) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0104e87a083473c9772d0678bda606f10f5b6b3f Author: Konstantin Seurer <konstantin.seu...@gmail.com> Date: Sat Nov 18 18:18:47 2023 +0100 nir/lower_vars_to_scratch: Remove all unused derefs If the shader passed to nir_lower_vars_to_scratch contains some unused derefs to a variable that will be lowered, validation will fail because the variable is not part of the shader after the pass. cc: mesa-stable Reviewed-by: Rhys Perry <pendingchao...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26271> (cherry picked from commit 827b0fa1efd734f76364ac5cd72ae1537062eb71) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7838aa25bc33d83317a9ea0dd5242ae863666d1e Author: Lionel Landwerlin <lionel.g.landwer...@intel.com> Date: Wed Nov 22 16:31:10 2023 +0200 anv: remove heuristic preferring dedicated allocations This heuristic doesn't show much difference when you have a beafy processor but on lower end skus, it increase the number of buffers in the execbuffer ioctl, adding significant overhead in i915. Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Fixes: 4cdd3178fb ("anv: Meet CCS alignment reqs with dedicated allocs") Tested-by: Dmitry Osipenko <dmitry.osipe...@collabora.com> Reviewed-by: José Roberto de Souza <jose.so...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26335> (cherry picked from commit b18006397be4bfaa78a444166ae0e60b2756bf6a) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=58e5c892651e3a7e8fb4bd0e5cb7861f610de026 Author: Lionel Landwerlin <lionel.g.landwer...@intel.com> Date: Wed Nov 22 16:27:39 2023 +0200 anv: track & unbind image aux-tt binding This solves a problem when you have a big memory chunk of which some regions are bound to images. If the image is destroyed, currently the aux-tt mapping stays and prevent any new image aux-tt mapping within that region, until the memory is freed. This maps & unmaps the aux-tt region at respectively bind & destroy time, so that the memory chunks can be map through aux-tt. If there is aliasing of memory to 2 different images, then the first one "wins" the aux mapping and gets compression support. The second one doesn´t. Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Fixes: ee6e2bc4a3 ("anv: Place images into the aux-map when safe to do so") Tested-by: Dmitry Osipenko <dmitry.osipe...@collabora.com> Reviewed-by: José Roberto de Souza <jose.so...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26335> (cherry picked from commit 7b87e1afbcd880dd25771a42d65585da44faa444) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0993405a4078ef86d05753c9ac4e03c9cff2fa3 Author: Lionel Landwerlin <lionel.g.landwer...@intel.com> Date: Wed Nov 22 16:26:38 2023 +0200 anv: use main image address to determine ccs compatibility The BO address is not really a good criteria since we can bind an image at an offset inside a BO. Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Fixes: ee6e2bc4a3 ("anv: Place images into the aux-map when safe to do so") Tested-by: Dmitry Osipenko <dmitry.osipe...@collabora.com> Reviewed-by: José Roberto de Souza <jose.so...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26335> (cherry picked from commit b09db9d823638ccccb0898736024e69f25c321a0) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8bb6fb2dc3c06d8e6b7abd891e5115d740e5b9a Author: Lionel Landwerlin <lionel.g.landwer...@intel.com> Date: Thu Nov 23 10:11:05 2023 +0200 intel/aux_map: introduce ref count of L1 entries To implement this feature, we need to do CPU side tracking of all L3/L2/L1 entries. This does add a little bit of CPU allocations, but the advantage is that the traversal of the page table tree is faster. No more need for the linear seach of find_buffer(). With this feature, we can have multiple VkImage bind to the same main memory address, as long as they share exact same mapping parameters. The AUX mapping will be removed when the last VkImage is destroyed. As previously, if the L1 mapping entry parameters don't match, the mapping fails. Anv handles this nicely by just disabling AUX on the image. Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Tested-by: Dmitry Osipenko <dmitry.osipe...@collabora.com> Reviewed-by: José Roberto de Souza <jose.so...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26335> (cherry picked from commit 7c6faa1efe8f50263bfc1f71cb1c4a1c2302b5df) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b7f91be9d1a16433d4a598490542f459bbfa761 Author: Lionel Landwerlin <lionel.g.landwer...@intel.com> Date: Tue Nov 21 10:38:19 2023 +0200 intel/fs: fix incorrect register flag interaction with dynamic interpolator mode Once NIR code is lowered and a few optimization passes have run, there might be flag register interactions between instructions quite far away from one another. In the following case : f0 = and r0, r1 ... fs_interpolate r2, r3 ... if f0 ... endif If we lower fs_inteporlate while using the f0 register, we completely garble the value meant for the if block. To fix this, emit the predication for fs_interpolate in brw_fs_nir.cpp when doing the NIR translation to the backend IR. This will guarantee that the flag register interactions are visible to the optimization passes, avoiding the problem above. Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Fixes: 68027bd38e ("intel/fs: implement dynamic interpolation mode for dynamic persample shaders") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9757 Reviewed-by: Ian Romanick <ian.d.roman...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26306> (cherry picked from commit 83a1657b6c7f117f1226a955b8d2f1e01b22d322) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9fdc28451d1ef03258ab0322d6800e38254982a5 Author: Juston Li <justo...@google.com> Date: Fri Nov 17 12:59:43 2023 -0800 venus: implement vkGet[Device]ImageSparseMemoryRequirements These were left unimplemented despite sparse support being added back to venus in a55d26b5 ("venus: add back sparse binding support") Same as vn_GetPhysicalDeviceSparseImageFormatProperties2, venus sparse support requires queues that also support transfer so any sparse-only queues are filtered out. If a device only supports sparse with sparse-only queues, sparse features are disabled and these functions return count of 0. Fixes: a55d26b566f ("venus: add back sparse binding support") Signed-off-by: Juston Li <justo...@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26297> (cherry picked from commit 746da376e42312034fe4f676eb9d8ee60aaec7e4) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae0873c0f81099d69ba4d75683788c745d9e6f43 Author: Georg Lehmann <dadschoo...@gmail.com> Date: Fri Nov 24 15:45:44 2023 +0100 aco: don't optimize DPP across more than one block Register write tracking doesn't work for inactive lanes, so this was unsafe. Foz-DB Navi31: Totals from 8 (0.01% of 78196) affected shaders: Instrs: 11513 -> 11515 (+0.02%) CodeSize: 61056 -> 61064 (+0.01%) Cc: mesa-stable Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10197 Reviewed-by: Daniel Schürmann <dan...@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26373> (cherry picked from commit 576afa85405a9796c2eb9c88cdfa28b441033009) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=658c34f79502209805a448ece2c2bfd191d56360 Author: Eric Engestrom <e...@engestrom.ch> Date: Sun Dec 3 07:57:13 2023 +0000 .pick_status.json: Update to 0e1bee73eb401e3b9c39f4777f775dd3ab9a08e2