Mesa (21.2): 45 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Oct 14 19:58:21 UTC 2021


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=05529ac803b5b7c6bf9f513b09c6cd98b4a49da4
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Thu Oct 14 12:56:08 2021 -0700

    VERSION: bump for 21.2.4 release

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=031cdb37a66e084cd5316b9bc2e0a3dc6105e753
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Thu Oct 14 12:56:02 2021 -0700

    docs: add release notes for 21.2.4

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a687d44bfe8e534c25cf353eb39345ec3219e344
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Thu Sep 30 09:50:47 2021 -0400

    ac/surface: don't overwrite DCC settings for imported buffers
    
    Fixes: 0f6251b31fc - ac/surface: use DCC compatible with image stores for < 4K resolutions
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    (cherry picked from commit 923c535ee8f0b314bebb0b065fc4520b64d15f68)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13209>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bbe8a34f2b6c2d0129f784d596d0efca0eb0a2f2
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Thu Oct 7 17:21:28 2021 -0400

    radeonsi: add back a workaround for DCC MSAA on gfx9 due to conformance issues
    
    Fixes: 8b95f51ef1 - radeonsi: fix and enable full DCC with MSAA 2x on gfx9
    
    Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13256>
    (cherry picked from commit 86a33569f4ae8b818c86274044f7f01f2e5c4c8d)
    
    Conflicts:
    	src/gallium/drivers/radeonsi/ci/raven-deqp-fail.csv
    
    CI file does not exist in 21.2, so remove it

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ecf3b3954e9c29b0895f361c40919a0d5a8b0d0
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Thu May 6 22:16:21 2021 +0300

    spirv: deal with null pointers
    
           %2456 = some complicated struct...
           %8307 = OpTypeInt 32 0
           %8308 = OpTypeInt 8 0
           %8467 = OpTypePointer Generic %8308
           %8500 = OpTypePointer Generic %2456
           %8586 = OpConstantNull %8500
           %8312 = OpConstant %8307 0
           %8314 = OpConstant %8307 2
           %9752 = OpInBoundsPtrAccessChain %8467 %8586 %8312 %8314
    
    Right now the parser can't deal with this %8586. Let's create a value
    off the Null constant.
    
    v2: add helpers
    
    v3: Correctly create the Null value
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Cc: mesa-stable
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10672>
    (cherry picked from commit ee1f0451a8d304bf172cbaae6a0626f3ca9b5b17)
    
    Conflicts:
    	src/compiler/spirv/spirv_to_nir.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=77e8afe1ae14f3f29f9658595e8806e9131f6ddb
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Oct 5 11:33:49 2021 +1000

    gallivm/format: clamp SINT conversion rather than truncate.
    
    KHR-GL32.packed_pixels.pbo_rectangle.r16i on zink on lavapipe
    ends up using a pbo that does an SINT image write. This was producing
    truncated rather than clamped values.
    
    Fix the calculations for 8/16-bit signed ints to clamp not truncate.
    
    Fixes: 13e5f331db77 ("gallivm/nir: fix image store conversions")
    
    Reviewed-by: Emma Anholt <emma at anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13187>
    (cherry picked from commit 1d48022dabc0ea8c51804a2c596f6fec9f632aa1)
    
    Conflicts:
    	src/gallium/drivers/zink/ci/deqp-zink-lvp-fails.txt

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d6448bb2d9b23513ba39f8367028b06e68e2fd0
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Mon Sep 27 17:32:57 2021 -0400

    panfrost: Don't set CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER
    
    We already set HALF_INTEGER, which is what the compiler actually does.
    If we also set PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER, we get
    incorrect lowering. Only set the CAP we respect.
    
    On Bifrost, this convention is arbitrary. We should consider moving the
    Bifrost lowering into NIR to optimize this better...
    
    Fixes Piglit glsl-arb-fragment-coord-conventions.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13070>
    (cherry picked from commit 12facf23b1f1fd8668e057f13bcc69356fd89b52)
    
    Conflicts:
    	src/panfrost/ci/piglit-panfrost-g52-fails.txt
    
    This CI file doesn't exist in 21.2.x, so it was removed from this patch

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a19a55bc1f655d7549a0a36c2fdf6d0e290e178a
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Sep 15 07:08:53 2021 +1000

    crocus/gen6: don't reemit the svbi when debugging
    
    This messes up the counts, stops some tests failing when reemit
    is enabled
    
    Fixes: f3630548f1da ("crocus: initial gallium driver for Intel gfx 4-7")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13188>
    (cherry picked from commit f2bc6e400eff85850080fac0e039f2d918019253)
    
    Conflicts:
    	src/gallium/drivers/crocus/crocus_draw.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=74e63763ee010f2f5120639eee4fddcce221d14a
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Fri Sep 17 00:45:11 2021 +0200

    radv: Handle copying zero queries.
    
    Looks like this is allowed.
    
    Fixes: 8475a14302e ("radv: Implement pipeline statistics queries.")
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12907>
    (cherry picked from commit ad0bd2a7d27e864d59dff159f8284110ccebb8bd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c52e6a9463ea725d2c4d183ec02b095d49b1c812
Author: Timur Kristóf <timur.kristof at gmail.com>
Date:   Mon Oct 11 20:41:35 2021 +0200

    ac/nir/cull: Accept NaN and +/- Inf in face culling.
    
    When the determinant that we use for calculating triangle area
    is NaN, it's not possible to decide the facing of the triangle.
    
    This can happen when a coordinate of one of the triangle's vertices
    is INFINITY. It's better to just accept these triangles in the shader
    and let the PA deal with them.
    
    Let's do the same for +/- Infinity too.
    Though we haven't seen this yet, it may be troublesome as well.
    
    Fixes: 651a3da1b59446a6e392321d1dbbc1891a0544a8
    Closes: #5470
    Signed-off-by: Timur Kristóf <timur.kristof at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13299>
    (cherry picked from commit 783f8f728ce8e77885adbc7b2c12c39c3e3e5198)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0ffead86420ac6a48da0d76ccc9ed25dba60944
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Tue Oct 12 03:23:21 2021 +0200

    amd/common: Add fallback for misreported clocks for RGP.
    
    Traces with clock = 0 are totally useless due to RGP getting very
    confused.
    
    Cc: mesa-stable
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13301>
    (cherry picked from commit 33065149c149d0650e8848db6b65f81f32e9cf22)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca235ce4320af3648a6a7fee74e26e74292a32e1
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Tue Oct 12 09:07:20 2021 -0700

    .pick_status.json: Update to 783f8f728ce8e77885adbc7b2c12c39c3e3e5198

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a285a9d0f4ebdcc4f7040282f7bb4913164e9bae
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Oct 11 13:30:55 2021 +1000

    crocus/gen5: add dirty flags for urb fences.
    
    Fixes hang with some gtk4 apps.
    
    Fixes: f3630548f1da ("crocus: initial gallium driver for Intel gfx 4-7")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13282>
    (cherry picked from commit 2d15557fd3a36ce22ad1996d5159e5912ec49b70)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e74e0807dc06fa5cefddce253008822c58e72887
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Oct 11 12:05:30 2021 +1000

    crocus/gen5: reemit shaders on gen5 after new program cache bo.
    
    This fixes gtk4 programs.
    
    Fixes: f3630548f1da ("crocus: initial gallium driver for Intel gfx 4-7")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13281>
    (cherry picked from commit 7079286945211a9af38e0e8c22d14fa217c52e82)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=45e9cb35dd20a5e3f072e988f89f6eba4bfc57cb
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Thu Oct 7 22:56:23 2021 +0200

    aco: fix load_barycentric_at_{offset,sample}
    
    The linear case was missing.
    
    Cc: 21.2 mesa-stable
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Rhys Perry <pendingchaos02 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13257>
    (cherry picked from commit 333472f0de43d5fee7270c87696955d5e5bfab4c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7dcced8e7400d631bb22e62701c0fe7d8d9e3dd2
Author: Rob Clark <robdclark at chromium.org>
Date:   Thu Oct 7 16:59:53 2021 -0700

    freedreno/drm: Move pipe unref after fence removal
    
    Dropping the final pipe ref could in turn drop the final ref to one
    of a couple other bo's, which in turn could indirectly recurse back
    into cleanup_fences() on the same bo, resulting in a double decrement
    of bo->nr_fences and underflow to a large positive #.  This happens
    because free'ing a bo back to the bo cache periodically calls
    fd_bo_cache_cleanup() and any bo's that have not been re-used can
    be really free'd, which in turn calls cleanup_fences().
    
    Fixes: 7dabd624649 ("freedreno/drm: Userspace fences")
    Signed-off-by: Rob Clark <robdclark at chromium.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13263>
    (cherry picked from commit faed3d4dfe37b9ca0afb10a63854a1c9fa05bc4f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d48f92406306bea5941546659abf2ecf40fa0b39
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Oct 8 08:35:19 2021 +1000

    crocus: Honor scanout requirement from DRI
    
    Translate PIPE_BIND_SCANOUT as ISL_SURF_USAGE_DISPLAY_BIT,
    instead of PIPE_BIND_DISPLAY_TARGET.
    
    PIPE_BIND_DISPLAY_TARGET isn't used for dri images and seem to
    be set only for fake winsys buffers (which aren't displayed).
    The trouble is that a fake buffer could be multisampled and we
    cannot have multisampled surface with display bit.
    
    Ported from iris 82b46667836647226387442b2feb9d7f1475bd36
    
    Fixes: f3630548f1da ("crocus: initial gallium driver for Intel gfx 4-7")
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Emma Anholt <emma at anholt.net>
    Tested-by: Jason Ekstrand <jason at jlekstrand.net>
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5464
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13260>
    (cherry picked from commit 40fdb35c651d982cdf727721dc46c29c928b2853)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a283721514e582bf89b3ddca7cfce6a2841d22b3
Author: Gert Wollny <gert.wollny at collabora.com>
Date:   Wed Oct 6 18:11:52 2021 +0200

    mesa: signal driver when buffer is bound to different texture format
    
    Gallium caches sampler states for TBOs. Now if a buffer is first
    attached to a TBO specifying one format, and later attached by
    specifying another format and this TBO is then used, that would lead
    to an assertion failure in debug builds, or to invalid rendering in
    release builds, because the TBO picks the original, wrong format for
    the sampler view.
    
    Resolve this by signalling the change to Gallium (and other drivers), so
    that Gallium clears the sampler view cache.
    
    Fixes: f0ecd36ef8e10c087738c92cf62bad3815366963
      st/mesa: add an entirely separate codepath for setting up buffer views
    
    Signed-off-by: Gert Wollny <gert.wollny at collabora.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Reviewed-by: Emma Anholt <emma at anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13230>
    (cherry picked from commit e95ecff7840e9e5f4b255d4dfc7f8b517ab4ef64)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c9688bd22f1289438bb3b564b1610ae0180a332a
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Mon Oct 11 09:19:27 2021 -0700

    .pick_status.json: Update to ced950e42f4a95ef410e63c2d26a2119e0c3c40b

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=346083fac02c09ad5e7203d74946e2cde45c3056
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Wed Nov 11 11:36:33 2020 +0200

    anv: add missing transition handling bits
    
    New access flags & pipeline stages got added for transform feedback
    and we missed handling them.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: 36ee2fd61c8f ("anv: Implement the basic form of VK_EXT_transform_feedback")
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9045>
    (cherry picked from commit ad9d95eee4065be9e54fba7da21f7df4583ddb8a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b254bb4938e06067b42c565e565455b7855235f
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Thu Oct 7 09:18:41 2021 -0700

    .pick_status.json: Update to 3a18963b0876af2aa0d60dd9917e69d409ce4d6e

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9c1d7c96dc332bd34f1dfcf2f248d7660f96ffc
Author: Connor Abbott <cwabbott0 at gmail.com>
Date:   Wed Oct 6 12:55:23 2021 +0200

    ir3: Use source in ir3_output_conv_src_type()
    
    This was incorrectly converted when splitting the regs array. Noticed by
    inspection.
    
    Fixes: d3e08327cf8 ("ir3/core: Switch to srcs/dsts arrays")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13220>
    (cherry picked from commit 0209311c6e8aaed075f6f519706122087e6c33eb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b8c9d9268eece7bf66471a53aeb92141e5a1fa69
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Oct 6 17:13:46 2021 +1000

    device_select: close dri3 fd after using it.
    
    This can leak and causes crashes in some CTS test groups
    dEQP-VK.wsi.xcb.incremental_present*
    
    Fixes: 9bc5b2d169d3 ("vulkan: add initial device selection layer. (v6.1)")
    Reviewed-by: Michel Dänzer <mdaenzer at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13215>
    (cherry picked from commit ab1c888c8d6505d17bfd6a1117c5e77d4f4ac337)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f78e5086a340d2a7efaa1361616ca86138ab7608
Author: Emma Anholt <emma at anholt.net>
Date:   Tue Oct 5 12:33:15 2021 -0700

    i915g: Check for the scanout-layout conditions before setting level info.
    
    Fixes leaks (release) or assertion failures (debug) on allocating small
    scanout resources, when falling through to the non-scanout-specific layout
    code, which became more common as of ad50b47a14e9 ("gbm: assume
    USE_SCANOUT in create_with_modifiers").
    
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13202>
    (cherry picked from commit 60f464bbce963704290a793c2b9637f7ed3aded3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cfacc7a11ba575b20a90675d96544bbd7c50d5bd
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Mon Sep 27 16:51:32 2021 -0400

    panfrost: Fix off-by-one in varying count assert
    
    We want to assert that the number of varyings (the count) is at most the
    the maximum count. This is <=, not <, with the assertion previously
    failing for exactly the maximum.
    
    Fixes: 2c2cf0ecfe6 ("panfrost: Streamline varying linking code")
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13070>
    (cherry picked from commit 9c8311b737935e6adcab25b16808da2ae5548288)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6c75bfa02d696bf2b91b1b4f979efaa8069f1d9
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Mon Sep 27 16:48:33 2021 -0400

    panfrost: Move special_varying to compiler definitions
    
    The number of special varyings on midgard can influence how much space
    we need to allocate for varyings in the compiler ABI. Move the enum so
    we can get access it.
    
    No functional change. This is cc stable purely so the following patches
    can be backported.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13070>
    (cherry picked from commit 00b05290613cedf487c74cbbb661f959c0efd6fc)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b8781575ca84d3a7ca173a07627c5dabaa55569a
Author: Pavel Asyutchenko <sventeam at yandex.ru>
Date:   Thu Sep 2 21:11:04 2021 +0300

    llvmpipe: fix crash when doing FB fetch + gl_FragDepth write in one shader
    
    Reproducible by piglit test from this MR:
    https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/576
    
    Signed-off-by: Pavel Asyutchenko <sventeam at yandex.ru>
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12705>
    (cherry picked from commit 7ffb1522767d4f502141273a89bba125f5a451ea)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=966a515e8afea9741f4bf368c55922e8c139aacc
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed Oct 6 10:04:56 2021 -0700

    .pick_status.json: Update to 729991e09cd28550001ae63710ab929d95b115bc

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3dea42b3404139fd8f253f38ed17f60da9cfd441
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Oct 5 12:11:26 2021 +1000

    crocus/query: don't loop on ready status after gpu hang.
    
    When a GPU hang occurs, the syncobj will eventually timeout,
    if this is a wait, just set ready, so things will continue.
    
    This matches 965 behaviour better.
    
    Fixes: c282a082bef0 ("crocus/query: poll the syncobj in the no wait situation")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13188>
    (cherry picked from commit 0a592db57360a7847ca9c57e47f6200a2992f2e9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0da4403f2c4a5b3232bb7d6094823d117e9875ec
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Wed Sep 29 10:22:14 2021 +0300

    anv: enable UBO indexing
    
    We added support but didn't expose it through the API.
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: b704d03efd4767 ("anv: Do UBO loads with global addresses for bindless")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5426
    Acked-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13097>
    (cherry picked from commit 710393b3aa4a99d446db0c41ef23eb44332332b4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e46efe260dcce93e5a6488ec0bc76f130a87ec38
Author: Icecream95 <ixn at disroot.org>
Date:   Fri Jul 23 12:14:32 2021 +1200

    pan/mdg: Use the correct swizzle for condition moves
    
    Fixes: 70072a20e00 ("pan/midgard: Refactor swizzles")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13173>
    (cherry picked from commit ad60fffd49db1c1a1089e8dd697a48c3537504cf)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=76ffda7c855ccfda142e8390201fc1b96a98a213
Author: Filip Gawin <filip.gawin at zoho.com>
Date:   Fri Oct 1 11:20:27 2021 +0200

    r300: implement forgotten tgsi's cases of textures
    
    Fixes: d0c398a8 ("r300g: Use radeon compiler for fragment programs")
    
    Reviewed-by: Emma Anholt <emma at anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13135>
    (cherry picked from commit b47017192b0738d93512e41120ee5eace25ad4a3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c6eb3396d4fe170c5de59a88c02216919f0469a
Author: Vasily Khoruzhick <anarsoul at gmail.com>
Date:   Thu Sep 30 19:31:09 2021 -0700

    lima: split_load_input: don't split unaligned vec2
    
    Mali4x0 can't fetch unaligned vec2 (i.e. .yz), so don't split it.
    
    Fixes: 6dd0ad66dedc ("lima/ppir: add NIR pass to split varying loads")
    Reviewed-by: Erico Nunes <nunes.erico at gmail.com>
    Signed-off-by: Vasily Khoruzhick <anarsoul at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13131>
    (cherry picked from commit 5db5ff58b73de749378223ae80f542f832ec5461)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=202f0363acfe8917cd0f4d9dbf5e559528bcd492
Author: Timur Kristóf <timur.kristof at gmail.com>
Date:   Fri Oct 1 12:29:24 2021 +0200

    aco: Fix determining whether any culling is enabled.
    
    Use 0xB instead of 0x00FFFFFF - this allows to jump over the culling
    code when no actual culling is enabled but the ngg_cull_face_is_ccw
    flag is set.
    
    Fixes: 182d9b1e6072bec190cf0a52e9d93dbbdbaa850d
    Signed-off-by: Timur Kristóf <timur.kristof at gmail.com>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13129>
    (cherry picked from commit 6ca66808b5ab60b3a3177987a17b6a8803cb1d1d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=88ace152c46d799b900af23fd50ece0ab4a5b2d3
Author: Timur Kristóf <timur.kristof at gmail.com>
Date:   Thu Sep 30 23:11:05 2021 +0200

    aco: Fix small primitive precision.
    
    This is a mistake. It should use ngg_culling_settings
    instead of ngg_gs_state.
    
    Fixes: 182d9b1e6072bec190cf0a52e9d93dbbdbaa850d
    Signed-off-by: Timur Kristóf <timur.kristof at gmail.com>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13129>
    (cherry picked from commit c13a8d20f7b2598dd98e0e9c252617dd55a42523)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6999aec3e645f275257a267247c58e1a18e05505
Author: Kai Wasserbäch <kai at dev.carbon-project.org>
Date:   Thu Jul 22 07:42:12 2021 +0200

    gallivm: fix FTBFS on i386 with LLVM >= 13, StackAlignmentOverride is gone
    
    Use the newly added wrapper lp_set_module_stack_alignment_override() to
    achieve the same end result.
    
    Signed-off-by: Kai Wasserbäch <kai at dev.carbon-project.org>
    Closes: mesa/mesa#4906
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11940>
    (cherry picked from commit 3a2d317b996f57647da23de7876142be4b9b71f3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=50df76b7c7c52c1a6a4ede2136aa422635a58b54
Author: Kai Wasserbäch <kai at dev.carbon-project.org>
Date:   Thu Jul 22 07:34:09 2021 +0200

    gallivm: add new wrapper around Module::setOverrideStackAlignment()
    
    We need it in the next commit to replace setting the stack alignment on
    i386 with LLVM >= 13 through the TargetOption::StackAlignmentOverride,
    which was removed in the upstream commit
    <https://github.com/llvm/llvm-project/commit/3787ee457173c3612aac4c9b1a2b6d6ab0202616>.
    
    Unfortunately Module::setOverrideStackAlignment() is not available
    through the C API and we need to wrap it ourselves.
    
    Signed-off-by: Kai Wasserbäch <kai at dev.carbon-project.org>
    Reference: mesa/mesa#4906
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11940>
    (cherry picked from commit c1b4c64a28d9fc093229eab91a3a7fc4cb4fe29a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c62f32f27f5caa69241e5136c221312e3caa99c0
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Tue Oct 5 10:30:15 2021 -0700

    .pick_status.json: Update to d2543658ef6fe0ad59af217a09a931d3b6174a43

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f8c5eae38a4b0d3edb9714ae772ec2e5e3b4144
Author: Emma Anholt <emma at anholt.net>
Date:   Fri Sep 24 10:04:49 2021 -0700

    gallium/dri: Make YUV formats we're going to emulate external-only.
    
    If we're going to have to bind them as separate planes with colorspace
    conversion for sampling on the frontend, then we need to report that
    they're only for external-image samplers, otherwise the lowering won't be
    applied.
    
    Fixes: 4e3a7dcf ("gallium: enable EGL_EXT_image_dma_buf_import_modifiers unconditionally")
    Reviewed-by: Jose Maria Casanova Crespo <jmcasanova at igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13038>
    (cherry picked from commit c530510514633236138b2b2501c135d34569b1bf)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b40c0f1bc22b8cf693f02264a3d7f59fb22e7a9d
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Wed Sep 29 20:36:46 2021 -0700

    radv: plug leaks in radv_device_init_accel_struct_build_state
    
    Fixes: 0dad88b4694 ("radv: Implement device-side BVH building.")
    Signed-off-by: Chia-I Wu <olvaffe at gmail.com>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13110>
    (cherry picked from commit e57b80f283dab572d271f00f99cbb61970cd75b2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=264e770b828386f8b1dc191d3743595a032914a6
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed Sep 29 11:28:01 2021 +0200

    radv: fix adjusting the frag coord when RADV_FORCE_VRS is enabled
    
    force_vrs was always RADV_FORCE_VRS_NONE at that point and the
    hw workaround was never applied.
    
    Found by inspection.
    
    Cc: 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/13098>
    (cherry picked from commit 0c88c5cdc436fecc777b8635fd57fe7e194a5e0a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a30bee6a14017b65549b51968493234b372611a9
Author: Qiang Yu <yuq825 at gmail.com>
Date:   Fri Sep 24 15:47:50 2021 +0800

    loader/dri3: fix swap out of order when changing swap interval
    
    This fixes SPECVIEWPERF13 creo test case hang:
      1. Client: send present pixmap request (serial=1) when swap_interval==1
         and increase send_sbc=1
      2. Server: pend the request before vblank arrives
      3. Client: set swap_interval=0 (so set XCB_PRESENT_OPTION_ASYNC),
         send another present pixmap request (serial=2), increase send_sbc=2
      4. Server: handle the async request immediately and send complete event
         (serial=2)
      5. Client: handle the event and set recv_sbc=event->serial=2
      6. Server: vblank arrives so handle pending request and send complete
         event (serial=1)
      7. Client: handle the event and set recv_sbc=event->serial=1
      8. Client: someone call loader_dri3_swapbuffer_barrier() and waiting
         on recv_sbc==send_sbc, but no one will set recv_sbc=2 again
    
    So basically it's caused by swap happens out of order. This commit
    fixes the problem by waiting on the pending sync swaps all done when
    switching to async mode, so move 6&7 before 3.
    
    Attach the xtrace when problem happens:
    
      005:<:003e: 72: Present-Request(148,1): Pixmap window=0x03000002 pixmap=0x0300000b serial=1 valid=0x00000000 update=0x00000000 x_off=0 y_off=0 target_crtc=0x00000000 wait_fence=0x00000000 idle_fence=0x0300000c options=0 target_msc=4294967296 divisor=0 remainder=0 notifies=;
      ...
      005:<:0041: 72: Present-Request(148,1): Pixmap window=0x03000002 pixmap=0x03000011 serial=2 valid=0x00000000 update=0x00000000 x_off=0 y_off=0 target_crtc=0x00000000 wait_fence=0x00000000 idle_fence=0x03000012 options=Async target_msc=0 divisor=0 remainder=0 notifies=;
      005:>:0041: Event Generic(35) Present(148) IdleNotify(2) event=0x03000006 window=0x03000002 serial=2 pixmap=0x03000011 idle_fence=0x03000012
      005:>:0041: Event Generic(35) Present(148) CompleteNotify(1) kind=Pixmap(0x00) mode=Copy(0x00) event=0x03000006 window=0x03000002 serial=2 ust=7505462213117739011 msc=3565046193979392
      005:>:0041: Event Generic(35) Present(148) IdleNotify(2) event=0x03000006 window=0x03000002 serial=1 pixmap=0x0300000b idle_fence=0x0300000c
      005:>:0041: Event Generic(35) Present(148) CompleteNotify(1) kind=Pixmap(0x00) mode=Copy(0x00) event=0x03000006 window=0x03000002 serial=1 ust=7505533793042694147 msc=3565050488946688
    
    Cc: mesa-stable
    Reviewed-by: Michel Dänzer <mdaenzer at redhat.com>
    Signed-off-by: Qiang Yu <yuq825 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13019>
    (cherry picked from commit e55e61758c704f79fa6634bfdcd7563330d68060)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=51785811d164b2542e4667e1fef0b9572d099599
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Sep 29 08:15:24 2021 -0500

    vulkan/shader_module: Fix the lifetime of temporary shader modules
    
    The vk_shader_module_handle_from_nir() macro was constructing a
    temporary vk_shader_module and passing it through
    vk_shader_module_to_handle().  Since this is a function and not a macro,
    it means that the lifetime of the temporary vk_shader_module will end
    once the to_handle() function is called.  Technically, this is a
    use-after-free.  I really don't know why no one has been bitten by this
    yet....
    
    Fixes: a41e98ddcae0 "vk/util: add a util macro for initializing stack..."
    Reviewed-by: Alejandro Piñeiro <apinheiro at igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13101>
    (cherry picked from commit 24637a6579303a6b4f85001f33943c6004af8c50)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=384fe7c76e3920419b203e11f98d295680a977df
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Sun Aug 15 02:14:41 2021 -0700

    pps: Avoid duplicate elements in with_datasources array.
    
    Setting -Dperfetto=true and -Ddatasources=intel,panfrost to the
    meson command line resulted in duplicate elements.
    
    Fixes: 92180a43763 ("pps: Intel pps driver")
    Fixes: 513d1baaea5 ("pps: Panfrost pps driver")
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12379>
    (cherry picked from commit 77d2bdb0a274d3bfccb63585c313ff7033a5656b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c5227b89ded66f1eebea379899ddbbe44bf35c0
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Fri Oct 1 08:57:16 2021 -0700

    .pick_status.json: Update to fb8f532ea1bbd9c959e0f59c652347e435a71f91



More information about the mesa-commit mailing list