[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][xorg-team/lib/mesa][debian-unstable] 83 commits: docs: add sha256sum for 24.0.4



Title: GitLab

Timo Aaltonen pushed to branch debian-unstable at X Strike Force / lib / mesa

Commits:

  • 06d94df0
    by Eric Engestrom at 2024-03-27T21:54:17+00:00
    docs: add sha256sum for 24.0.4
    
  • 60c5bc93
    by Eric Engestrom at 2024-04-01T08:11:08+01:00
    .pick_status.json: Update to 3d68dd78d07b30cefe90d76af681075f4ed6b33d
    
  • 3a181751
    by Lucas Stach at 2024-04-01T08:12:53+01:00
    etnaviv: fix depth writes without testing
    
    Depth writes are only gated by the depth writemask. The state object
    member depth_enabled must only affect depth testing.
    
    Fixes: b29fe26d4387 ("etnaviv: rework ZSA into a derived state")
    Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
    Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28403>
    (cherry picked from commit 3a10d1be0e9840d16ffa1c8024b193c5aa2e0995)
    
  • f8bfdc4b
    by David Stern at 2024-04-01T08:14:33+01:00
    vulkan/wsi/x11: Explicitly discard errors from xcb_present_pixmap.
    
    Errors produced by the call to `xcb_present_pixmap` should be explicitly
    discarded to ensure they don't leak into the application event loop.
    
    Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
    
    Fixes: 2b885b23 ("vk/wsi/x11: stop roundtripping on presentation")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28402>
    (cherry picked from commit 82ed8aadea26770331974b8d3abab56f13c7fc8d)
    
  • e0c85b91
    by Samuel Pitoiset at 2024-04-01T08:21:55+01:00
    radv: fix conditional rendering with mesh+task and multiview (again)
    
    ViewIndex isn't allowed with task shaders and the whole thing was just
    wrong.
    
    Fixes GPU hangs with
    dEQP-VK.mesh_shader.ext.conditional_rendering.*_multiview.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28157>
    (cherry picked from commit bcf793306fbfd013a4f756dfee199b88b5190d11)
    
  • 6c4a85a0
    by Georg Lehmann at 2024-04-01T08:25:51+01:00
    aco: don't combine mul+add_clamp to mad_clamp
    
    The result is not the same if the multiplication overflows, mad_clamp
    does not truncate between the mul and the add.
    
    Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
    
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28421>
    (cherry picked from commit 51a5ebbd01ca7ed73699c68eb8a0cdf80ec1d84a)
    
  • c34dc4be
    by Juston Li at 2024-04-01T08:25:54+01:00
    Revert "zink: store last pipeline directly for zink_gfx_program::last_pipeline"
    
    This reverts commit be8b7980e66f3526d7c1eb9b137772fb6fc90a96.
    
    Store the cache entry so that the fast path picks up the optimized
    pipeline when its available from a background optimized_compile_job().
    
    Observed traces where it would take the fast path back and forth using
    an unoptimized pipeline and never pick up the optimized pipeline leading
    to >50% fps drop.
    
    Signed-off-by: Juston Li <justonli@google.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28440>
    (cherry picked from commit d6978b1af2749f521c8371ba19526f56f1e5d42d)
    
  • 6c9706d9
    by Karol Herbst at 2024-04-01T08:25:57+01:00
    meson: fix link failure with llvm-18
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10739
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10775
    cc: mesa-stable
    
    Signed-off-by: Karol Herbst <kherbst@redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28267>
    (cherry picked from commit 88a9576a3ef0e65a1b020961145bd1718bb0f71f)
    
  • 4bd77aff
    by Mike Blumenkrantz at 2024-04-01T08:25:59+01:00
    zink: only check that CUBE_COMPATIBLE for images doesn't subtract flags
    
    the flags may change if e.g., HOST_TRANSFER is enabled by adding CUBE
    
    fixes #10924
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28460>
    (cherry picked from commit edeb3fec4dc7c2d1593501521161597d1006cd01)
    
  • b10ce215
    by Ian Romanick at 2024-04-01T08:26:00+01:00
    intel/brw: Clear write_accumulator flag when changing the destination
    
    If the destination was the accumulator but is no longer, having the flag
    set is not correct. On Xe2 this also causes a validation error.
    
    v2: Reword the comment to be more clear. Suggested by Jordan.
    
    Fixes: efa4e4bc5fc ("intel/fs: Introduce regioning lowering pass.")
    Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28404>
    (cherry picked from commit be4fa59a724fff6c94be66665d151b6462ecedb8)
    
  • da2e83a3
    by Ian Romanick at 2024-04-01T08:26:01+01:00
    intel/brw: Use enums for DPAS source regioning
    
    Was previously passing 1, 1, 0 as the regioning. This generated
    incorrect disassembly because the encoding for a width of 1 is 0. Use
    the enums to ensure the correct values are used.
    
    Fixes: 1c92dad5cb7 ("intel/disasm: Disassembly support for DPAS")
    Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28404>
    (cherry picked from commit c6bd6f2a41253e6430229e1e2ea8a969fd04363b)
    
  • 27faffb9
    by Ian Romanick at 2024-04-01T08:26:04+01:00
    nir: intel/brw: Change the order of sources for nir_dpas_intel
    
    It was by pure luck that all sources (and the result) of nir_dpas_intel
    had the same number of components. It is possible to support matrix
    sizes where the accumlator matrix and the result matrix are larger
    (e.g., 16x8 * 8x16 = 16x16).
    
    This breaks all of the assumptions of NIR's infrastructure for code
    generating intrinsics. Fix the by making the accumulator matrix be the
    first source. The accumulator and the result will always have the same
    dimensions (due to rules of matrix multiplication) and the same type
    (due to restructions of the cooperative matrix extension). This forces
    them to have the same number of components.
    
    This doesn't fix all the potential problems. NIR expects that all
    0-sized sources will have the same number of components. This just
    ensures that the result has the correct number of components.
    
    Fixes: 6b14da33ad3 ("intel/fs: nir: Add nir_intrinsic_dpas_intel")
    Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28404>
    (cherry picked from commit a8115221e596a8bed7a64799ccc03aa9ad225d92)
    
  • d7af7fde
    by Zan Dobersek at 2024-04-01T08:26:05+01:00
    tu: fix memory leaks in tu_shader
    
    When tu_shader object is destroyed through vk_pipeline_cache, the relevant
    destroy callback should relay to the general tu_shader_destroy function
    that will also clean up owned resources.
    
    During shader creation, the ir3_shader object should be destroyed once the
    shader variants are retrieved. Since those variants are owned by tu_shader
    they should be freed up in tu_shader_destroy.
    
    Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
    Fixes: a03525d8db7 ("tu: Split program draw state into per-shader states")
    Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27847>
    (cherry picked from commit 3ee81ffe14c62b7c38dbe136aef88a88165a0900)
    
  • c84e2e31
    by David Heidelberg at 2024-04-01T08:26:08+01:00
    r300: add missing licence to the r300_public.h
    
    Hardly a copyrightable file, though it should inherit the MIT
    license as the code originate from MIT licensed r300_winsys.h.
    
    Fixes: 6e3fc2de2a18 ("r300g: Move bootstrap code to targets")
    Reviewed-by: Pavel Ondračka <pavel.ondracka@gmail.com>
    Signed-off-by: David Heidelberg <david@ixit.cz>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28384>
    (cherry picked from commit b2ae73b27ed420cf0989a0f4ed68c588e23302e1)
    
  • 8ab2fb3f
    by David Heidelberg at 2024-04-01T08:26:34+01:00
    r300: add missing copyright header
    
    Missed copyright header in newly added file.
    
    Fixes: 024491f60fdc ("r300: nir fcsel/CMP lowering pass for R500")
    Reviewed-by: Pavel Ondračka <pavel.ondracka@gmail.com>
    Signed-off-by: David Heidelberg <david@ixit.cz>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28384>
    (cherry picked from commit a2d3cdd5f206029a02ba9b94eff528336e10b3c1)
    
  • f0ab4edc
    by Eric Engestrom at 2024-04-01T16:07:59+01:00
    .pick_status.json: Update to fcb568a5d5a52db75fa2f6d04579bb404ca7f597
    
  • 33da1afe
    by David Heidelberg at 2024-04-01T16:08:05+01:00
    docs: we support EGL 1.5 for a long time
    
    Cc: mesa-stable
    Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28495>
    (cherry picked from commit 28a1cdf7e0450815cf19cbbd2bd3fbaf1d32062d)
    
  • 7cbcbd3b
    by Iago Toral Quiroga at 2024-04-01T16:08:08+01:00
    v3d: implement fix for GFXH-1602
    
    Same fix as implemented for v3dv.
    
    Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28414>
    (cherry picked from commit ad647e2c90fb76e3a7c5e8d21c3f68a78bc474fc)
    
  • 52549327
    by Iago Toral Quiroga at 2024-04-01T16:08:13+01:00
    broadcom/compiler: fix workaround for GFXH-1602
    
    In this scenario drivers are adding a dummy attribute with a size
    of 1, so we should account for it here.
    
    Fixes missing window decorations with GTK4+.
    
    Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10853
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28414>
    (cherry picked from commit 9fad2922fb4e1b7fc5e657980fdbdcd0baec106d)
    
  • ef08816b
    by Eric Engestrom at 2024-04-09T21:15:28+01:00
    .pick_status.json: Update to 078fe5454e97d073feb18bcdcf7ed1874e8b4835
    
  • 4b5623a0
    by Nikita Popov at 2024-04-09T21:16:02+01:00
    Pass no-verify-fixpoint option to instcombine in LLVM 18
    
    When LLVM 18 is used, pass the no-verify-fixpoint option when
    running the instcombine pass. Otherwise LLVM may abort with an
    error.
    
    The background here is that this option is enabled by default for
    testing purposes, because instcombine is normally only explicitly
    invoked like this inside tests. If it is used in an actual
    production pipeline, the no-verify-fixpoint option needs to be
    enabled.
    
    This should fix the issue reported at
    https://bugzilla.redhat.com/show_bug.cgi?id=2268800.
    
    Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com>
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28101>
    (cherry picked from commit 99f0449987bec1f82cd42a06f40bb4a863a37792)
    
  • db324a6b
    by José Roberto de Souza at 2024-04-09T21:16:39+01:00
    anv: Fix calculation of syncs required in Xe KMD
    
    num_syncs was being incremented by one if 'utrace_submit != NULL' but
    a sync was only being set if also
    'util_dynarray_num_elements(&utrace_submit->batch_bos) == 0'.
    
    This mismatch could cause application to abort due to
    'assert(count == num_syncs)'.
    
    Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27244>
    (cherry picked from commit d5ec2fa52f9bfbc96a0d56a149b6c85f1e4e3b8f)
    
  • 8f5cdfe3
    by José Roberto de Souza at 2024-04-09T21:16:54+01:00
    iris: Wait for drm_xe_exec_queue to be idle before destroying it
    
    Xe KMD don't refcount anything, so resources could be freed while they
    are still in use if we don't wait for exec_queue to be idle.
    
    This issue was found with Xe KMD error capture, VM was already
    destroyed when it attemped to capture error state but it can also
    happen in applications that did not hang.
    
    This fixed the '*ERROR* GT0: TLB invalidation' errors when running
    piglit all test list.
    
    Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27500>
    (cherry picked from commit 665d30b5448f606d7a79afe0596c3a2264ab3e15)
    
  • eadd6fd2
    by Paulo Zanoni at 2024-04-09T21:19:14+01:00
    anv/xe: don't leak xe_syncs during trtt submission
    
    ==134077== 96 bytes in 1 blocks are definitely lost in loss record 1 of 3
    ==134077==    at 0x4840808: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
    ==134077==    by 0x6D6F690: vk_default_alloc (vk_alloc.c:26)
    ==134077==    by 0x52EEEBE: vk_alloc (vk_alloc.h:48)
    ==134077==    by 0x52EEEEE: vk_zalloc (vk_alloc.h:56)
    ==134077==    by 0x52EF47E: xe_exec_process_syncs (anv_batch_chain.c:132)
    ==134077==    by 0x52EF8F6: xe_execute_trtt_batch (anv_batch_chain.c:215)
    ==134077==    by 0x5301670: anv_queue_submit_trtt_batch (anv_batch_chain.c:1697)
    ==134077==    by 0x603D135: gfx125_write_trtt_entries (genX_cmd_buffer.c:6091)
    ==134077==    by 0x5370B44: anv_sparse_bind_trtt (anv_sparse.c:595)
    ==134077==    by 0x5370CFC: anv_sparse_bind (anv_sparse.c:629)
    ==134077==    by 0x5370E6E: anv_init_sparse_bindings (anv_sparse.c:670)
    ==134077==    by 0x5328037: anv_CreateBuffer (anv_device.c:5071)
    
    Note to backporters: this is only for when xe.ko is being used and
    ANV_SPARSE_USE_TRTT=1 is exported. This is not the regular code path.
    
    Fixes: 18bd00c024fc ("anv/trtt: don't wait/signal syncobjs using the CPU anymore")
    Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
    Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28455>
    (cherry picked from commit 38af7254e207ebb5303ad97f87b5460392383ef4)
    
  • 12d72d4d
    by Kenneth Graunke at 2024-04-09T21:20:42+01:00
    intel/brw: Fix generate_mov_indirect to check has_64bit_int not float
    
    We are overriding the type to Q/UQ, so we need to split to two MOVs
    if 64-bit integer math is not supported.  For reference, Meteorlake
    does support 64-bit floats but would still not work correctly here.
    
    See also brw_broadcast(), which does similar indirects but correctly
    checks has_64bit_int instead of has_64bit_float.
    
    Cc: mesa-stable
    Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28458>
    (cherry picked from commit a90edad9f72607310f64be2fd0897ffa7d74a3d8)
    
  • 92cf2460
    by Kenneth Graunke at 2024-04-09T21:22:25+01:00
    intel/brw: Fix lower_regioning for BROADCAST, MOV_INDIRECT on Q types
    
    For BROADCAST and MOV_INDIRECT, required_exec_type was returning
    brw_int_type(type_sz(t), false), which is an unsigned type.  However,
    get_exec_type(inst) returns the original type for either Q or UQ.
    This meant that has_invalid_exec_type would detect a mismatch and
    trigger lowering.
    
    That lowering would insert new 64-bit MOVs, which would need to be
    lowered on platforms which don't support Q/UQ.  Except, we already
    ran that lowering pass earlier.  So, the unlowered Q/UQ MOVs would
    reach the software scoreboarding pass, and trigger failures in the
    inferred_exec_pipe() function, as no pipe is available to handle
    64-bit integer operations.
    
    It turns out that we don't need the region lowering pass to do
    anything for these opcodes.  The generator code for both BROADCAST
    and MOV_INDIRECT already handle decomposing Q/UQ operations into
    32-bit MOVs when they're not supported.  And, it also implicitly
    converts to integer types, even for floating point sources.  The
    inferred_exec_pipe function already special cases them to note
    that they'll always be handled on the integer pipe, so that matches.
    
    Just drop the region lowering code for these opcodes.
    
    Cc: mesa-stable
    Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28458>
    (cherry picked from commit 7a24f29fbbb9e95053699ef0e5e19999655fee73)
    
  • b657ee81
    by Tapani Pälli at 2024-04-09T21:27:33+01:00
    anv: disable fcv optimization on >= gfx125
    
    Earlier strategy was to enable always on DG2 but there has been bunch of
    issues that indicate this feature is not working correctly. Disable
    until we figure out issues with it.
    
    Cc: mesa-stable
    Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28184>
    (cherry picked from commit a87d88854605857f83ce62f09809a2511a063a66)
    
  • 2f9c2f74
    by Georg Lehmann at 2024-04-09T21:27:40+01:00
    aco/ra: use SDWA for 16bit instructions when the second byte is blocked
    
    Found by inspection, I think this can happen with pack_32_4x8(f2u8(a@16)),
    which will use v_cvt_u16_f16 (a 16bit instruction) with a v1b definition.
    
    No Foz-DB changes on Navi21.
    
    Cc: mesa-stable
    
    Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28443>
    (cherry picked from commit 80652de67ba990cee16ee68f51d86a156ad40e2e)
    
  • f794f5fa
    by Samuel Pitoiset at 2024-04-09T21:27:41+01:00
    radv: enable radv_zero_vram for Red Dead Redemption 2
    
    This fixes some very rare glitches that are unrelated to DCC.
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8719
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28393>
    (cherry picked from commit a535425fb6d6def5b93f8aa5d44a1e73a0335384)
    
  • 1cc79c6d
    by Yonggang Luo at 2024-04-09T21:27:42+01:00
    util: Fixes futex_wait on win32
    
    The timeout compute is invalid
    
    Fixes: 095dfc6caa2 ("util: Move the implementation of futex_wake and futex_wait from futex.h to futex.c")
    
    Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
    Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28473>
    (cherry picked from commit 54e3fde5ca91834c52a0f2944e4e245a07434b54)
    
  • b21da223
    by Mike Blumenkrantz at 2024-04-09T21:27:43+01:00
    zink: don't use set_foreach_remove with dmabuf_exports
    
    foreach_remove cannot be used if the set ever has members deleted,
    and this set may have deleted members
    
    Fixes: 7b7a581a52d ("zink: prune dmabuf export tracking when adding resource binds")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28464>
    (cherry picked from commit c2e0c2c67f0609b4542bed696d5c22cd47fe2790)
    
  • 398bd27e
    by Mike Blumenkrantz at 2024-04-09T21:27:43+01:00
    zink: make descriptor pool creation more robust
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28467>
    (cherry picked from commit 18fbe63ff215c7366dc4049e6b14fa375e59e90a)
    
  • f21d4dbe
    by Mike Blumenkrantz at 2024-04-09T21:27:44+01:00
    zink: fix shaderdb pipeline compile
    
    this assert is always triggered with shaderdb, but it's not relevant there
    
    Fixes: 0ebd6f52a20 ("zink: reuse rast_prim for line-rasterization check")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28525>
    (cherry picked from commit 3352803510bebcbf86e25068319945250e16cc3d)
    
  • 23a9b2ba
    by Patrick Lerda at 2024-04-09T21:27:45+01:00
    r300: fix constants_remap_table memory leak related to the dummy shader path
    
    A last memory leak related to constants_remap_table is happening.
    This memory leak is triggered by two deqp-gles2 tests.
    
    For instance, this issue is triggered with
    "deqp-gles2 --deqp-case=dEQP-GLES2.functional.uniform_api.random.13":
    Direct leak of 336 byte(s) in 1 object(s) allocated from:
        #0 0x7f1b4a5de7ef in __interceptor_malloc (/usr/lib64/libasan.so.6+0xb17ef)
        #1 0x7f1b401a2cdf in rc_remove_unused_constants ../src/gallium/drivers/r300/compiler/radeon_remove_constants.c:101
        #2 0x7f1b40185386 in rc_run_compiler_passes ../src/gallium/drivers/r300/compiler/radeon_compiler.c:476
        #3 0x7f1b40185625 in rc_run_compiler ../src/gallium/drivers/r300/compiler/radeon_compiler.c:498
        #4 0x7f1b401c14d2 in r3xx_compile_fragment_program ../src/gallium/drivers/r300/compiler/r3xx_fragprog.c:172
        #5 0x7f1b401b669a in r300_translate_fragment_shader ../src/gallium/drivers/r300/r300_fs.c:516
        #6 0x7f1b401baf73 in r300_pick_fragment_shader ../src/gallium/drivers/r300/r300_fs.c:592
        #7 0x7f1b40128db7 in r300_create_fs_state ../src/gallium/drivers/r300/r300_state.c:1071
        #8 0x7f1b3e67799d in st_create_fp_variant ../src/mesa/state_tracker/st_program.c:1073
        #9 0x7f1b3e680285 in st_get_fp_variant ../src/mesa/state_tracker/st_program.c:1119
        #10 0x7f1b3e6812fa in st_precompile_shader_variant ../src/mesa/state_tracker/st_program.c:1284
        #11 0x7f1b3e6812fa in st_finalize_program ../src/mesa/state_tracker/st_program.c:1363
        #12 0x7f1b3f13d501 in st_link_glsl_to_nir ../src/mesa/state_tracker/st_glsl_to_nir.cpp:754
        #13 0x7f1b3f13d501 in st_link_shader ../src/mesa/state_tracker/st_glsl_to_nir.cpp:990
        #14 0x7f1b3efeef75 in link_program ../src/mesa/main/shaderapi.c:1336
        #15 0x7f1b3efeef75 in link_program_error ../src/mesa/main/shaderapi.c:1445
    
    Fixes: 29df85788a7f ("r300: fix constants_remap_table memory leak")
    Signed-off-by: Patrick Lerda <patrick9876@free.fr>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28522>
    (cherry picked from commit 24a5165cdf9f9181b3904837efde7fe03ea7c8be)
    
  • f08cb1aa
    by Mike Blumenkrantz at 2024-04-09T21:27:46+01:00
    zink: don't clobber indirect array reads with missing components
    
    this breaks interfaces where the consumer reads its input indirectly
    and only some of the components are written by clobbering all
    the components, even if the unwritten components are never accessed
    
    Fixes: 459b49a1749 ("zink: add a new linker pass to handle mismatched i/o components")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28466>
    (cherry picked from commit 460cd99ea540fa5b8f0a063b9943afaf29b6cf06)
    
  • b87c4de1
    by Mike Blumenkrantz at 2024-04-09T21:27:47+01:00
    zink: fix add_derefs case for compact arrays
    
    only compact arrays use the aoa size as the vector length
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28466>
    (cherry picked from commit 2185da6c894b671775eb44a724a9f39c384da298)
    
  • 23d2c845
    by Mike Blumenkrantz at 2024-04-09T21:27:48+01:00
    llvmpipe: fix DRAW_USE_LLVM=0
    
    this only supports 16 UBOs
    
    fixes #9346
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28335>
    (cherry picked from commit 356d88d1e8a4233a572cf0dab4bdc719f6ddf1de)
    
  • 0c3ab051
    by Mike Blumenkrantz at 2024-04-09T21:35:12+01:00
    glsl: handle xfb resources for spirv before running varying opts
    
    this otherwise breaks lowered io
    
    cc: mesa-stable
    
    Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28529>
    (cherry picked from commit ba52fb0eca373bf9ee61e66872c7c10d898686d8)
    
  • 95e350d2
    by Connor Abbott at 2024-04-09T21:38:03+01:00
    freedreno/a7xx: Add CP_CCHE_INVALIDATE
    
    Fixes: 95104707f18 ("tu: Basic a7xx support")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28445>
    (cherry picked from commit abe9bd38ff079cd1b08662c5c99c63e391d5c58d)
    
  • 24fd8685
    by Connor Abbott at 2024-04-09T21:43:26+01:00
    tu: Implement CCHE invalidation
    
    We need invalidate CCHE when we optimize out an invalidation of UCHE,
    for example a storage image write to texture read. We missed this
    earlier because of the blob's tendency to always over-flush, but the
    blob does use this when building acceleration structures.
    
    Fixes: 95104707f18 ("tu: Basic a7xx support")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28445>
    (cherry picked from commit fb1c3f7f5de6642fcd127724a0cea5643d39d7ee)
    
  • 721dbc0a
    by Eric R. Smith at 2024-04-09T21:43:28+01:00
    panfrost: mark indirect compute buffer as read
    
    When we dispatch an indirect compute job, the buffer containing
    the indirect parameters should be marked as read (since the GPU
    will read the parameters from there). Without this there's a
    race condition if the CPU later updates the buffer.
    
    Signed-off-by: Eric R. Smith <eric.smith@collabora.com>
    Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28512>
    (cherry picked from commit ad7457fe20e37acd9031cba2537ad24859f6f07e)
    
  • 661c9390
    by Mike Blumenkrantz at 2024-04-09T21:43:29+01:00
    mesa: clamp binary pointer in ShaderBinary if length==0
    
    this pointer is only valid if length is valid
    
    fixes dEQP-GL45-ES3.functional.negative_api.shader.shader_binary with
    glthread enabled
    
    fixes #10915
    
    cc: mesa-stable
    
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28501>
    (cherry picked from commit 37be4bf1b757144a67da08b3ebcb5256fc611925)
    
  • f0e04593
    by Faith Ekstrand at 2024-04-09T21:43:30+01:00
    nvk: Add a _pad field to nvk_cbuf
    
    We use nvk_cbuf as a key in a hash table in nvk_nir_lower_descriptors()
    so we want to make sure it always gets fully initialized.
    
    Fixes: f1c909edd5c9 ("nvk/nir: Add cbuf analysis to nvi_nir_lower_descriptors()")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10956
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28564>
    (cherry picked from commit f30ce2656901301957672d3e1bc7cf4d2c8e0a57)
    
  • 25d0db95
    by Dave Airlie at 2024-04-09T21:43:31+01:00
    mesa: reorder st context teardown
    
    some gnome tests are seeing this:
    
    ==4579== Invalid read of size 4
    ==4579==    at 0x161B28FB: UnknownInlinedFun (simple_mtx.h:106)
    ==4579==    by 0x161B28FB: st_save_zombie_sampler_view (st_context.c:213)
    ==4579==    by 0x161D762A: st_texture_release_all_sampler_views.part.0 (st_sampler_view.c:272)
    ==4579==    by 0x161D7CB6: st_texture_release_all_sampler_views (st_sampler_view.c:258)
    ==4579==    by 0x161D7CB6: st_delete_texture_sampler_views (st_sampler_view.c:292)
    ==4579==    by 0x16191B9E: _mesa_delete_texture_object (texobj.c:523)
    ==4579==    by 0x16191CDC: _mesa_reference_texobj_ (texobj.c:637)
    ==4579==    by 0x1619632F: _mesa_reference_texobj (texobj.h:92)
    ==4579==    by 0x1619632F: _mesa_free_texture_data (texstate.c:1114)
    ==4579==    by 0x162EEE1D: _mesa_free_context_data (context.c:1155)
    ==4579==    by 0x161B3C0F: st_destroy_context (st_context.c:999)
    ==4579==    by 0x160F155A: dri_destroy_context (dri_context.c:277)
    ==4579==    by 0x1603C371: dri2_destroy_context (egl_dri2.c:1592)
    ==4579==    by 0x1602EBF5: eglDestroyContext (eglapi.c:918)
    ==4579==    by 0x502DF3C: gdk_gl_context_dispose (gdkglcontext.c:211)
    ==4579==  Address 0x34dc9b08 is 7,016 bytes inside an unallocated block of size 10,336 in arena "client"
    ==4579==
    
    It appears we destroy the mutex and zombie objects, but freeing
    context data seems to add them back.
    
    This might not be the complete answer.
    
    Cc: mesa-stable
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28565>
    (cherry picked from commit f8e48b561e5194f44f2cb2fe6ab3d53c51f96747)
    
  • 94cb4761
    by Mike Blumenkrantz at 2024-04-09T21:45:07+01:00
    glsl: set PSIZ bit in outputs_written when injecting a 1.0 psiz write
    
    gather_info may not be called before something checks this value
    
    cc: mesa-stable
    
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28463>
    (cherry picked from commit 056fe1dc6a26dbbc1439c9eb270e33b961b9c48e)
    
  • b07f9486
    by Mike Blumenkrantz at 2024-04-09T21:45:09+01:00
    nir/lower_clamp_color_outputs: fix use with lowered io
    
    if io is lowered, variables cannot be used
    
    cc: mesa-stable
    
    Acked-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28463>
    (cherry picked from commit 56d7dad19cf286ef43aa066e31a71e91954481dc)
    
  • 5e02f105
    by Mike Blumenkrantz at 2024-04-09T21:45:10+01:00
    nir/texcoord_replace: fix scalarized io handling
    
    if a texcoord load only loads some components, only those components
    should be replaced
    
    cc: mesa-stable
    
    Acked-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28463>
    (cherry picked from commit 0851c30d1616931501ab2c5ba0204f0710bd8d0f)
    
  • f144f326
    by Lionel Landwerlin at 2024-04-09T21:50:41+01:00
    anv: fix protected memory allocations
    
    Using the wrong flag field...
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: 5f2c77a10a ("anv: handle protected memory allocation")
    Reviewed-by: Rohan Garg <rohan.garg@intel.com>
    Tested-by: Mark Janes <markjanes@swizzler.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26540>
    (cherry picked from commit 07bf480856536336186c3ec53f46e10b8754cfdb)
    
  • 3935eb32
    by Lionel Landwerlin at 2024-04-09T21:55:58+01:00
    anv: disable protected content around surface state copies
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: 794b0496e9 ("anv: enable protected memory")
    Reviewed-by: Rohan Garg <rohan.garg@intel.com>
    Tested-by: Mark Janes <markjanes@swizzler.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26540>
    (cherry picked from commit 034a1cdb583bd3eb6b10bdb7702408528d0ff34f)
    
  • 9e225ce5
    by Lionel Landwerlin at 2024-04-09T21:58:41+01:00
    anv: disable generated draws in protected command buffers
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: 794b0496e9 ("anv: enable protected memory")
    Reviewed-by: Rohan Garg <rohan.garg@intel.com>
    Tested-by: Mark Janes <markjanes@swizzler.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26540>
    (cherry picked from commit d2e490dc4d201821253b39e38421b98687c27168)
    
  • 955d6229
    by Lionel Landwerlin at 2024-04-09T21:59:21+01:00
    anv: update protection fault property
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: 794b0496e9 ("anv: enable protected memory")
    Reviewed-by: Rohan Garg <rohan.garg@intel.com>
    Tested-by: Mark Janes <markjanes@swizzler.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26540>
    (cherry picked from commit 9b0f028c7ea21c84342b8a5b1a84fd1eb400fbfa)
    
  • 0deacc98
    by Jordan Justen at 2024-04-09T22:00:13+01:00
    intel/dev: Add 0x56be and 0x56bf DG2 PCI IDs
    
    Ref: bspec 44477
    Backport-to: 24.0
    Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28584>
    (cherry picked from commit 98f3d072b428f93d799d17ab4e56f963206c9a2f)
    
  • a5d4638e
    by Samuel Pitoiset at 2024-04-09T22:00:19+01:00
    radv: make sure the heap budget is less than or equal to the heap size
    
    Reported by Hans-Kristian.
    
    Cc: mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28575>
    (cherry picked from commit 14ba56718ffc85dfde8337e056bc936f39dc2114)
    
  • 0d608f1b
    by José Roberto de Souza at 2024-04-09T22:00:20+01:00
    anv: Create protected engine context when i915 supports vm control
    
    When has_vm_control is supported it takes a different code path and
    creates one context per engine and in this code path we were not
    setting the protected context flag.
    
    The lack of this is not causing any test to fail in our CI but it is
    better do what we are supposed to do.
    
    Fixes: fd40134487 ("anv: allow protected GEM context creation")
    Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28299>
    (cherry picked from commit 77c004f7ca246386f5516bb00d92655771439614)
    
  • 5681b360
    by David Heidelberg at 2024-04-09T22:00:22+01:00
    ci/amd: drop old PIGLIT_REPLAY_DESCRIPTION_FILE surpassed by PIGLIT_TRACES_FILE
    
    This got probably accidentally in, as Eric MR changing this was just
    before this change got in.
    
    Fixes: 16af090908e8 ("ci/lava: separate HW definitions from SW")
    Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28600>
    (cherry picked from commit 5b69cbb80a744a5e5b685d5a765cb5f0f38cebcb)
    
  • 1971a267
    by Eric Engestrom at 2024-04-09T22:05:24+01:00
    .pick_status.json: Update to 2c1cb65949933a05eedb2eacc15cd893ecaef8aa
    
  • 45904c57
    by Jesse Natalie at 2024-04-09T22:05:34+01:00
    glsl: Use a stable attr sort for VS in / FS out
    
    This is a perpetual bug that hits Windows. In the MSVC CRT, qsort
    is unstable, where the glibc qsort is stable. So apps run fine on
    Windows IHV drivers, and on Linux Mesa drivers, and only break down
    when running on Windows Mesa drivers.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10922
    Reviewed-by: Sil Vilerino <sivileri@microsoft.com>
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28586>
    (cherry picked from commit acbf3ad1fbace42f395a49586f49a7f1c12480ee)
    
  • 6dab9b4a
    by Lionel Landwerlin at 2024-04-09T22:05:35+01:00
    anv: add missing data flush out of L3 for transform feedback writes
    
    Fixes zink's piglit.spec.arb_shader_image_load_store.host-mem-barrier on TGL
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Cc: mesa-stable
    Reviewed-by: Francisco Jerez <currojerez@riseup.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28492>
    (cherry picked from commit fe36cf6cad9b226dff993a8f1f8f0bf451f095c5)
    
  • 3e9ac50d
    by Eric R. Smith at 2024-04-09T22:05:37+01:00
    gallium: handle copy_image of depth textures
    
    copy_image calls blit now for multisampled images, including
    depth. But blit explicitly uses only PIPE_MASK_RGBA, so it is
    incapable of copying depth buffers.
    
    This patch checks the destination format and uses PIPE_MASK_ZS if
    it is a depth or stencil. Ideally we would simply use PIPE_MASK_RGBAZS
    always, but not all drivers actually handle getting this mask
    (they probably should, but that's another story).
    
    The change to copy_image was in 5027b5aa2, so in some sense this
    patch "fixes" that. In fact though the issue wasn't in the copy_image
    change, it was always latent in blit().
    
    Fixes: 5027b5aa28f ("gallium: stop calling resource_copy_region for multisampled copy_image")
    Signed-off-by: Eric R. Smith <eric.smith@collabora.com>
    Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28585>
    (cherry picked from commit 0cb852050d668c6f5d9dbb8b35e970d23ad6bd9a)
    
  • 60c8db6c
    by Faith Ekstrand at 2024-04-09T22:05:38+01:00
    nvk: Add a _pad field to nvk_fs_key
    
    Fixes: ae171458827b ("nak: Rewrite nir_intrinsic_load_sample_pos...")
    Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28615>
    (cherry picked from commit 987cbaee2a4a6fdcd2f152816a616f4e8d29c60e)
    
  • b3a65a18
    by Lionel Landwerlin at 2024-04-09T22:08:29+01:00
    anv: mark descriptors & pipeline dirty after blorp compute
    
    All of those are used by blorp, we need to reemit it when doing the
    next compute dispatch.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Fixes: 37fca614b8 ("anv/blorp: Split blorp_exec into a render and compute")
    Fixes: 6823ffe70e ("anv: try to keep the pipeline in GPGPU mode when buffer transfer ops")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10972
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28617>
    (cherry picked from commit c3d30d9e65b70475e27efb31ba210f91323b6b95)
    
  • a6aa5d30
    by Lionel Landwerlin at 2024-04-09T22:08:31+01:00
    isl: set NullPageCoherencyEnable for depth/stencil sparse surfaces
    
    Not setting this bits, it seems we get incorrect depth values (i.e
    not zero) for null depth/stencil tiles.
    
    Fixes vkd3d-proton's test_sparse_depth_stencil_rendering
    
    CTS doesn´t seem to exercise any depth/stencil format.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Cc: mesa-stable
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28611>
    (cherry picked from commit 2dd321963f1a5dc21c3b9fc96a273c0b2159198d)
    
  • 5eb9128a
    by Lucas Stach at 2024-04-09T22:08:32+01:00
    etnaviv: rs: take src dimensions into account when increasing height alignment
    
    When trying to increase the height alignment to unlock multi-pipe resolve for
    better performance we need to be careful to not overstep the source dimensions
    as this would cause the blit to be rejected.
    
    Do so and also rearrange the code a bit to make it more obvious what is being
    done.
    
    Fixes: 797454edfcc4 ("etnaviv: rs: fix blits with insufficient alignment for dual pipe operation")
    Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
    Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28598>
    (cherry picked from commit 2964812aacb5e88713572753d911068be0b5d3de)
    
  • c73e830d
    by Zack Rusin at 2024-04-09T22:08:33+01:00
    svga: Fix instanced draw detection
    
    The new GTK+ GL renderer is extensively using instanced rendering. SVGA
    driver was incorrectly detecting the instanced draws by only checking
    whether the instance count was greater than 1. Base instance has to
    be also checked to make sure that the draw correctly offsets the vertex
    buffer.
    
    Fix instanced draw detection by checking both the instance count and
    the base instance. Fixes the new GTK+ 4 GL renderer.
    
    Signed-off-by: Zack Rusin <zack.rusin@broadcom.com>
    Fixes: ccb4ea5a43e ("svga: Add GL4.1(compatibility profile) support in svga driver")
    Reviewed-by: Neha Bhende <neha.bhende@broadcom.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28616>
    (cherry picked from commit 955444e0686a551500a3bb22c8a081c8ec84ac22)
    
  • dac8689f
    by Paulo Zanoni at 2024-04-09T22:08:34+01:00
    anv, iris: add missing CS_STALL bit for GPGPU texture invalidation
    
    The BSpec page "Flush Types" (46213) says the following about the Tex
    Invalidate bit:
    
      "Requires stall bit ([20] of DW) set for all GPGPU Workloads."
    
    For newer platforms, this is documented in the description of the
    texture invalidation bit in the PIPE_CONTROL page (56551):
    
      "CS Stall bit in PIPE_CONTROL command must be always set for GPGPU
       workloads when Texture Cache Invalidation Enable bit is set"
    
    Iris had it only for GFX_VER 9 and 11, while Anv had it missing for
    everything.
    
    Please notice that this patch includes a revert of 397e728ef4f1.
    
    Fixes: 397e728ef4f1 ("iris: Drop GPGPU Tex Invalidate restriction for TGL+")
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
    Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
    Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28608>
    (cherry picked from commit cf7e1f3817d473f97427f7cf8b910b913c986227)
    
  • 50669655
    by Paul Gofman at 2024-04-09T22:08:35+01:00
    glsl: allow out arrays in #110 with allow_glsl_120_subset_in_110
    
    CC: mesa-stable
    Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28439>
    (cherry picked from commit bd189dbd772ff9c25741b47a22f4d2828eeb15f9)
    
  • b351969f
    by Paul Gofman at 2024-04-09T22:08:35+01:00
    driconf: add a workaround for Joe Danger 2
    
    CC: mesa-stable
    Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28439>
    (cherry picked from commit 2abb72f512c5f260082d0ba0284e3cf56f1eb1f2)
    
  • b573f698
    by Paul Gofman at 2024-04-09T22:08:36+01:00
    driconf: add a workaround for Joe Danger
    
    CC: mesa-stable
    Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28439>
    (cherry picked from commit 27dba224d329df47706c77de36d814e3ae63304a)
    
  • ad2594ea
    by Konstantin Seurer at 2024-04-09T22:08:37+01:00
    nir/serialize: Encode data for temporaries
    
    the location has to be preserved when lowering them to scratch using
    nir_lower_vars_to_explicit_types and nir_lower_explicit_io.
    
    cc: mesa-stable
    
    Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28187>
    (cherry picked from commit edc8e011ebf66657c3704a77e6d779f7217daa9e)
    
  • e1c68677
    by Axel Davy at 2024-04-09T22:08:38+01:00
    frontend/nine: Fix ff ps key
    
    The stage index, rather than the
    texture coord index was used.
    
    Cc: mesa-stable
    Signed-off-by: Axel Davy <davyaxel0@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28232>
    (cherry picked from commit 9063d554f34268e6c80b77c59a3155e7a916304c)
    
  • 64b06290
    by Axel Davy at 2024-04-09T22:08:39+01:00
    frontend/nine: Fix programmable vs check
    
    Checking if context->vs is set is not
    equivalent to checking programmable vs
    
    Cc: mesa-stable
    Signed-off-by: Axel Davy <davyaxel0@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28232>
    (cherry picked from commit d3cec6cdf1de14ae3b16d0a5084b0af0088e8ff1)
    
  • 63873590
    by Axel Davy at 2024-04-09T22:08:39+01:00
    frontend/nine: Fix missing light flag check
    
    The constants for ff lights use the VIEW matrix,
    thus we must update them if the matrix is dirty.
    
    Cc: mesa-stable
    
    Signed-off-by: Axel Davy <davyaxel0@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28232>
    (cherry picked from commit b4a14c7ebf288d876c821e0da2e877002c3180c6)
    
  • 7bf97678
    by Axel Davy at 2024-04-09T22:08:40+01:00
    frontend/nine: Fix destruction race
    
    As we were checking the bind count after decreasing the ref count,
    we could hit a situation where the worker thread decreases the bind count
    just after the ref count is decreased, but before the bind count is checked
    which would lead to both threads calling the resource dtor.
    
    Cc: mesa-stable
    Signed-off-by: Axel Davy <davyaxel0@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28232>
    (cherry picked from commit d6044cf85756b02d8c752215f6b4424be260ebd8)
    
  • b1087acb
    by Axel Davy at 2024-04-09T22:08:41+01:00
    frontend/nine: Reset should EndScene
    
    This was reported by some users.
    
    Cc: mesa-stable
    Signed-off-by: Axel Davy <davyaxel0@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28232>
    (cherry picked from commit c6468f6547cd97c45569cf3b221f7178181298a6)
    
  • df4f6b54
    by David Heidelberg at 2024-04-09T22:08:42+01:00
    r600: add license header to r600_formats.h
    
    The header was missing after the definitions were moved.
    
    Fixes: 82114ac02a2d ("r600g: switch to a common formats.h file since they are in different regs")
    
    Acked-by: Gert Wollny <gert.wollny@collabora.com>
    Signed-off-by: David Heidelberg <david@ixit.cz>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28395>
    (cherry picked from commit 0020dd85ee110ca82f943ea69970c25018b89735)
    
  • 4a33e47a
    by David Heidelberg at 2024-04-09T22:08:42+01:00
    r600: add license info to the r600_opcodes.h
    
    Fixes: a3a94554f5a1 ("r600g: split opcodes out and add wrapper around usage.")
    Acked-by: Gert Wollny <gert.wollny@collabora.com>
    Signed-off-by: David Heidelberg <david@ixit.cz>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28395>
    (cherry picked from commit 722e5bf46f7850ebdcf3143d197aa71d40486058)
    
  • cbbf9d78
    by David Heidelberg at 2024-04-09T22:08:43+01:00
    r600: add license information to the sfn_shader_gs.h
    
    Fixes: 79ca456b4837 ("r600/sfn: rewrite NIR backend")
    Acked-by: Gert Wollny <gert.wollny@collabora.com>
    Signed-off-by: David Heidelberg <david@ixit.cz>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28395>
    (cherry picked from commit fd3d1253433d02ea3ae40437c8d4b958ef902763)
    
  • 066c61c7
    by José Roberto de Souza at 2024-04-10T21:12:05+01:00
    intel: Enable Xe KMD support by default
    
    Xe KMD landed on drm-next, uAPI is now stable and we can remove
    the build time parameter to enable support to it but platforms
    older than Lunar lake will have experimental support with Xe KMD.
    
    Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20418>
    (cherry picked from commit 31920cb60c3cf487bc29ebd1d8ad8b1825e09fab)
    
  • 4de817ce
    by Eric Engestrom at 2024-04-10T21:17:45+01:00
    docs: add release notes for 24.0.5
    
  • 77376147
    by Eric Engestrom at 2024-04-10T21:17:49+01:00
    VERSION: bump for 24.0.5
    
  • fd98eae2
    by Timo Aaltonen at 2024-04-11T09:23:19+03:00
    Merge branch 'upstream-unstable' into debian-unstable
    
  • 359d668e
    by Timo Aaltonen at 2024-04-11T11:16:06+03:00
    version bump
    
  • cbd4ba39
    by Timo Aaltonen at 2024-04-11T13:13:15+03:00
    release to sid
    

30 changed files:

The diff was not included because it is too large.

Reply to: