Mesa (staging/21.0): 23 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jan 19 17:39:14 UTC 2021


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=25e74fd8a03b329ff880b117c032f102a5875f77
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Tue Jan 19 14:34:40 2021 +0000

    aco: fix convert_to_SDWA() check in add_subdword_definition()
    
    v_or_b32 with a v2b definition should use SDWA if is_partial=true.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Fixes: 56345b8c610 ("aco: allow reading/writing upper halves/bytes when possible")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8577>
    (cherry picked from commit fcda9b67374e7c98c7a84b916bb32a8aaa84d414)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=78214fd78bfe9db216662eda5dce132f220a3882
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Wed Jan 13 21:20:42 2021 +0100

    radeonsi: inhibit clockgating when using SQTT
    
    Ported from PAL.
    
    Fixes: 07c1504d1b0 ("radeonsi: implement SQTT support")
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8480>
    (cherry picked from commit 41d22eb68ef76bb9696f629fd6e06e68e55c3921)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e487526a6cf26dbaf24b6ca98829f2d1272ad98
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Mon Jan 18 19:21:27 2021 +0100

    radv: flush L2 metadata as part of CB/DB flush instead of CS_DONE on GFX9
    
    This restores the previous logic because L2 coherency was fully
    implemented. It appears that flushing L2 metadata with a CS_DONE
    event hangs.
    
    This fixes GPU hangs with Monster Hunter World.
    
    Fixes: 4a783a3c ("radv: Use L2 coherency on GFX9+.")
    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/8566>
    (cherry picked from commit c3ac6f7cd77e37c083fe35da9a921a55076190bd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a3ab478cb5321fa0aa54d14abf03d8216c8dcf8
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Jan 15 16:43:57 2021 -0500

    mesa: fix alpha channel of ETC2_SRGB8 decompression for !bgra
    
    If software decompression is used for ETC2, the alpha channel
    for sRGB8 textures would be set only if BGRA is true.
    
    Fixes: e5604ef78bd "st/mesa/i965: Allow decompressing ETC2 to GL_RGBA"
    
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8529>
    (cherry picked from commit 290dcb26aec583eb00be611b7b69e3f3f9667781)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b856c61f68c1a0e234e282dc876a3a3ba626b5c6
Author: Icecream95 <ixn at disroot.org>
Date:   Thu Jan 14 14:44:48 2021 +1300

    pan/bi: Iterate from zero when setting RA interference
    
    It is now valid for a node to have an index of zero.
    
    Fixes: 39aa8c4a5ac ("pan/bi: Switch to new IR")
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8358>
    (cherry picked from commit 5eb39dd95f8b9eec1fd648f7797edf43988db402)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b1e21cd48272cdf4f05786dbb66cc5316f8b42a
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Jan 8 14:11:39 2021 -0500

    pan/bi: Fix printing of node 0
    
    Fixes: 1893a3805e4 ("pan/bi: Generate instruction printer")
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8358>
    (cherry picked from commit a63960b7f3b7c8478402e65bdfb0c6e83e1539af)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=69225229122add889b8911ec0907704bc1cf067d
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Jan 8 14:12:38 2021 -0500

    pan/bi: Fix RA of node 0
    
    Fixes: 39aa8c4a5ac ("pan/bi: Switch to new IR")
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8358>
    (cherry picked from commit 3a16ab84e2f2ec78c85eae67f99a5fa4b4791a57)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=03300e4fa9658e128d91cca526a6d1e5a7c55dd0
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Jan 8 14:13:16 2021 -0500

    pan/bi: Fix 64-bit SSBO addresses
    
    Fixes: 9c7efc45105 ("pan/bi: Add intrinsic emits for builder")
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8358>
    (cherry picked from commit 92461a11333bc6f7407fd09203c514802b7fc3d5)
    
    Conflicts:
    	src/panfrost/bifrost/bifrost_compile.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0391b541f569b7e8de9b7f701af99e5dea76dbe6
Author: Icecream95 <ixn at disroot.org>
Date:   Sun Jan 3 22:03:57 2021 +1300

    pan/mdg: Fix spilling when scratch memory is used
    
    Add the tls_size from NIR before spilling so that it doesn't alias
    with spill slots.
    
    Fixes: 152bc5d15e1 ("pan/mdg: Support loads and stores to scratch memory")
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8358>
    (cherry picked from commit a8c91f15f0339bf03fae5b0712e4a657f8d09c72)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c63bdefed0b94ab58c35dbec45a32452fe50df92
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat Jan 16 18:08:44 2021 -0500

    nvc0: index_bias is now only set for indexed draws
    
    Fixes: cbdc00ac3a6 ("nouveau: fix handling draw info")
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Karol Herbst <kherbst at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8539>
    (cherry picked from commit 087ef91c85c82546af879b6ce0ba371b393e1e13)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c5c26b494619dedbbf48a7a096c05e7d8338d41
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sun Jan 17 12:46:03 2021 -0500

    cso: set index_bounds_valid = true for arrays draws
    
    The min/max indices are valid. Set the bit to true to indicate that.
    
    Fixes glClear (+ clear_with_quads) on nouveau.
    
    Fixes: 72ff53098c64 (gallium: add pipe_draw_info::index_bounds_valid)
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reported-by: Simon Ser <contact at emersion.fr>
    Tested-by: Simon Ser <contact at emersion.fr>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8546>
    (cherry picked from commit 111c0733eaef2b3bfe9abaea2bb7880b5976dde6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=80488558b567c9938360fbc7c3dac24768181ee3
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Mon Jan 18 17:48:27 2021 +0100

    zink: handle NULL views in zink_set_sampler_views
    
    Passing NULL for the views parameter should be the same as passing an
    array of NULL, according to the documentation. So let's respect that
    detail.
    
    This fixes a crash when using GALLIUM_HUD.
    
    Fixes: 8d46e35d16e ("zink: introduce opengl over vulkan")
    Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8564>
    (cherry picked from commit 333730405de28153f2378d498e45cb82024fc230)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1efbaa0ff946a0aff8072d8f1d7807688228255
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Sat Jan 16 14:27:58 2021 +0100

    radv: Do not use a pipe offset for aliased sparse images.
    
    Otherwise the offset might not match between the images that are
    aliased.
    
    Fixes: e553ea51e8c ("radv: Create sparse images.")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4072
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8535>
    (cherry picked from commit af1aef10f9a1ae0fbd986fe28c8450462695a5af)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a2d43e2b17495977e2c13e9f626a43327c41d3cf
Author: Michel Dänzer <mdaenzer at redhat.com>
Date:   Thu Jan 14 13:04:57 2021 +0100

    wsi/x11: Use get_screen_resources_current in wsi_x11_detect_xwayland
    
    get_screen_resources may trigger an active probe of display connections
    in the X server, which may take significant time and/or result in log
    file spam.
    
    Fixes: b5268d532a01 "wsi/x11: Detect Xwayland"
    Reported-by: Sylvain Bertrand <sylvain.bertrand at legeek.net>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8492>
    (cherry picked from commit 23f2e7771053233df3d4c348ae46f838ccdda7ef)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=af0e497acddcfec8795999aeacb1103fa9216a40
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat Jan 16 01:10:24 2021 -0500

    glsl: only expose int64 atomics when extension is enabled
    
    This limits the exposure of these functions to when the extension is
    available. Prevents crashes otherwise, as the rest of the infrastructure
    doesn't necessarily expect these functions when the extension is not
    available.
    
    Fixes: 40c1f9883e5 ("mesa,glsl: add support for GL_NV_shader_atomic_int64")
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8533>
    (cherry picked from commit a0f4affcf64cfd13a27f1e3cc24f98ef220b691b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bec4cf5107815744cc2c8cac1ceae1b55fd3cbad
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Fri Jan 15 14:27:02 2021 +0100

    ac/surface: Fix GFX9 sparse mip info.
    
    Used the wrong offset & pitch for gfx9.
    
    Fixes: 50bafb85ec1 ("ac/surf: Add sparse texture info to radeon_surf.")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4072
    Acked-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8526>
    (cherry picked from commit c28469bae1b3bc0ed274d08fd4bc246cba054f5b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=35029e09728a591a79a5e150c1ca2295ba763eef
Author: Dave Airlie <airlied at gmail.com>
Date:   Fri Jan 15 09:57:52 2021 +1000

    lavapipe: fix missing piece of VK_KHR_get_physical_device_properties2
    
    I missed two parts of the APIs for this, so add them, should fix
    crashes in gstreamer vulkan when it tries to load lvp.
    
    Cc: <mesa-stable at lists.freedesktop.org>
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3989
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8511>
    (cherry picked from commit 7b48d5d36e0177a9346b75af6f41031e4c7b1220)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=80303e56a4fae2baed07e32288972404d4fecb1b
Author: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
Date:   Tue Jan 12 16:44:34 2021 -0800

    Fall back on clock_gettime when timespec_get() is unavailable
    
    Fixes: e3a8013de8ca "util/u_queue: add util_queue_fence_wait_timeout"
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/1020
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4088
    
    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
    Signed-off-by: Yurii Kolesnykov <root at yurikoles.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8482>
    (cherry picked from commit 68a785e63fe848c7bcd48bce2095670926f97eea)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c7a7e64ffac13d013091d66d24205451bfd6983d
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed Jan 13 23:16:30 2021 -0500

    pan/bi: Fix assertion
    
    Fixes: bef3fedc814 ("pan/bi: Lower 8bit fragment outputs to 16bit")
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Reported-by: Coverity
    Reviewed-by: Boris Brezillon <boris.brezillon at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8489>
    (cherry picked from commit 81becaa685a71778e16ed0cc0c510186d5e682f5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bea422f2f40fe102c3513a334cb3a564e57aa2ad
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Jan 15 09:19:03 2021 +1000

    device-select-layer: update for vulkan 1.2
    
    The vulkan loader doesn't load layers for apps that require a newer
    version of vulkan, so this layer didn't get loaded for vulkan 1.2 apps.
    
    I would like to just stick 1.09 in there but it might be worth
    validating it works at new version of vulkan I suppose and the major
    doesn't revise that often
    
    Fixes: 9bc5b2d169d3 ("vulkan: add initial device selection layer. (v6)")
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8508>
    (cherry picked from commit ca834d0b2dcf347e062e33c1bf930632b76d3025)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=60519314155590820586d032031be4c907ceaea0
Author: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
Date:   Thu Jan 14 10:16:15 2021 -0800

    util: Fix pointer to integer conversion error when using libunwind
    
    ../src/util/u_debug_stack.c:97:20: error: incompatible pointer to integer conversion assigning to 'unw_word_t' (aka 'unsigned long') from 'void *' [-Werror,-Wint-conversion]
       pip.unwind_info = NULL;
                       ^ ~~~~
    1 error generated.
    
    Fixes: 70c272004f72 "gallium/util: libunwind support"
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4094
    
    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8507>
    (cherry picked from commit 08ac7b52e7814540e92d5add29049324f6841bb5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=52376c9682dfd6ae5f66d4708629fd724bcbd419
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Jan 14 16:17:21 2021 -0800

    util/format: Fix pack/unpack of A1R5G5B5_UINT.
    
    Avoids regressing KHR-GL33.packed_pixels.pbo_rectangle.* when
    transitioning from mesa/main pack/unpack codegen to util/format's.
    
    Fixes: b28eb044cdc1 ("gallium: Add equivalents of packed MESA_FORMAT_*UINT formats.")
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6297>
    (cherry picked from commit e5e75b714d7a386cbdd0956ee4e9a5b4c70c963e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e6a0397be873ee896c12c924fcc6df2cc75f4a18
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Tue Jan 19 09:32:39 2021 -0800

    .pick_status.json: Update to 3e13c1f8dfef4a4c0fd5e79bbc364f9e5f998856



More information about the mesa-commit mailing list