Timo Aaltonen pushed to branch upstream-experimental at X Strike Force / lib / mesa
Commits: 364214f1 by Eric Engestrom at 2023-11-04T14:09:43+00:00 .pick_status.json: Update to 1f1ec1c6bcc2a32a3c1df8c2cc7a2f4e7139b7ec - - - - - bfbd6f22 by LingMan at 2023-11-04T14:10:57+00:00 rusticl: Show an error message if the build is attempted with an outdated bindgen version Ideally the build system would fetch the correct bindgen version automatically like cargo does. Until then, provide an error message that is hopefully more helpful than whatever cryptic error the build runs into otherwise. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9457 Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10029 Reviewed-by: Karol Herbst <kher...@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25859> (cherry picked from commit 1cc26e8b6657b5097995470ced9ae9cc7b6f01b9) - - - - - 5443e661 by LingMan at 2023-11-04T14:11:01+00:00 rusticl: Show an error message if the version of bindgen can't be detected bindgen 0.69.0 broke the `--version` switch, resulting in misleading errors about requiring at least bindgen 0.62 or about unexpected arguments. Ideally the build system would fetch the correct bindgen version automatically like cargo does. Until then, provide a hopefully more helpful error message to the user. Reviewed-by: Karol Herbst <kher...@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26046> (cherry picked from commit 1f1ec1c6bcc2a32a3c1df8c2cc7a2f4e7139b7ec) - - - - - 11398ee0 by Gert Wollny at 2023-11-04T14:12:27+00:00 r600: Add callbacks for get_driver_uuid and get_device_uuid v2: Evaluate driver ID dynamically (Adam Jackson) v3: Align the stars (Triang3l) v4: include "r600" in driver ID for UUID evaluation (Triang3l) v5: remove unused local variable Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10040 CC: mesa-stable Signed-off-by: Gert Wollny <gert.wol...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25895> (cherry picked from commit 3ab51c7ebd1e7a65bd928b6142423123c7552927) - - - - - 8081cb90 by Faith Ekstrand at 2023-11-04T14:12:29+00:00 nir: add deref follower builder for casts. This fixes intel_clc builds with llvm 17 on gfx125_bvh_build_DFS_DFS where it dies in the lower indirect derefs pass. Co-authored-by: Dave Airlie <airl...@redhat.com> Fixes: 4a4e1757381c ("nir: Support deref instructions in lower_var_copies") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25536> (cherry picked from commit 6388896985da7495ad0968322491953894d29637) - - - - - 9e451512 by Rhys Perry at 2023-11-04T14:15:52+00:00 radv: call lower_array_deref_of_vec before lower_io_arrays_to_elements nir_lower_io_arrays_to_elements does not support array derefs of vectors, even when nir_deref_instr_is_known_out_of_bounds is fixed. They can occur with mesh shaders. Found by inspection. Signed-off-by: Rhys Perry <pendingchao...@gmail.com> Reviewed-by: Timur Kristóf <timur.kris...@gmail.com> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25659> (cherry picked from commit ed12be533e2673b08e958be32fbe5d6af2737fbc) - - - - - a8e266b7 by Rhys Perry at 2023-11-04T14:15:53+00:00 radv: skip radv_remove_varyings for mesh shaders Fixes compilation of a Talos Principle 2 shader. Signed-off-by: Rhys Perry <pendingchao...@gmail.com> Reviewed-by: Timur Kristóf <timur.kris...@gmail.com> Fixes: 9fa9782c1790 ("radv: stop compiling a noop FS when the application doesn't provide a FS") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25659> (cherry picked from commit 0a418561dab43a41f21ab209367f88c2ed9eb4a5) - - - - - 2bd7e293 by Rob Clark at 2023-11-04T14:15:54+00:00 tu/msm: Fix timeline semaphore support Fixes: daefc6e2a40b ("turnip: prep work for timeline semaphore support") Signed-off-by: Rob Clark <robdcl...@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25981> (cherry picked from commit 79b907f9412971b8f6316e1de757a2c3cfdbc603) - - - - - 6f99c620 by Rob Clark at 2023-11-04T14:15:55+00:00 tu/virtio: Fix timeline semaphore support Fixes: f17c5297d7a0 ("tu: Add virtgpu support") Signed-off-by: Rob Clark <robdcl...@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25981> (cherry picked from commit ceeab44fd1ff116b5a3906044fc33588b65dcbda) - - - - - 844e3302 by Yiwei Zhang at 2023-11-04T14:15:56+00:00 venus: fix query feedback batch leak and race upon submission Summary: - fixed the combined query batches leak - fixed the race condition of accessing feedback cmd pool - very scoped code refactor Cc: 23.3 <mesa-stable> Fixes: 5b24ab91e43 ("venus: switch to unconditionally deferred query feedback") Signed-off-by: Yiwei Zhang <zzyi...@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25988> (cherry picked from commit ae3b022fa0568e048ce2013affbd2ca60cc42ec6) - - - - - 2cfc7776 by Faith Ekstrand at 2023-11-04T14:15:56+00:00 nir: Handle wildcards with casts in copy_prop_vars If we're propagating a copy from a cast where the copy copies an entire array, we end up with something like &((S *)ssa_N)->f[*] in the source where a wildcard has a cast in its parent chain. If we then try to propagate the read into a non-wildcard array load, we have to specialize the wildcard. This breaks because nir_build_deref_follower() doesn't handle casts. Since we know a priori that, because wildcards are only generated by copy_deref on arrays, we cannot have a cast with a wildcard parent so simply chasing the source deref to the first wildcard will ensure that any casts in the deref are handled properly. Fixes: ba2bd20f8732 ("nir: Rework opt_copy_prop_vars to use deref instructions") Acked-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22580> (cherry picked from commit 15ab4d397fbd24ac09daab03cc9cd0b750dbace2) - - - - - ab2a7f32 by Connor Abbott at 2023-11-04T14:15:57+00:00 freedreno/ci: Remove minetest trace I've repeatedly seen minor pixel changes due to changes that only affect RA decisions, most recently in !22072. We changed the trace to hopefully remove a use of texture() in control flow, but it seems there are more, or the problem is something slightly different like reading uninitialized values. On the other hand minetest has never actually caught an issue for me that some other trace hasn't also caught. Just remove it. Cc: mesa-stable Acked-by: David Heidelberg <david.heidelb...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25864> (cherry picked from commit 16214710caaacf4fb8539498a3eb774644921249) - - - - - 4cbcc74d by Connor Abbott at 2023-11-04T14:15:58+00:00 v3d/ci: Remove minetest trace For the same reason as the previous commit. For examples of commits causing spurious changes see 8019a1b9 and d89ca14e. Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25864> (cherry picked from commit 2313a517d2ddb6395eab802949b2f8461397b1d0) - - - - - 0afd2930 by Karol Herbst at 2023-11-04T14:15:59+00:00 nvc0: implement PIPE_CAP_TIMER_RESOLUTION This allows rusticl to create profiling queues. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10042 Fixes: 660f2eabe11 ("gallium: add PIPE_CAP_TIMER_RESOLUTION") Signed-off-by: Karol Herbst <kher...@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26016> (cherry picked from commit 7b419215048d63b33d3693206a7319d933c075d8) - - - - - eb41ceec by Gert Wollny at 2023-11-04T14:15:59+00:00 r600: Link with libgalliumvl, when enabling rusticl this is needed Fixes: 33673bcc2ab84de0b1ff35519e7d7a58ef572fba rusticl: stop linking with libgalliumvl Signed-off-by: Gert Wollny <gert.wol...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24229> (cherry picked from commit 1662897294a3b6b0f8b6004163c016722c634651) - - - - - 35fea705 by Gert Wollny at 2023-11-04T14:16:01+00:00 r600/sfn: Fixup component count only if intrinsic has it Fixes: 33d878e r600/sfn: Handle load_global in 64 to vec2 lowering Signed-off-by: Gert Wollny <gert.wol...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24229> (cherry picked from commit 28b79b2ea5d13f2499d78f903a335383bb38e5c1) - - - - - 28e36118 by antonino at 2023-11-04T14:16:02+00:00 nir: don't take the derivative of the array index in `nir_lower_tex` Previosuly when lowering to txd for sampler array the index would be derived as well, therefore the resulting derivative would have been a vec with one more component than what the txd instruction expects. This patch truncates the coordinate vector in this case to make sure the index is not derived. Fixes: b154a4154b4 ("nir/lower_tex: rewrite tex/txb -> txd/txl before saturating srcs") Reviewed-by: Faith Ekstrand <faith.ekstr...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26012> (cherry picked from commit 4a627af0e3670d409d8140c1f9ee1c7ac86b5ddf) - - - - - 7afb7e9a by Rob Clark at 2023-11-04T14:16:04+00:00 freedreno/drm: Fix race in zombie import The check for the zombie case (racing with final unref of the bo vs removal from table) must be atomic. Fixes spec@ext_image_dma_buf_import@ext_image_dma_buf_import-refcount-multithread Fixes: a192923f99e1 ("freedreno/drm: Restart import on zombie race") Signed-off-by: Rob Clark <robdcl...@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25995> (cherry picked from commit 6ac133c646dd4f6f9d8f644b24da6aeae95c1ce3) - - - - - ebbecb9d by David Rosca at 2023-11-04T14:16:05+00:00 frontends/va: Map decoder and postproc surfaces for reading If application requests to map surface that was most recently used as decoder or postproc target and also doesn't explicitly set the map flags (vaMapBuffer2) it's very likely the intent is to read from this surface, so we need to map it as such. This fixes regression on radeonsi where mapping NV12 surfaces for reading would fail with applications using vaDeriveImage. The reason for this is that the VA frontend doesn't allow vaDeriveImage for interlaced surfaces so the applications would use vaGetImage fallback, but radeonsi doesn't allocate NV12 surfaces as interlaced anymore. This also fixes mapping other formats surfaces (P010, RGBx, ...) for reading, which never worked before. Cc: mesa-stable Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9935 Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10048 Reviewed-by: Leo Liu <leo....@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26008> (cherry picked from commit c638e61ef5e2e7de097a9b5850eff75022330f68) - - - - - d0d8b350 by Eric Engestrom at 2023-11-06T09:36:38+00:00 .pick_status.json: Mark 8dda860f83ac30d042dc6beb4438cc925d1fd130 as denominated - - - - - b03733fc by Yonggang Luo at 2023-11-06T09:36:38+00:00 nvk: Should use alignment instead of align align is a function, don't know why align > 0 is working Fixes: 87686a22205 ("nvk: Rework side-band data upload") Signed-off-by: Yonggang Luo <luoyongg...@gmail.com> Reviewed-by: Faith Ekstrand <faith.ekstr...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26035> (cherry picked from commit 5e9dcffffde8b4ecf78531c0285a0d296e1fc7a9) - - - - - a3174669 by José Expósito at 2023-11-06T09:36:38+00:00 zink: Fix crash on zink_create_screen error path The `zink_internal_create_screen()` function can fail before `screen->loader_lib` and/or `screen->instance` are initialized. The `zink_destroy_screen()` doesn't check those cases and crashes. The error was found by Fedora's CI. The back trace is available at [1]. [1] https://bodhi.fedoraproject.org/updates/FEDORA-2023-c39f82c465 Fixes: 0c2045553fe4 ("zink: use screen destructor for creation fails") Reviewed-by: Erik Faye-Lund <erik.faye-l...@collabora.com> Signed-off-by: José Expósito <jexpo...@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26029> (cherry picked from commit 8a635e516ebb12411de8055c3405f36be43269b3) - - - - - 2872c824 by Felix DeGrood at 2023-11-06T09:36:38+00:00 anv: remove CS_FLUSH from query regression Fixes performance regression introduced by prior refactoring of pipe control code that unnecessarily added CS_FLUSH to query start and end. Issue was diagnosed by Ben L (thank you!) Confirmed this restores performance on: * Borderlands3 +2% * Payday +3% * Factorio +3% * HogwartsLegacy +4% * Ghostrunner +7% Fixes: 6dc95685 (convert genX_query pipe controls to use pc helper) Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Reviewed-by: Tapani Pälli <tapani.pa...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25983> (cherry picked from commit aa23120e4fc674d7da42c4895aa204f300155105) - - - - - 1c1382b3 by Daniel Stone at 2023-11-06T09:36:38+00:00 ci: Try really hard to print final result string a630 has been completing jobs, and then corrupting the very last line of UART output - the one where we pass the overall result back from the DUT to the job. The bare-metal monitor will wait for this line to appear, never see it, and then the job times out. Since this line is the most critical one of all to get out, just spam the prints to try to make sure they get through. Signed-off-by: Daniel Stone <dani...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26032> (cherry picked from commit 80b87c18d1630dd622bf58e56f3fb3f39e9fb8ef) - - - - - 6d1b7d90 by Eric Engestrom at 2023-11-06T09:37:38+00:00 .pick_status.json: Update to 7d6f9ccfbeab050c26775d5e03578a01526cbfcb - - - - - 1371823a by Mauro Rossi at 2023-11-06T09:37:45+00:00 Android.mk: filter out cflags to build with Android 14 bundled clang Android 14 uses prebuild clang version 17.0.2 By filtering these cflags there are no building errors on previous Android releases. Fixes the following building errors: ../src/c11/time.h:54:8: error: redefinition of 'timespec' struct timespec ^ /media/bigblissdrive/u-x86/out/soong/.intermediates/bionic/libc/libc/android_vendor.34_x86_x86_64_shared/gen/include/bits/timespec.h:46:8: note: previous definition is here struct timespec { ^ 1 error generated. In file included from ../src/util/disk_cache.c:50: ../src/util/disk_cache.h:86:4: error: use of undeclared identifier 'Dl_info' Dl_info info; ^ ... ./src/util/disk_cache.h:114:30: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const void *' [-Wint-conversion] _mesa_sha1_update(ctx, build_id_data(note), build_id_length(note)); ^~~~~~~~~~~~~~~~~~~ 10 errors generated. ../src/intel/perf/intel_perf.c:91:10: error: call to undeclared function 'major'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] maj = major(sb.st_rdev); ^ ../src/intel/perf/intel_perf.c:92:10: error: call to undeclared function 'minor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] min = minor(sb.st_rdev); ^ 2 errors generated. ../src/intel/vulkan/anv_allocator.c:295:13: error: call to undeclared function 'futex_wake'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] futex_wake(&table->state.end, INT_MAX); ^ ... ../src/intel/vulkan/anv_allocator.c:711:7: error: call to undeclared function 'futex_wait'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] futex_wait(&pool->block.end, block.end, NULL); ^ 6 errors generated. Cc: mesa-stable Reviewed-by: Roman Stratiienko <r.stratiie...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25963> (cherry picked from commit 520e79a3b5841db034d6d962870432d21fd0989c) - - - - - 3294d74e by Mauro Rossi at 2023-11-06T09:37:46+00:00 Android.mk: disable android-libbacktrace to build with Android 14 Android libbacktrace is not available in Android 14 Fixes the following build error: FAILED: src/util/libmesa_util.a.p/u_debug_stack_android.cpp.o ... ../src/util/u_debug_stack_android.cpp:28:10: fatal error: 'backtrace/Backtrace.h' file not found ^~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. Cc: mesa-stable Reviewed-by: Roman Stratiienko <r.stratiie...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25963> (cherry picked from commit 95ad0c750c5891dab3a678f26a74c95edfed87c9) - - - - - f103f773 by David Rosca at 2023-11-06T09:37:47+00:00 radeonsi: Fix offset for linear surfaces on GFX < 9 Fixes: 86262b6eac0 ("radeonsi,radv: fix usages of surf_pitch") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9949 Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10073 Reviewed-by: Marek Olšák <marek.ol...@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25970> (cherry picked from commit bf364cbdb40f044d2a11b6fe5636e8a039fdad81) - - - - - 984d8051 by Karol Herbst at 2023-11-06T09:37:48+00:00 rusticl/queue: do not send empty lists of event to worker queue This saves us a few CPU cycles and makes properly fixing implicit flushes less expensive. Fixes: 8616c0a52c7 ("rusticl/event: flush queues from dependencies") Signed-off-by: Karol Herbst <kher...@redhat.com> Reviewed-by: @LingMan <18294-ling...@users.noreply.gitlab.freedesktop.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26053> (cherry picked from commit 52e41d4c97947a1b0c2c86c3b6491958716e998b) - - - - - b328f019 by Karol Herbst at 2023-11-06T09:37:49+00:00 rusticl/queue: fix implicit flushing of queue dependencies Needed by Davinci Resolve. There are two parts to this fix: 1. flush dependencies also on flush, not just finish 2. move the dependency checking logic into Queue::flush as otherwise we miss required implicit flushes. Fixes: 8616c0a52c7 ("rusticl/event: flush queues from dependencies") Signed-off-by: Karol Herbst <kher...@redhat.com> Reviewed-by: @LingMan <18294-ling...@users.noreply.gitlab.freedesktop.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26053> (cherry picked from commit 8cbb84dc428ff805abc514d810faebe64bb03cdb) - - - - - 45368572 by Eric Engestrom at 2023-11-07T13:27:57+00:00 .pick_status.json: Update to aa33ca0a52591961f8ae01dc253354462ed17c18 - - - - - cf3bd8be by Samuel Pitoiset at 2023-11-07T13:28:05+00:00 nir: fix inserting the break instruction for partial loop unrolling If the break in the original loop isn't in the first top-level if, this would have re-inserted it in the wrong block. Fixes this by re-inserting the break block to the corresponding break block in the new loop by using the remap hashtable. fossils-db (NAVI21): Totals from 88 (0.11% of 79330) affected shaders: Instrs: 109602 -> 109929 (+0.30%); split: -0.10%, +0.40% CodeSize: 570968 -> 573332 (+0.41%); split: -0.08%, +0.49% Latency: 1682510 -> 1682505 (-0.00%); split: -0.01%, +0.01% Copies: 12832 -> 12746 (-0.67%); split: -1.54%, +0.87% Branches: 2879 -> 2930 (+1.77%) Deathloop and F1 2023 are affected but I'm not aware of any issues for these two games. Cc: mesa-stable Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10001 Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Reviewed-by: Rhys Perry <pendingchao...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26009> (cherry picked from commit abfd208cb047b24802938576d0f5bd1a7f809eb6) - - - - - 1357b742 by Vlad Schiller at 2023-11-07T13:28:06+00:00 pvr: Fix VK_EXT_texel_buffer_alignment In the commit that enabled the extension, I forgot to add the required properties, which made some tests to fail. Fixes: 649ebbb0fb7 ("pvr: Implement VK_EXT_texel_buffer_alignment") Signed-off-by: Vlad Schiller <vlad-radu.schil...@imgtec.com> Reviewed-by: Frank Binns <frank.bi...@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26002> (cherry picked from commit 1dd1c9d610dbe0fffd8708977afc0aa88d4a457c) - - - - - c531ae3c by Mary Guillemard at 2023-11-07T13:29:42+00:00 venus: skip bind sparse info when checking for feedback query Fix an assertion when using vkQueueBindSparse. Fixes: 7fbf608f2da ("venus: append query feedback at submission time") Signed-off-by: Mary Guillemard <mary.guillem...@collabora.com> Reviewed-by: Juston Li <justo...@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26027> (cherry picked from commit f71f5cf8562da4d13d5eb9220edecb6dad5b8ccf) - - - - - ae337176 by Alyssa Rosenzweig at 2023-11-07T13:29:45+00:00 agx: Fix fragment side effects scheduling We can't move discards across side effects, or the side effect might not happen. Fixes KHR-GLES31.core.shader_image_load_store.basic-allFormats-load-fs regression. Sigh. CI is up next. Fixes: 119e5b9719a ("agx: Schedule for register pressure") Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> (cherry picked from commit 7b92c6310586e3b17eb922b442561b64cb3b1aff) - - - - - 43540839 by Erik Faye-Lund at 2023-11-07T13:30:19+00:00 panfrost: use perf_debug instead of open-coding We don't need to open-code perf_debug here... Fixes: bc55d150a91 ("panfrost: Add support for AFBC packing") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26063> (cherry picked from commit 385b81c8c25360a3838958cf6af9b31871a96d29) - - - - - b419916e by Sviatoslav Peleshko at 2023-11-07T13:30:20+00:00 nir/loop_analyze: Fix inverted condition handling in iterations calculation In the tagged commit, we stopped actually inverting the condition, and instead relied on the "invert_cond" flag. But we missed a few places where this flag should've been handled too. Also, add a few more tests to make sure this won't regress in the future. Fixes: 99a7a664 ("nir/loop_analyze: Change invert_cond instead of changing the condition") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10012 Signed-off-by: Sviatoslav Peleshko <sviatoslav.peles...@globallogic.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26024> (cherry picked from commit aa33ca0a52591961f8ae01dc253354462ed17c18) - - - - - 4d887245 by Eric Engestrom at 2023-11-08T11:56:14+00:00 .pick_status.json: Update to a77ea9555aa00cc12f3d1c440252e940ff552500 - - - - - 765cb46e by Yiwei Zhang at 2023-11-08T11:56:17+00:00 zink: apply can_do_invalid_linear_modifier to Venus This unblocks Xwayland with zink-on-venus + sommelier wayland proxy. - For glamor, zink uses linear modifier. - For Virgl clients, classic 3d resource is used and sommelier fixes the modifier and stride infos no matter wl-drm or dma-buf protocol. - For Venus clients: - via the legacy wl-drm protocol, invalid modifier is passed via sommelier, and host recovers the tiling in the way dealing with modifier unaware clients (e.g. I915_GEM_GET_TILING). For hosts unable to recover, they assume linear and venus forces linear on legacy path. - via the new zwp_linux_dmabuf_feedback_v1 (version 3/4) protocol, explicit modifier is used, and zink handles that without issues. This doesn't deserve a driconfig as zink-on-venus to support xserver itself already requires special enough integration beyond a config. Reported-by: Igor Torrente <igor.torre...@collabora.com> Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10066 Fixes: 1c3db3e39a7 ("zink: blow up broken xservers more reliably") Signed-off-by: Yiwei Zhang <zzyi...@chromium.org> Reviewed-by: Ryan Neph <ryann...@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26082> (cherry picked from commit 551f61bdb3fc408809f3b15643f9f399bc19beac) - - - - - f30bd007 by Rhys Perry at 2023-11-08T18:18:59+00:00 radv: disable gs_fast_launch=2 by default This currently causes severe performance problems in Remnant 2 and Alan Wake 2. Signed-off-by: Rhys Perry <pendingchao...@gmail.com> Reviewed-by: Timur Kristóf <timur.kris...@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Fixes: 28ebe62af2cb ("radv: enable mesh shader gs_fast_launch=2 and multi-row export") Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10071 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26090> (cherry picked from commit 2011b678c538b451eef5a1986adee7e25d6ee04f) - - - - - b8112ed6 by Corentin Noël at 2023-11-08T18:19:28+00:00 frontends/va: Remove wrong use of ProfileToPipe The `context->templat.profile` variable is already of enum pipe_video_profile. Fixes: 0996ec3fc6e ("frontends/va: Add profile param when querying PIPE_VIDEO_CAP_ENC_QUALITY_LEVEL") Signed-off-by: Corentin Noël <corentin.n...@collabora.com> Reviewed-by: Erik Faye-Lund <erik.faye-l...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26067> (cherry picked from commit f4ed92a8236f611b5a8be9f542d81c5a5e11578a) - - - - - 9d8e3aac by José Roberto de Souza at 2023-11-08T18:19:30+00:00 anv: Add missing ANV_BO_ALLOC_EXTERNAL flags when calling anv_device_import_bo() This flag is required to properly calculate the PAT index of the imported BO. Cc: mesa-stable 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/26099> (cherry picked from commit 72ba0677f824d46d0f656eef07b99f5b5ab6ebe5) - - - - - 41b7bd39 by Eric Engestrom at 2023-11-08T18:20:43+00:00 .pick_status.json: Mark 227300345ed38377190b0eaf08694d5c42ee7e60 as denominated - - - - - 65109bc8 by Eric Engestrom at 2023-11-08T18:50:58+00:00 VERSION: bump for 23.3.0-rc3 - - - - - 30 changed files: - .gitlab-ci/common/init-stage2.sh - .pick_status.json - VERSION - android/Android.mk - android/mesa3d_cross.mk - docs/envvars.rst - src/amd/vulkan/nir/radv_nir_lower_io.c - src/amd/vulkan/radv_debug.h - src/amd/vulkan/radv_device.c - src/amd/vulkan/radv_instance.c - src/amd/vulkan/radv_pipeline.c - src/amd/vulkan/radv_pipeline_graphics.c - src/amd/vulkan/radv_shader.h - src/asahi/compiler/agx_pressure_schedule.c - src/broadcom/ci/traces-broadcom.yml - src/compiler/nir/nir_builder.h - src/compiler/nir/nir_loop_analyze.c - src/compiler/nir/nir_lower_tex.c - src/compiler/nir/nir_opt_copy_prop_vars.c - src/compiler/nir/nir_opt_loop_unroll.c - src/compiler/nir/tests/loop_analyze_tests.cpp - src/freedreno/ci/traces-freedreno.yml - src/freedreno/drm/freedreno_bo.c - src/freedreno/vulkan/tu_knl_drm_msm.cc - src/freedreno/vulkan/tu_knl_drm_virtio.cc - src/gallium/drivers/nouveau/nvc0/nvc0_screen.c - src/gallium/drivers/panfrost/pan_resource.c - src/gallium/drivers/r600/meson.build - src/gallium/drivers/r600/r600_pipe_common.c - src/gallium/drivers/r600/sfn/sfn_nir_lower_64bit.cpp The diff was not included because it is too large. View it on GitLab: https://salsa.debian.org/xorg-team/lib/mesa/-/compare/c97af690c9c7d3d7bc52636e02a0146c740e4a83...65109bc8ac33e24af77c1b28b712dae414111ebb -- View it on GitLab: https://salsa.debian.org/xorg-team/lib/mesa/-/compare/c97af690c9c7d3d7bc52636e02a0146c740e4a83...65109bc8ac33e24af77c1b28b712dae414111ebb You're receiving this email because of your account on salsa.debian.org.