Mesa (21.1): 46 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jun 18 17:07:18 UTC 2021


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=07ebfa36c89b4b99afefe7c90d3b63b1b95beaaa
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Fri Jun 18 17:35:38 2021 +0100

    VERSION: bump for 21.1.3 release

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=11ff9f39f415b025f998ec1e0216379f197ca465
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Fri Jun 18 17:35:13 2021 +0100

    docs: add release notes for 21.1.3

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=98d235a60d413824ae02fced6ae7fd7be7d878d9
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Wed May 26 21:35:17 2021 -0700

    travis: Download XQuartz from GitHub.
    
    Bintray was sunsetted on May 1st, 2021.
    
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11026>
    (cherry picked from commit fa1a1e7c803f3d6e67bd1962498636c20d39248f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=61d145ba7902eea282cf1c76f910693f987f2d34
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Jun 8 15:08:50 2021 -0700

    util: Zero out all of mask in util_set_thread_affinity
    
    memset operates in bytes, and there are 8-bits in a byte.  This is a
    very easy to miss typo. :(
    
    Fixes: 9758b1d416a1 ("util: add util_set_thread_affinity helpers including Windows support")
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11228>
    (cherry picked from commit a923e95b10152726a3cdf4bdbc35690425ce9bc3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd306105a11342987b712d8cc78d17c57849e8e3
Author: Felix DeGrood <felix.j.degrood at intel.com>
Date:   Fri Jan 29 14:40:11 2021 -0800

    anv: Clear all pending stall after pipe flush
    
    Was only clearing CS stalls after emitting pending pipe
    controls.  Need to clear all stalls.
    
    Cc: mesa-stable
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9834>
    (cherry picked from commit 1da9ff047e820a2295108534e075375ae00aa48a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a13c8e9cc2a103cc6ee6d32e62b0d8ed67e01cb5
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Fri May 14 14:08:12 2021 +0200

    radv: Allow DCC images to be compressed with foreign queues.
    
    Otherwise we would always decompress when transitioning to the
    foreign queue.
    
    Fixes: 8b9033ad0a0 ("radv: Support DCC modifiers fully.")
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10802>
    (cherry picked from commit 720ee494e53e29a65a3c19bb302d013403bd1d57)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a48779fffa6a1fc0347b1a1fd2067a24a801cf5a
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Fri May 14 14:04:11 2021 +0200

    radv: Actually return correct value for read-only DCC compressedness.
    
    Most stuff that depends on the value wouldn't be triggered anyway but
    ...
    
    Fixes: b5ecf0748a5 ("radv: Ensure we never decompress or FCE read-only textures.")
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10802>
    (cherry picked from commit f44a6c6a5424db714e5c93e4b13d4e3f79bd5ed2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd6bc1165a99a30258982247d3d325db69af209e
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Fri May 14 13:57:11 2021 +0200

    radv: Don't skip barriers that only change queues.
    
    We depend on the queue mask for some decisions ...
    
    CC: mesa-stable
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10802>
    (cherry picked from commit f7c622307da7179adc879b4af9bc10217922997b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=869a31931330c1149b6bc2463b909a30faf1ee19
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Jun 9 17:28:30 2021 -0400

    zink: fix typo that's definitely not at all embarrassing or anything like that
    
    and also adjust some formatting to pad out the diff and really make sure nobody
    notices that anything was ever amiss here
    
    Fixes: 787412b7eb8 ("zink: break out region overlap testing function into helper")
    
    Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Reviewed-by: Joshua Ashton <joshua at froggi.es>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11279>
    (cherry picked from commit 2428786d64c3bf3a352f7e304b66e052bea114e4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=97c35a1932c1918cbc4d1ed08b605c3c9c8f524f
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu Jun 10 15:52:18 2021 -0400

    zink: use scissor region for discarding clears during blit
    
    ensure that clears aren't being mistakenly discarded or applied due to
    scissor region being ignored and full surface geometry being used
    
    Fixes: a8e047e8f4a ("zink: discard pending clears during blit/copy if we'll overwrite the data")
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11307>
    (cherry picked from commit 5f61382280dc4a82528bce31a8df2c8eed052386)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=14e94e44581f651b0529a0602d11627b19965baa
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Tue Jun 8 13:20:59 2021 +0200

    llvmpipe: fix edge-rule logic for lines
    
    In 2737abb44ef, the handling of pixel-offsets and edge rules were
    untangled, but one case was missed.
    
    This fixes the following dEQP test-cases on VirGL + LLVMpipe
    - dEQP-GLES2.functional.draw.random.10
    - dEQP-GLES2.functional.draw.random.42
    - dEQP-GLES3.functional.draw.random.105
    - dEQP-GLES3.functional.draw.random.114
    - dEQP-GLES3.functional.draw.random.135
    - dEQP-GLES3.functional.draw.random.144
    - dEQP-GLES3.functional.draw.random.155
    - dEQP-GLES3.functional.draw.random.174
    - dEQP-GLES3.functional.draw.random.206
    - dEQP-GLES3.functional.draw.random.31
    - dEQP-GLES3.functional.draw.random.43
    - dEQP-GLES3.functional.draw.random.84
    - dEQP-GLES31.functional.draw_indirect.random.20
    
    ...as well as these on Zink + Lavapipe:
    - spec at nv_primitive_restart@primitive-restart-disable_vbo
    - spec at nv_primitive_restart@primitive-restart-vbo_combined_vertex_and_index
    - spec at nv_primitive_restart@primitive-restart-vbo_index_only
    - spec at nv_primitive_restart@primitive-restart-vbo_separate_vertex_and_index
    - spec at nv_primitive_restart@primitive-restart-vbo_vertex_only
    
    Fixes: 2737abb44ef ("gallium: Replace gl_rasterization_rules with lower_left_origin and half_pixel_center.")
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11183>
    (cherry picked from commit 2812f030f19fc2e0cdaa423b0cc2a04db984ac27)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=575b3a63141d497b7d63421feef1e5f66e13d802
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Thu Jun 10 18:20:19 2021 +0200

    radv: fix aligning the image offset by using align64()
    
    This doesn't fix anything known. Found by inspection.
    
    Cc: 21.1 mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11302>
    (cherry picked from commit 4026a07e741aa886eac1754a3f0ee94d3c944f90)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=27681b45a3387123d714406a20fed270ec5ee6c8
Author: Neha Bhende <bhenden at vmware.com>
Date:   Wed Jun 9 11:08:28 2021 -0700

    svga: Initialize pipe_shader_state for transform shaders
    
    This fixes crashes for opengl apps. Issue is found in vmware
    internal testing
    
    Fixes: f01c0565bb9 ("draw: free the NIR IR.")
    
    Reviewed-by: Charmaine Lee <charmainel at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11274>
    (cherry picked from commit 8a3fa2c4d587e803118518d03b4944917c72245b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe5b61abd0d5e62236ac9883e75838e97fe9f601
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Wed Jun 16 08:32:59 2021 +0200

    .pick_status.json: Update to 561f9ae74b2b7da06bb4830aaca8d017a3dd2746

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2e611e1a458ddb7c72bb82847c64ba665002402
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Tue May 25 14:17:56 2021 -0400

    zink: fix caching of shader variants with inlined uniforms
    
    attempting to read the inlined uniforms directly after the variant key
    using the size of the variant is not going to work since the variant union
    is (sometimes) much larger than the size of the actual struct being used,
    meaning that this would just copy a bunch of zeroes instead of the actual
    inlined uniforms
    
    Fixes: 7f28775edcc ("zink: implement uniform inlining")
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11003>
    (cherry picked from commit eb12f7f11ea8d9e05193f475620ff9f9e0947c73)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ce9cbecad15c36f54d39b383a3224eb946ed602
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Mon Jun 7 10:14:01 2021 +0200

    radv: do not launch an IB2 for secondary cmdbuf with INDIRECT_MULTI on GFX7
    
    It's illegal to emit DRAW_{INDEX}_INDIRECT_MULTI from an IB2 on GFX7.
    
    PAL applies this workaround for indirect dispatches and also on
    GFX8-9 but it doesn't seem needed.
    
    This fixes various GPU hangs on Bonaire (GFX7).
    
    Cc: 21.1 mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11214>
    (cherry picked from commit a234840e608274641d81f9d95c4a6beea0118d4c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6084c7357525c839ee097c072f3e191dc5bd44b8
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Sun May 23 15:16:31 2021 -0400

    util/vbuf: fix buffer overrun in attribute conversions
    
    using the stride to calculate the buffer map size here is not correct, as
    the stride is not necessarily equal to the attribute size, it's only the distance
    between elements. for the case of overlapping elements (cts does this), the result
    is that the attribute conversion will read past the end of the mapped src region
    
    this is usually fine for drivers when they directly map the vertex buffer, as the memory
    past the requested region is usually made available, but in the case where the readback
    occurs using a staging resource sized exactly to the map region, this overflows and fails
    silently, not even triggering a valgrind error because gpu memory lol
    
    instead, add the size of the largest possible element, which will automatically be clamped
    and ensure any staging buffers are correctly sized
    
    Cc: mesa-stable at lists.freedesktop.org
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10963>
    (cherry picked from commit 3c5b7dca30edc7365839944447476e0b8b56bf1f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f5c2d2898c3f1805b4df18180205125b9281342
Author: Adam Jackson <ajax at redhat.com>
Date:   Wed Jun 9 11:20:59 2021 -0400

    classic/xlib: Fix the build after !9817
    
    This commit mostly exists to be backported to 21.1.x, because the
    classic binding to xlib is soon to be retired.
    
    Fixes: 4daef7ffe37 mesa: Remove redundant gl_config::sampleBuffers
    Closes: mesa/mesa#4900
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11270>
    (cherry picked from commit a4dc2021b89d7f70a5486aea9c3b59d7a05cc458)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9c4ac6c04622962ecfed89c5e763028772e4c40
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Mon May 31 18:18:24 2021 +0100

    aco: use v1b/v2b for ds_read_u8/ds_read_u16
    
    The p_extract_vector isn't necessary.
    
    For ds_read_u8 and ds_read_u16, we used a 32-bit regclass, but did't load
    32 bits, and used dst_hint for vector loads when we shouldn't have.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4863
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11113>
    (cherry picked from commit 4870d7d829e57a993976d6da497e1202b1df2fa6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a72f9745a7113122d55b82e4517e983dac27a496
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Tue Jun 8 18:06:46 2021 +0200

    aco: fix emitting literal offsets with SMEM on GFX7
    
    When the offset is negative, reg() isn't 255. Fix this by splitting
    SGPR and literal emission. While we are at it, adjust a comment
    saying that literals are also accepted on GFX6 which is wrong.
    
    Fixes another batch of robustness tests.
    
    Cc: 21.1 mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11247>
    (cherry picked from commit d169dad3937e2b2692c3992e0ed417849e971ee6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e31f9c0883bf1c8bdf51ce05a72b8609110a2499
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Mon Jun 7 15:19:59 2021 +0200

    aco: fix range checking for SSBO loads/stores with SGPR offset on GFX6-7
    
    GFX6-7 are affected by a hw bug that prevents address clamping to work
    correctly when the SGPR offset is used. Use the VGPR offset to fix it.
    
    Fixes various hangs with dEQP-VK.robustness.robustness2.* on Bonaire.
    
    Cc: 21.1 mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11238>
    (cherry picked from commit 3761d994f6de81d151b4709314f6ffc9b59f0908)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=23cb39dc66fd45aface33da74ffb2afe3439bc55
Author: Rob Clark <robdclark at chromium.org>
Date:   Sun Apr 18 09:10:07 2021 -0700

    freedreno/ir3: Fix use after free
    
    If the tex/sfu ssa src is from a different block than the one currently
    being scheduled, we do not have a valid sched-node.  So fallback to
    previous behavior rather than dereference an invalid ptr.
    
    Fixes: 7821e5a3f8d ("ir3/sched: Don't penalize uses of already-waited tex/SFU")
    Signed-off-by: Rob Clark <robdclark at chromium.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10306>
    (cherry picked from commit 09f64f74db9e0dd22ef6e4bf616ac7bffde2a6fd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c7b57988f5b8de3156d336b09012410289e7155
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Mon Jun 7 20:02:22 2021 -0500

    anv: Handle OOM in the pinned path in anv_reloc_list_add
    
    Fixes: b3c0b1b21880 "anv: Use a bitset for tracking residency"
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11236>
    (cherry picked from commit 7e8c28383ce062a85f72c051faee8df1e92ae789)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b03dbc2d895a246b3b69ab2b3b2fe8dc34ca054d
Author: Tony Wasserka <tony.wasserka at gmx.de>
Date:   Thu Apr 29 18:06:53 2021 +0200

    aco/ra: Fix off-by-one-error in print_regs
    
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Fixes: 3675aefa84e ("aco/ra: Fix build with print_regs enabled")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10517>
    (cherry picked from commit 5bfef2de66be739a54e64275feaa42c2d340b548)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=23432781b00c1ca899610a3672cec543b0f37e51
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Mon Jun 7 07:40:54 2021 +0200

    radv: emit PA_SC_CONSERVATIVE_RASTERIZATION_CNTL only on GFX9+
    
    This context register doesn't exist on older generations.
    
    Cc: 21.1 mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11210>
    (cherry picked from commit 736893060f6984b5c8198ddbd491265f60de8548)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=deb5aafdda51e569506ad26c101bb5a00e7056dd
Author: Rob Clark <robdclark at chromium.org>
Date:   Sun Jun 6 08:43:28 2021 -0700

    egl: zero is a valid fd
    
    We shouldn't be using RETURN_EGL_EVAL() for eglDupNativeFenceFDANDROID()
    return, as (while perhaps unlikely) zero is a valid fd.  The error case
    for EGL_NO_NATIVE_FENCE_FD_ANDROID is already handled in egl_dri2.c
    (dri2_dup_native_fence_fd()) so just use RETURN_EGL_SUCCESS() instead.
    
    Also fix ret type.
    
    Fixes: 0201f01dc4e ("egl: add EGL_ANDROID_native_fence_sync")
    Signed-off-by: Rob Clark <robdclark at chromium.org>
    Reviewed-by: Emma Anholt <emma at anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11202>
    (cherry picked from commit bfeff2c687d8c4f5ddd04792ed51dc0c03b22435)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5f9e42e5ef904e14c841e025e376913496cbeb8
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Mon May 17 18:41:26 2021 +0200

    winsys/amdgpu: don't read bo->u.slab.entry after pb_slab_free
    
    Otherwise the pb_slabs might be freed by another thread in between.
    
    Valgrind example:
    
    ==676841== Invalid read of size 1
    ==676841==    at 0x6B0A8B3: get_slab_wasted_size (amdgpu_bo.c:659)
    ==676841==    by 0x6B0AD7D: amdgpu_bo_slab_destroy (amdgpu_bo.c:684)
    ==676841==    by 0x6ACF94F: pb_destroy (pb_buffer.h:259)
    ==676841==    by 0x6ACF94F: pb_reference_with_winsys (pb_buffer.h:282)
    ==676841==    by 0x6ACF94F: radeon_bo_reference (radeon_winsys.h:754)
    ==676841==    by 0x6ACF94F: si_replace_buffer_storage (si_buffer.c:274)
    ==676841==    by 0x6957036: tc_call_replace_buffer_storage (u_threaded_context.c:1554)
                                [...]
    ==676841==    by 0x4ECCDEE: clone (clone.S:95)
    ==676841==  Address 0x27879945 is 5 bytes inside a block of size 208 free'd
    ==676841==    at 0x48399AB: free (vg_replace_malloc.c:538)
    ==676841==    by 0x6B0E8BD: amdgpu_bo_slab_free (amdgpu_bo.c:863)
    ==676841==    by 0x6B89D4A: pb_slabs_reclaim_locked (pb_slab.c:84)
    ==676841==    by 0x6B89D4A: pb_slab_alloc (pb_slab.c:130)
    ==676841==    by 0x6B0EE7F: amdgpu_bo_create (amdgpu_bo.c:1429)
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4736
    Fixes: 965c6445ad4 ("winsys/amdgpu,radeonsi: add HUD counters for how much memory is wasted by slabs")
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11010>
    (cherry picked from commit 1bd64d8cfbc1034593c912c77e1a0403ac9007db)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=14755c8a8672b8cbd174a370312f7e0d8b050a89
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Fri Jun 4 12:21:58 2021 +0200

    radeonsi: dirty msaa_config on rs->multisample_enable change
    
    si_emit_msaa_config uses si_get_num_coverage_samples, and
    si_get_num_coverage_samples depends on old_rs->multisample_enable.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4613
    Cc: mesa-stable
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11182>
    (cherry picked from commit cd9be8741ff0e93bd45aca29e7bb5de649f20a55)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=82c059f71ed21caae9e35b4affaa6ba46d8e7088
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Thu Jun 10 13:22:52 2021 +0200

    .pick_status.json: Update to f884c2e3be363903a59dbee01868c7ad0bf0f346

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c5b2d57d33fdaac04f66a61c18858fe80ad50771
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Thu Jun 3 13:58:08 2021 +0200

    radeonsi: add a gfx10 bug workaround for NOT_EOP
    
    This is a backport of d8fefb13228256601c3ae04331f1c05828143ed7.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4812

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=90bcb5a11a428583afaf7b2ded234f2c65636b6f
Author: Duncan Hopkins <duncan at duncanhopkins.me.uk>
Date:   Thu Jun 3 14:07:29 2021 +0100

    zink: Correct compiler issue with have_moltenvk member having been moved.
    
    have_moltenvk was moved to a different location but code being protected in platform specific guard, so was unnoticed.
    
    Fixes: 598dc3dca41 ("zink: use cached memory for all resources when possible")
    
    Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11129>
    (cherry picked from commit 18e8ec5f37f2922792775554ed775290d4cec7ac)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=806009f18e4a7a42c678d750884a851054ddf339
Author: Petr Vaněk <arkamar at atlas.cz>
Date:   Wed Jun 2 23:27:52 2021 +0200

    docs/install: remove one extra when
    
    Fixes: 0fa854aea5ff ("docs: rework/update install.html")
    Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11161>
    (cherry picked from commit 0e94b17dd1352f0db3662718c67e1f1c88e26780)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=627c3da8dae68c0f0da7d284ce86e527e6668617
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Tue Jun 1 16:54:29 2021 +0200

    radeonsi: fix encryption check for buffers
    
    The writable bit means read-write, not just write.
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Fixes: 8873ea0e253 ("radeonsi: determine secure flag must be set for gfx IB")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11107>
    (cherry picked from commit 8baa77c8139e9c8754d0d482774ae4d04cb66f60)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=29b19d83d9d3f43346eb77cb2b67e5c09d543d1e
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Tue Jun 1 14:02:46 2021 +0200

    frontend/dri: fix bool/int comparison
    
    Cast tex->bind & PIPE_BIND_PROTECTED to a bool before doing the
    comparison, otherwise it'll incorrectly fail.
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Fixes: 18b7cafc700 ("driconf: add disable_protected_content_check option")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11107>
    (cherry picked from commit fcdfe91efa387dbcc01d5f18a4c711aaf5eb8d78)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dd5aa66b9eab3e9c42c1a214b3cc38e73b6eab59
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Tue Jun 1 14:00:08 2021 +0200

    frontend/dri: set PIPE_BIND_PROTECTED later
    
    NV12, YUV, YUYV and UYVY handling checks !tex_usage so set
    PIPE_BIND_PROTECTED after.
    
    This fixes encrypted nv12 textures handling.
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11107>
    (cherry picked from commit 5e6f92f82cb383ee106c5b446c6f0a70b5a32145)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=87ab76f27c646d526c663923f131c5bd04dbf329
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed May 26 16:32:42 2021 +0200

    radv: enable RADV_DEBUG=invariantgeom for SotTR DX11/DX12 versions
    
    DXVK 1.8.1 marks position as always invariant but it's disabled for
    SotTR because it introduces rendering issues on NV. The DX12 version
    also likely needs that.
    
    Fixes a similar foliage issue initially found with the native version.
    
    Cc: 21.1 mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11006>
    (cherry picked from commit 7af915b4a0c796373898958d4160027eaab1e150)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=138946952177bd20026af6c245eb34c7aa8046c1
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Jun 2 23:08:13 2021 -0500

    intel/vec4: Also use MOV_FOR_SCRATCH for swizzle resolves
    
    In 2db88679432b, we introduced a new meta-op MOV_FOR_SCRATCH which is
    identical to MOV except it lets us identify MOVs emitted during spilling
    so we know not to re-spill those instructions.  We emit them from
    shuffle_for_64bit_data whenever the new for_scratch parameter is true.
    Unfortunately, we missed the one used for resolving swizzles.
    
    Fixes: 2db88679432b "intel/vec4: Don't spill fp64 registers more..."
    Tested-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11155>
    (cherry picked from commit 06ae2723d103f485bfdc2d18e3625ce7417ffc9c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=20c957803c077304295606f8785b29acd4aef778
Author: Sergii Melikhov <sergii.v.melikhov at globallogic.com>
Date:   Thu May 27 14:46:04 2021 +0300

    util/format: Change the pointer offset.
    
    Changed the pointer offset to 2 to account for the second structure variable.
    
    Fixes: 90f98b56f85 ("mesa: Deduplicate _mesa_pack_uint_z_row().")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4685
    Signed-off-by: Sergii Melikhov <sergii.v.melikhov at globallogic.com>
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Emma Anholt <emma at anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11060>
    (cherry picked from commit 8251bd216e7ff300b93788cd1e2d49c301f5fe49)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f74f86547b3cad14899d3eb4afcc755306a46888
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Wed Jun 2 16:30:35 2021 +0100

    aco: don't create 4 and 5 dword NSA instructions on GFX10
    
    "stability issues", apparently: https://reviews.llvm.org/D103348
    
    fossil-db (Navi10):
    Totals from 4512 (3.01% of 149839) affected shaders:
    VGPRs: 221516 -> 223308 (+0.81%); split: -0.07%, +0.88%
    CodeSize: 23000080 -> 23070672 (+0.31%); split: -0.08%, +0.39%
    MaxWaves: 107718 -> 107496 (-0.21%); split: +0.11%, -0.32%
    Instrs: 4321890 -> 4362822 (+0.95%); split: -0.00%, +0.95%
    Latency: 71495710 -> 71581476 (+0.12%); split: -0.07%, +0.19%
    InvThroughput: 11858568 -> 11938960 (+0.68%); split: -0.00%, +0.68%
    VClause: 76575 -> 76585 (+0.01%); split: -0.05%, +0.07%
    SClause: 168771 -> 168709 (-0.04%); split: -0.06%, +0.02%
    Copies: 182305 -> 221948 (+21.75%); split: -0.00%, +21.75%
    PreVGPRs: 194657 -> 195635 (+0.50%); split: -0.00%, +0.50%
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Timur Kristóf <timur.kristof at gmail.com>
    Fixes: c353895c922 ("aco: use non-sequential addressing")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10898>
    (cherry picked from commit 903f814b78f3bdb6f330889277ada147070bfd7b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d224336f781b0ad8956c2def650f5caf0cb2f4f
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Wed May 19 14:36:43 2021 +0100

    aco: do not clause NSA instructions
    
    According to LLVM, this has "unpredictable results on GFX10.1".
    
    https://reviews.llvm.org/D102211
    
    fossil-db (Navi10):
    Totals from 26690 (17.81% of 149839) affected shaders:
    CodeSize: 167935160 -> 167706280 (-0.14%); split: -0.14%, +0.00%
    Instrs: 31801427 -> 31744142 (-0.18%); split: -0.18%, +0.00%
    Latency: 732672435 -> 732622463 (-0.01%)
    InvThroughput: 163361435 -> 163357838 (-0.00%); split: -0.00%, +0.00%
    VClause: 546131 -> 546903 (+0.14%); split: -0.00%, +0.14%
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Timur Kristóf <timur.kristof at gmail.com>
    Fixes: c353895c922 ("aco: use non-sequential addressing")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10898>
    (cherry picked from commit 81162265b1d7f976c3810b420754ff8403f3aa18)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=33681771435cee15a2762f04384814d0acd9f103
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon May 24 05:19:43 2021 +1000

    llvmpipe: add the interesting bit of cpu detection to the cache.
    
    This should detect if someone changes CPU configuration that matters like in a VM
    
    Reviewed-by: Emma Anholt <emma at anholt.net>
    Fixes: 6c0c61cb48e8 ("llvmpipe: add infrastructure for disk cache support")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10946>
    (cherry picked from commit 9520b70f75d7a695966f36ff619557c88c25a0dc)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f2d803317b49da5544ad0125f7beb570f541f68
Author: Matt Turner <mattst88 at gmail.com>
Date:   Tue Jun 1 14:38:19 2021 -0700

    sparc: Avoid some redefinition warnings
    
    These definitions are provided by m_vector_asm.h now.
    
    Fixes: 67ffb853f05 ("sparc: Reuse m_vector_asm.h.")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11119>
    (cherry picked from commit c460f3806d3ebecd103e6ad6cb82839e7217c768)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ac128a23c2db4812083c83088828bbad85de847
Author: Icecream95 <ixn at disroot.org>
Date:   Mon May 31 23:20:33 2021 +1200

    panfrost: Use first_tiler to check if tiling is needed
    
    If there is a preload job needing tiling, but no other jobs, then
    first_tiler will be set but not tiler_dep.
    
    Fixes faults when two depth-only (stencil is reloaded) clears are done
    in a row.
    
    panfrost ffa30000.gpu: Unhandled Page fault in AS1 at VA 0x0000000044870000
                   Reason: TODO
                   raw fault status: 0x49002C1
                   decoded fault status: SLAVE FAULT
                   exception type 0xC1: TRANSLATION_FAULT_LEVEL1
                   access type 0x2: READ
                   source id 0x490
    panfrost ffa30000.gpu: gpu sched timeout, js=0, config=0x3301, status=0x8, head=0x608a300, tail=0x608a300, sched_job=f5b0862d
    
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11104>
    (cherry picked from commit 956d9613397acdfd90ff3c76bc540adf1783c7b5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff4455af781ef4ad5fc86343b05d8e51128a2bfa
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Tue Jun 1 12:26:27 2021 -0400

    anv: fix availability for copying timestamp query results
    
    idx here is the index of the value being written, so if it isn't used/incremented
    when the query result is written, the availability result will clobber it and
    be written to the same buffer offset
    
    Cc: mesa-stable at lists.freedesktop.org
    
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11116>
    (cherry picked from commit 5515d3aec5ebe4e7dd7428aefdc2c1933414cd92)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b6c9c31a899f9478b85ebcd177d6b5f049f0c71f
Author: Eric Engestrom <eric at engestrom.ch>
Date:   Sat Jun 5 17:56:40 2021 +0200

    .pick_status.json: Update to db83dc619c96c35a039f2d8a32e1a179c0f00d64

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=330bb9df1a7cfe6d8831a86df72404504a211e56
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed May 26 10:30:06 2021 -0400

    zink: ci updates
    
    Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11007>
    (cherry picked from commit f0f0a21f131f90274286e32aeb9582c7a3472560)



More information about the mesa-commit mailing list