Timo Aaltonen pushed to branch upstream-experimental at X Strike Force / lib / mesa
Commits: 418e19a6 by Eric Engestrom at 2024-04-25T16:16:21+02:00 .pick_status.json: Update to 4660ee1deaace6457bf5fbf3fc8810e4a2453cb5 - - - - - 1d8901f3 by Eric Engestrom at 2024-04-25T16:48:54+02:00 ci: fix container rules on release branches and tags Fixes: 2487e18d4e25c56a7063 ("ci: bare-metal: poe: Create strutured logs") Fixes: 7c0b19a6071dc8fa0cd8 ("ci: run python-test automatically only in merge pipelines") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28911> (cherry picked from commit 0666a715c7210558017ce717f6b0b947c679a68e) - - - - - 69278233 by Eric Engestrom at 2024-04-25T16:50:22+02:00 .pick_status.json: Update to 84632dce93f44e8d88cda47648cfd4cc0958918f - - - - - 99627c61 by Samuel Pitoiset at 2024-04-25T16:50:26+02:00 radv: fix image format properties with fragment shading rate usage This was missing and this caused test failures for formats different than VK_FORMAT_R8_UINT which is the only one supported for FSR. Fixes recent dEQP-VK.api.info.unsupported_image_usage.*.fragment_shading_rate_attachment.*. Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28893> (cherry picked from commit e8d94536d21a6f2087b21eecc9f15dcac0a362e8) - - - - - cc5da81e by Kenneth Graunke at 2024-04-25T16:50:27+02:00 isl: Set MOCS to uncached for Gfx12.0 blitter sources/destinations We were accidentally leaving XY_BLOCK_COPY_BLT's Source and Destination MOCS fields set to 0 (Error: Reserved for Non-Use) on Gfx12.0 systems. This was causing assert fails in debug builds, since we try to ensure that we don't do that. In theory, MOCS 0 is supposed to be equivalent to MOCS 2 (all the caching), but...we probably ought to use MOCS 3 (uncached). Every Gfx12.5+ platform requires it, so although there isn't a note about Gfx12.0 needing that, it's possible that it does. We're currently only using the blitter for DRI PRIME blits on Gfx12.0, anyway, and I think we're flushing all the caches regardless. This bug was somewhat obscure to hit: - You need a hybrid graphics system with Gfx12.0 and some other GPU - You have to be using "reverse PRIME", i.e. rendering on the integrated GPU and displaying on the discrete one. This is not the common case. - You have to be using a debug build. No observable performance delta in GfxBench5 Car Chase (an arbitrary program) when rendering on Alderlake GT1 and displaying on an Arc A770. Fixes: 194afe84163 ("anv/iris/blorp: use the right MOCS values for each engine") Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Reviewed-by: Rohan Garg <rohan.g...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28894> (cherry picked from commit e6fb3ba03798fc2550bdb5ec6651690a34ac3509) - - - - - e08d22ae by Lionel Landwerlin at 2024-04-25T16:50:27+02:00 anv: disable dual source blending state if not used in shader Fixing some simulation issues on Gfx9/11 with zink on anv running dual source blending piglit tests like : ./bin/arb_blend_func_extended-dual-src-blending-discard-without-src1 -auto -fbo Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Cc: mesa-stable Reviewed-by: Tapani Pälli <tapani.pa...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28901> (cherry picked from commit 68dfe17abcca6299951734df3f9758c401286b57) - - - - - 01f45e49 by Mary Guillemard at 2024-04-25T16:50:28+02:00 nak: Pass has_mod to all form of src2 requiring it This was missing from the original changes and was causing HFMA2 to misbehave with an immediate value. Also fix inverted value passed around for cbuf and ureg forms. Fixes: bad23ddb484 ("nak: Add F16 and F16v2 sources") Signed-off-by: Mary Guillemard <mary.guillem...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28828> (cherry picked from commit 40422927dcb1249cdb1444557aca671387140428) - - - - - 15466d7d by Constantine Shablia at 2024-04-25T16:50:28+02:00 pan/bi: fix 1D array tex coord lowering We were erroneously specifying Y for 1D arrays Cc: mesa-stable Suggested-by: Erik Faye-Lund <erik.faye-l...@collabora.com> Reviewed-by: Erik Faye-Lund <erik.faye-l...@collabora.com> Reviewed-by: Boris Brezillon <boris.brezil...@collabora.com> Reviewed-by: Mary Guillemard <mary.guillem...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28899> (cherry picked from commit 3139f8f62384901b02d1fdc516ff3989f8a1f339) - - - - - 30f53526 by Mike Blumenkrantz at 2024-04-25T16:50:35+02:00 glthread: check for invalid primitive modes in DrawElementsBaseVertex fixes KHR-GLESEXT.draw_elements_base_vertex_tests.invalid_mode_argument cc: mesa-stable Reviewed-by: Marek Olšák <marek.ol...@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28903> (cherry picked from commit 4660ee1deaace6457bf5fbf3fc8810e4a2453cb5) - - - - - 4f205bc3 by Eric Engestrom at 2024-04-29T16:30:08+02:00 .pick_status.json: Update to 8248cc0bf45d0d7558cc3d77a63dcd078a96aa66 - - - - - 0cbf5774 by Daniel Schürmann at 2024-04-29T16:30:12+02:00 aco/ra: fix kill flags after renaming fixed Operands Suggested-by: Rhys Perry <pendingchao...@gmail.com> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28876> (cherry picked from commit be1e68b4ee97ed714417c8917182a5326f5b379f) - - - - - 9ff7c705 by Mike Blumenkrantz at 2024-04-29T16:30:12+02:00 zink: reconstruct features pnext after determining extension support for extensions that require features/properties to enable support, this avoids adding the feature struct to the device createinfo Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11067 cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28925> (cherry picked from commit 2c180c47f74b716448a0fb8b505b533b556e458a) - - - - - 7d8190bc by Rohan Garg at 2024-04-29T16:30:13+02:00 anv: formatting fix when printing pipe controls Fixes: abc4111 ('anv: pass steam output as argument for anv_dump_pipe_bits') Signed-off-by: Rohan Garg <rohan.g...@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28931> (cherry picked from commit b40675947996faea8c4455dc44492d003bc9f49f) - - - - - d80f150b by Tomeu Vizoso at 2024-04-29T16:30:13+02:00 etnaviv/nn: Make parallel jobs disabled by default It doesn't work for all models, with the same happening to the proprietary driver. There may be some hardware limitation on at least the HW that is currently supported in Mesa. So match what the proprietary driver is doing and disable by default. Fixes: d6473ce28ee0 ("etnaviv: Use NN cores to accelerate convolutions") Reviewed-by: Christian Gmeiner <cgmei...@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28918> (cherry picked from commit 1277f58d8a4a57c7522e07359cbe7aa2b8f9b661) - - - - - 89c7f85d by Eric Engestrom at 2024-04-29T16:30:15+02:00 ci: pass MESA_VK_ABORT_ON_DEVICE_LOSS through to the DUT Fixes: 9bbbe90f060914448910 ("ci: enable MESA_VK_ABORT_ON_DEVICE_LOSS globally") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28940> (cherry picked from commit 497672ac7471253d0789b0cfe741fae50a4236a0) - - - - - 0e3116b9 by Iván Briano at 2024-04-29T16:30:16+02:00 anv: check requirements for VK_IMAGE_USAGE_FRAGMENT_SHADING_RATE Somehow I missed this one in 164c0951a0825527244e999a261b8a4425ed1ebe If the format the image is being created with doesn't have the FSR format feature, report it as unsupported. Also fixes future CTS tests: dEQP-VK.api.info.unsupported_image_usage.* Cc: mesa-stable Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28913> (cherry picked from commit 8ebf07eccd1f7476033e0151b9eb19a51d871c51) - - - - - ab4db3b6 by Mike Blumenkrantz at 2024-04-29T16:30:17+02:00 zink: prune zink_shader::programs under lock it's possible for a shader to be precompiling its separate shader variants during destruction, which requires that the programs set be iterated under lock in order to prune every new variant as it is created without crashing fixes crashes in spec@arb_separate_shader_objects@400 combinations.* cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28900> (cherry picked from commit f18a1d3a311c00dd3e11356f6a604e1fea593004) - - - - - 9eb7ff49 by Mike Blumenkrantz at 2024-04-29T16:30:17+02:00 zink: fully wait on all program fences during ctx destroy optimized pipeline compile jobs may still be ongoing during ctx destroy, and these must complete too or else crashes will occur fixes shutdown crash with dEQP-EGL.functional.sharing.gles2.multithread.simple.images.texture_source.teximage2d_render cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28900> (cherry picked from commit bd1a3921d135a99ae8098aa8eb7be90cc2c9eaab) - - - - - 1f042695 by Lionel Landwerlin at 2024-04-29T16:30:18+02:00 intel/brw: fixup wm_prog_data_barycentric_modes() Always select sample barycentric when persample dispatch is unknown at compile time and let the payload adjustments feed the expected value based on dispatch. Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Cc: mesa-stable Reviewed-by: Ivan Briano <ivan.bri...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27803> (cherry picked from commit 1bbe2d9833518442a656a393a2219f7c756d09cb) - - - - - 065b7b4d by Yiwei Zhang at 2024-04-29T16:30:19+02:00 venus: avoid client allocators for ring internals There're many cases in which the ring submissions must succeed. We don't worry about real oom since things would fail earlier. For simulated oom from random intentional allocs, there isn't robust way to fail those must succeeds. e.g. the commands that don't have return codes or valid error return struct defaults. So real oom propagation is still at best effort. Cc: mesa-stable Signed-off-by: Yiwei Zhang <zzyi...@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28914> (cherry picked from commit 3e16d25d1a2f217aa0e6e9b8e7eec9f974e38e0b) - - - - - 2bf927dc by Ryan Neph at 2024-04-29T16:30:20+02:00 venus: reclaim signal semaphore feedback resources for wasteful clients Pending feedback resources (cmds, buffers, slots) for timeline semaphores are generally reclaimed for re-use during subsequent semaphore waits/queries or any queue submission containing at least one "wait" semaphore. They are never reclaimed in the unexpected case when all submissions only contain "signal" timeline semaphores, which consume such resources but are never subsequently queried or waited upon. This strange behavior is observed in several Valve games (Portal 2, L4D2, CS2), which all run natively on linux with their own internal distributions of DXVK v2.0 (at time of this MR submission). A Cursory analysis of recent DXVK history indicates that it may be gone by v2.1. The consequence is rapid guest memory leak and host Vk resource leak, resulting in a crash within 1-2 minutes. Fix that leak by running the reclaimation procedure for submissions with _any_ accompanying semaphores. Fixes: d63432012d9 ("venus: refactor semaphore feedback") Signed-off-by: Ryan Neph <ryann...@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28915> (cherry picked from commit ee7e0168a18ad9642d216a5d0bd2c9154e7fed11) - - - - - 3315d832 by Konstantin Seurer at 2024-04-29T16:30:21+02:00 radv: Handle all dependencies of CmdWaitEvents2 The spec describes pDependencyInfos as an array with eventCount elements. cc: mesa-stable Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10579 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28896> (cherry picked from commit d6c9b1d03fd80935131dd93968312eec11a2f38e) - - - - - c8a6c7ff by David Rosca at 2024-04-29T16:30:24+02:00 radv/video: Set correct bit depth and format for 10bit input Fixes: 967e4e09dee ("radv/video: add h265 encode support") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11011 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28736> (cherry picked from commit 2d0282f5762c4980aa2f926f5d1b966d31118693) - - - - - cb75aa3d by David Rosca at 2024-04-29T16:30:25+02:00 radv/video: Check encode profiles and bit depth in capabilities query Fixes: 967e4e09dee ("radv/video: add h265 encode support") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28736> (cherry picked from commit c210bb79521b1900db3b38643396b200fa09a043) - - - - - dd48005f by David Rosca at 2024-04-29T16:30:26+02:00 radv/video: Report maxBitrate in encode capabilities Some cards can do higher bitrate, but 1000 Mbit/s should be high enough for any practical use. It's also the value that AMF reports as max bitrate. Fixes: 54d499818ca ("radv/video: add initial support for encoding with h264.") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28736> (cherry picked from commit 1f07f5a79b4b09eee58594fffd6ebe61bdf32c5d) - - - - - 926715dc by Boris Brezillon at 2024-04-29T16:32:30+02:00 panfrost: do not write outside num_wg_sysval This array has 3 components, because it's meant to hold the X, Y and Z components of the work-group size sysval. However, mir_pick_ubo assumes vec4 for the push-uniforms, which ends up promoting this to 4 components. So let's make sure we don't write that last component. It's not going to do anything good. In practice, this leads to the viewport descriptor being smashed, which doesn't actually do any real-world harm, because this only happens in compute batches where that descriptor is unused. However, writing outside of arrays is undefined behavior, so we should fix it regardless. Fixes: 50061670614 ("panfrost: Hook-up indirect dispatch support") Reviewed-by: Erik Faye-Lund <erik.faye-l...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28856> (cherry picked from commit 186f7fa915b1d748f73a13f12c089af4e47b5c29) - - - - - afb24c66 by Erik Faye-Lund at 2024-04-29T16:32:31+02:00 panfrost: do not deref potentially null pointer We need to check for failure to import *before* we dereference here. Fixes: f94889d0797 ("panfrost: Make pan_texture.{c,h} panfrost_bo agnostic") CID: 1587376 Reviewed-by: Boris Brezillon <boris.brezil...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28856> (cherry picked from commit 8deaf37047c2295c0454e0668e0008edb21dd40e) - - - - - 06995f63 by Erik Faye-Lund at 2024-04-29T16:32:32+02:00 panfrost: correct first-tracking for signature If we unconditionally assign false to first *before* we use it, it's never true when used. Instead, let's assign it *both* at the end *and* when continuing. Fixes: 4da88060d0a ("panfrost: Skip blit shader labelling if the buffer has no space") CID: 1476270 Reviewed-by: Boris Brezillon <boris.brezil...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28856> (cherry picked from commit 9058d5ff6252a1bf340453551613c4717cb87f6c) - - - - - cf443b52 by Erik Faye-Lund at 2024-04-29T16:32:33+02:00 panvk: avoid dereferencing a null-pointer If we're passed a memory-info, but no memory-prop, we'd end up dereferencing a null-pointer here. Let's use a fallback struct instead, similar to what RADV does. Fixes: d970fe2e9d6 ("panfrost: Add a Vulkan driver for Midgard/Bifrost GPUs") CID: 1496060 Reviewed-by: Boris Brezillon <boris.brezil...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28856> (cherry picked from commit 3b3df7b8a98c4171e402a7c4e7170b9d937aae09) - - - - - 6b138e0e by Connor Abbott at 2024-04-29T16:32:33+02:00 ir3: Add scan_clusters_macro to ir3_valid_flags() Fixes: 60413e1 ("ir3: optimize subgroup operations using brcst.active") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22075> (cherry picked from commit 031b61244930b6c94ea1dd36d093840be0316c2a) - - - - - f7a8e1a1 by Connor Abbott at 2024-04-29T16:32:34+02:00 ir3: Add scan_clusters.macro to is_subgroup_cond_mov_macro() Fixes: 60413e1 ("ir3: optimize subgroup operations using brcst.active") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22075> (cherry picked from commit 3c71667dda5cf360f8759a18f54eb74d3c3c8dd7) - - - - - c4e62147 by Connor Abbott at 2024-04-29T16:32:34+02:00 ir3/ra: Don't demote movmsk instructions to non-shared It only supports shared register destinations. Fixes: fa22b0901af ("ir3/ra: Add specialized shared register RA/spilling") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22075> (cherry picked from commit dbeeec25704f9c8a43527b04e8088627f2fbc4bb) - - - - - 7ad091b0 by Matt Turner at 2024-04-29T16:32:35+02:00 intel: Build float64 shader only for Vulkan It's only used by anv and it requires glslang, which isn't otherwise required for building iris. Fixes: b52e25d3a8e ("anv: rewrite internal shaders using OpenCL") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28943> (cherry picked from commit 2a417e3fc1911f5edc912621fe532c1c3ec64d0b) - - - - - d051c7f3 by Michel Dänzer at 2024-04-29T16:32:35+02:00 wsi/wayland: Dispatch event queue in wsi_wl_swapchain_queue_present With explicit sync, only if it wasn't done earlier for FIFO. Prevents potentially unbounded memory usage for (wl_buffer.release events in) the queue, since we don't dispatch the queue anywhere else with explicit sync. v2: * Use wl_display_dispatch_queue_pending instead of wl_display_dispatch_queue_timeout. (Sebastian Wick) * Call it from wsi_wl_swapchain_queue_present instead of wsi_wl_swapchain_acquire_next_image_explicit. (Joshua Ashton) Fixes: 5f7a5a27ef1b ("wsi: Implement linux-drm-syncobj-v1") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28874> (cherry picked from commit c3be21f1778ff3e3de4d6506bb20a0ffd11f5003) - - - - - d994133c by Yiwei Zhang at 2024-04-29T16:32:36+02:00 venus: fix to destroy all pipeline handles on early error paths For early error returns, all pipeline handles have to be destroyed. Otherwise the caller will treat those valid handles as successfully created pipeline objects. Cc: mesa-stable Signed-off-by: Yiwei Zhang <zzyi...@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28944> (cherry picked from commit 4ec84adbed1e7cc0b78af754294c4a2b254bc317) - - - - - 3e378149 by Konstantin Seurer at 2024-04-29T16:32:37+02:00 nir/print: Do not access invalid indices of load_uniform load_uniform does not have io_semantics and component. Fixes: a83fd26 ("nir/print: stop trying to match i/o vars using base/driver_location") Reviewed-By: Mike Blumenkrantz <michael.blumenkra...@gmail.com> Reviewed-by: Christian Gmeiner <cgmei...@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28962> (cherry picked from commit ea863c0c1ccbc26ad6f9e1e6fbc834ebcd85bc3c) - - - - - f3c64c2f by Samuel Pitoiset at 2024-04-29T16:32:37+02:00 radv: remove bogus VkShaderCreateInfoEXT::flags being 0 assert for compute This was a leftover. Flags can be different than 0, like for required subgroup size and it should already be correctly supported. Fixes recent dEQP-VK.shader_object.performance.dispatch_base. Fixes: 37d7c2172b2 ("radv: add support for creating/destroying shader objects") Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28946> (cherry picked from commit 0b518681938c9eeb9133972a66a91fc4ff6cf2a1) - - - - - 9fff8df5 by David Rosca at 2024-04-29T16:32:38+02:00 radeonsi/vcn: Allocate session buffer in VRAM It's never mapped so there's no reason for PIPE_USAGE_STAGING. Improves encoding performance on dGPUs. Tested with 7900XTX (before 1900fps => after 2100fps): ffmpeg -hide_banner -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 \ -f lavfi -i testsrc=size=640x640,format=nv12 -vf hwupload -c:v av1_vaapi \ -f null - Cc: mesa-stable Reviewed-by: Ruijing Dong <ruijing.d...@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28945> (cherry picked from commit cc0df497f0d4579301dc853587aef7ca8aa679ea) - - - - - 526eeb0b by David Rosca at 2024-04-29T16:32:38+02:00 radeonsi/vcn: Fix 10bit HEVC VPS general_profile_compatibility_flags Cc: mesa-stable Reviewed-by: Ruijing Dong <ruijing.d...@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28945> (cherry picked from commit b144f501906dcb4a54e0aa8d699768c8d9d13bbb) - - - - - 69ca6360 by David Rosca at 2024-04-29T16:32:39+02:00 radeonsi/vcn: Only enable VBAQ with rate control mode Cc: mesa-stable Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10020 Reviewed-by: Ruijing Dong <ruijing.d...@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28945> (cherry picked from commit bc72126cb4e425893918e2d17f0cc2a253096651) - - - - - 0eea7409 by Eric Engestrom at 2024-04-30T14:22:32+02:00 .pick_status.json: Update to 86281ef15fca378ef48bcb072a762168e537820d - - - - - 235d807e by JCWasmx86 at 2024-04-30T14:22:34+02:00 meson: Fix invalid kwarg name Introduced in !28576 Fixes: 44b080af ("meson: implement split-debug") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28924> (cherry picked from commit 7352f948bee551f205476eeff2aec7cb657daf50) - - - - - 56a8bde8 by Mike Blumenkrantz at 2024-04-30T14:22:35+02:00 kopper: fix bufferage/swapinterval handling for non-window swapchains if swapchain creation fails (e.g., insane cts swapchain configs), the swapchain gets demoted to a non-window image that is still accessed by the frontend. this image should not ever hit corresponding zink entrypoints for swapchain-only images, which requires a flag to test swapchain-edness cc: mesa-stable Acked-by: Dave Airlie <airl...@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28904> (cherry picked from commit a50c17802ab1f60d2fc707f05552f73f4b2d284a) - - - - - 5b00c6e7 by Mike Blumenkrantz at 2024-04-30T14:22:36+02:00 zink: slightly better swapinterval failure handling retain the old mode and print an error cc: mesa-stable Acked-by: Dave Airlie <airl...@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28904> (cherry picked from commit 19e8df39b62a26ae55273de7b4866c24d1657dda) - - - - - 14868a48 by Mike Blumenkrantz at 2024-04-30T14:22:38+02:00 kopper: don't set drawable buffer age this is broken Fixes: 2a8c6cf7ac4 ("kopper: set drawable buffer age") Acked-by: Dave Airlie <airl...@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28904> (cherry picked from commit ad39355e837829a9d3ed36c3e60cce55a131d0b6) - - - - - 7d91b15b by Patrick Lerda at 2024-04-30T14:22:39+02:00 gallium/auxiliary/vl: fix typo which negatively impacts the src_stride initialization Note: As a matter of fact, this change by itself makes vdpau on r600 works again. Indeed, r600 sets the stride value with vertex_buffer_index as the r600 index; vertex_buffer_index was set to zero at the vl_compositor/init_buffers() stage on the three elements. As a consequence of this typo the stride value was overwritten to zero. This was breaking vdpau. Fixes: 76725452 ("gallium: move vertex stride to CSO") Related: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10468 Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10267 Signed-off-by: Patrick Lerda <patrick9...@free.fr> Reviewed-by: Leo Liu <leo....@amd.com> Reviewed-By: Mike Blumenkrantz <michael.blumenkra...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28966> (cherry picked from commit fe8fdc58db9cc364e7215b70f229cac3001a4676) - - - - - 0874a9f6 by Iago Toral Quiroga at 2024-04-30T14:22:41+02:00 v3dv: fix VK_KHR_vertex_attribute_divisor When this was promoted to EXT it expanded its properties struct to add a new supportsNonZeroFirstInstance field. Fixes: d38ff02c03 ("v3dv: mark some promoted extensions as supported") Fixes: dEQP-VK.api.info.vulkan1p2_limits_validation.khr_vertex_attribute_divisor Reviewed-by: Alejandro Piñeiro <apinhe...@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28964> (cherry picked from commit e8f96dd0b01df9c7e9e48b68eb846d93bd5036a9) - - - - - 281ac5e6 by Eric Engestrom at 2024-05-01T13:21:50+02:00 .pick_status.json: Update to 47f6e24ad5dfcb59dd1511800aee8c56b4f8fee4 - - - - - b52d5496 by Eric Engestrom at 2024-05-01T13:21:55+02:00 meson: simplify `-gsplit-dwarf` compiler argument check Fixes: 44b080af07f0ba516f0d ("meson: implement split-debug") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28898> (cherry picked from commit 11b060f41acf8fb297b64757f49b7cf0a8f8401c) - - - - - 4e0125bd by Eric Engestrom at 2024-05-01T13:21:56+02:00 meson: move tsan-blacklist.txt to build-support with the other build support files Fixes: 0d46e0e88bdeb8bfff3b ("meson: Add blacklist when compiling with tsan") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28996> (cherry picked from commit 47f6e24ad5dfcb59dd1511800aee8c56b4f8fee4) - - - - - f3ff3d86 by Eric Engestrom at 2024-05-01T15:02:04+02:00 VERSION: bump for 24.1.0-rc2 - - - - - 30 changed files: - .gitlab-ci/common/generate-env.sh - .gitlab-ci/test/gitlab-ci.yml - + .pick_status.json - VERSION - tsan-blacklist.txt → build-support/tsan-blacklist.txt - meson.build - src/amd/compiler/aco_register_allocation.cpp - src/amd/vulkan/radv_cmd_buffer.c - src/amd/vulkan/radv_formats.c - src/amd/vulkan/radv_shader_object.c - src/amd/vulkan/radv_video.c - src/amd/vulkan/radv_video_enc.c - src/broadcom/ci/broadcom-rpi4-fails.txt - src/broadcom/vulkan/v3dv_device.c - src/compiler/nir/nir_print.c - src/freedreno/ir3/ir3.c - src/freedreno/ir3/ir3.h - src/freedreno/ir3/ir3_shared_ra.c - src/gallium/auxiliary/vl/vl_compositor.c - src/gallium/drivers/etnaviv/etnaviv_debug.h - src/gallium/drivers/etnaviv/etnaviv_ml.c - src/gallium/drivers/etnaviv/etnaviv_ml_nn.c - src/gallium/drivers/etnaviv/etnaviv_ml_tp.c - src/gallium/drivers/etnaviv/etnaviv_screen.c - src/gallium/drivers/panfrost/pan_cmdstream.c - src/gallium/drivers/panfrost/pan_resource.c - src/gallium/drivers/radeonsi/radeon_vcn_enc.c - src/gallium/drivers/radeonsi/radeon_vcn_enc_1_2.c - src/gallium/drivers/radeonsi/radeon_vcn_enc_2_0.c - src/gallium/drivers/radeonsi/radeon_vcn_enc_3_0.c The diff was not included because it is too large. View it on GitLab: https://salsa.debian.org/xorg-team/lib/mesa/-/compare/b0de5e98f0f4c0829bc99f53f625045f7c0423eb...f3ff3d86efcbada04311e2a8a9e55aa5b2f6e308 -- View it on GitLab: https://salsa.debian.org/xorg-team/lib/mesa/-/compare/b0de5e98f0f4c0829bc99f53f625045f7c0423eb...f3ff3d86efcbada04311e2a8a9e55aa5b2f6e308 You're receiving this email because of your account on salsa.debian.org.