Mesa (staging/22.0): 23 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue May 3 17:06:55 UTC 2022


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f0236ccfe5af46d00e697e0045a04d771af98fd
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon May 2 11:14:06 2022 -0400

    llvmpipe: disable statistic queries during draw if queries are disabled
    
    cc: mesa-stable
    
    fixes (zink):
    spec at ext_transform_feedback@generatemipmap prims_generated
    
    Reviewed-by: Emma Anholt <emma at anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16278>
    (cherry picked from commit a36c3f6f6a41d84961b5633a627cd90feaa4d18d)
    
    Conflicts:
    	src/gallium/drivers/zink/ci/zink-lvp-fails.txt

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a2a309b956183ef2de378adff57067df305736b
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Tue May 3 12:19:43 2022 +0300

    anv: fix invalid utrace memcpy l3 config on gfx < 11
    
    device->l3_config is only valid on Gfx11+
    
    This only fixes using GPU_TRACE=1
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: 02a4d622ed0 ("anv: expose a couple of emit helper to build utrace buffer copies")
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16291>
    (cherry picked from commit 4efc99747247520f186365c530a4f955cbc1fb79)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bde330be0c1049886f2d0fad5212e0920357cc04
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon May 2 11:15:40 2022 -0400

    llvmpipe: disable compute statistics queries if queries are disabled
    
    cc: mesa-stable
    
    Reviewed-by: Emma Anholt <emma at anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16278>
    (cherry picked from commit 4a4adb65cec466ca7861856922f84b95bfd0fac1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=73fb76d2ea5d68c057da9c441958b616f7681915
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Thu Apr 28 13:24:06 2022 +1000

    nir: fix sorting before assigning varying driver locations
    
    We need to make sure we also properly sort varyings sharing a single
    slot otherwise we can end up assigning earlier components to the next
    slot if we have already processed later components.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6392
    
    Fixes: 1e93b0caa10d ("mesa/st: add support for NIR as possible driver IR")
    
    Reviewed-by: Emma Anholt <emma at anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16208>
    (cherry picked from commit 180398f7851a01d9cb2879a426f3cf1b4686c917)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fab8d87e31ff514371bf6104a00f219d6dfaa2b6
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Thu Apr 28 14:25:36 2022 -0700

    util: Keep quiet NaNs quiet when converting to half float.
    
    We don't want to be throwing exceptions and changing float values later by
    emitting a signaling binary16 nan.
    
    If we don't do this, then when we convert back to f32 in NIR constant
    expression evaluation, the signaling NaN can end up giving NaN for
    fmax(NaN, 0.0), instead of 0.0.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5933
    Cc: mesa-stable
    Reviewed-by: Emma Anholt <emma at anholt.net>
    Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16233>
    (cherry picked from commit 27e33d5c963f13a47c4b9276378db913d8ecb189)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f062ad75532b2c73003d42d031281a2a6ba1679
Author: Iván Briano <ivan.briano at intel.com>
Date:   Fri Apr 29 14:54:46 2022 -0700

    vulkan/wsi/wayland: Fix double free on error condition
    
    If wsi_configure_native_image() fails, it will call
    wsi_destroy_image_info() itself, so let's try to not call it again from
    wsi_wl_swapchain_destroy().
    
    Fixes the CTS tests:
    dEQP-VK.wsi.wayland.swapchain.simulate_oom.*
    
    Fixes: b626a5be43d ("vulkan/wsi/wayland: Split image creation")
    
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16257>
    (cherry picked from commit bf04be17f7f7cb41ef90176a8bc1fad587206046)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=78142c52f217bc67122489b5e43fb7c42caefc10
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Fri Apr 29 02:37:25 2022 -0700

    iris: Fix assertion meant to only target the clear-color stride
    
    Fixes: 2bc8c61fd00 ("iris: Return a 64B stride for clear color plane")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6398
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Nanley Chery <nanley.g.chery at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16241>
    (cherry picked from commit 33456ae5a48c809cee251ca6d70f2b7f5941bc87)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a68fe5f2f517b4c0f60e79c61882a37e185593e2
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Fri Apr 29 02:37:25 2022 -0700

    iris: Fix assertion meant to only target the clear-color stride
    
    Fixes: 2bc8c61fd00 ("iris: Return a 64B stride for clear color plane")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6398
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Nanley Chery <nanley.g.chery at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16241>
    (cherry picked from commit 33456ae5a48c809cee251ca6d70f2b7f5941bc87)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ddee3db280bc3f5e43e9e3053df61085a76eec6b
Author: Nanley Chery <nanley.g.chery at intel.com>
Date:   Thu Apr 28 08:01:19 2022 -0700

    iris: Return a 64B stride for clear color plane
    
    Although modifiers which use a clear color plane specify that the
    plane's pitch should be ignored, some kernels have been found to require
    64-byte alignment.
    
    Cc: mesa-stable
    Fixes: db475c81b7c ("iris: Return non-zero stride for clear color plane")
    Reported-by: Dongwon Kim <dongwon.kim at intel.com>
    Suggested-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14521>
    (cherry picked from commit 2bc8c61fd00b2877319f54afeaba3d606fd8532c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ab77ed52c79e10fded9f3744f58d697a67c97a9d
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Tue Apr 26 14:23:36 2022 +0200

    radv: enable radv_disable_sinking_load_input_fs for Grid Autosport
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4228
    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/16165>
    (cherry picked from commit e6bcdc763c9e228aea9a767c35dbd63bb1a5689e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=18d686c082f356fda6a9dbecae09065fa40eb367
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Mon May 2 11:15:08 2022 -0700

    .pick_status.json: Update to 2505afc430c6b151e7e4243503953ba0b0a2c842

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8836a7ab613523cc60113fa40bd2058b5096b749
Author: Gert Wollny <gert.wollny at collabora.com>
Date:   Sun May 1 22:49:01 2022 +0200

    r600: Allow eight bit, three channel formats for vertex buffers
    
    While using three component texture formats results in CTs failures,
    three component vertex attributes are fine, and not allowing them
    results in significant performance regressisons.
    
    Fixes: e41958e344cb4b15d01008140a1ee08817104334
       r600: Disable eight bit three channel formats
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6399
    
    v2: rename function to is_buffer_format_supported (Emma)
    
    Signed-off-by: Gert Wollny <gert.wollny at collabora.com>
    Reviewed-by: Emma Anholt <emma at anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16267>
    (cherry picked from commit 4a2ff9eb86acdc0b5cc35ca2c2f6ec5cfe9671a9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b96fa0621a92bc1c69fc896e2996eeca4860a8b9
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Thu Apr 7 11:20:52 2022 +0300

    anv: fix clflush usage on utrace copy batch
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: cc5843a573bd ("anv: implement u_trace support")
    Reviewed-by: Marcin Ślusarz <marcin.slusarz at intel.com>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15780>
    (cherry picked from commit 44e93b4c6fdce90a72be51cc96be9f6b34051d5d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6aff6d31b5bb179abeda401f0e069a930ec92ed5
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Thu Apr 28 11:47:37 2022 +0200

    mesa: add missing error-path
    
    The ARB_shader_objects spec says the following:
    
    > The error INVALID_VALUE is generated by any command that takes one or
    > more handles as input, and one or more of these handles are not an
    > object handle generated by OpenGL.
    
    And a long, long time ago, we used do to just that for
    glDeleteObjectARB... Until 9ac9605de15, all the way back in February 2006,
    where the error condition was removed without explanation.
    
    Let's restore it, because it should really be there.
    
    This was noticed by running the tests that are in the mesa-demos
    repository, that actually tested this condition.
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16211>
    (cherry picked from commit ba9c917149e883b3e2b117de41e5a54dd6f9d0cc)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7bb8a78434f2197aaeb2df21c559133054ee242a
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Fri Apr 29 09:20:33 2022 +0200

    gallium/xlib: fix stale comment
    
    We haven't been doing what the comment says for about a decade, it's
    about time to update the comment!
    
    Fixes: 5f60a00743f ("st/glx: remove STENCIL_BITS, DEFAULT_SOFTWARE_DEPTH_BITS")
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16213>
    (cherry picked from commit 82b681db997a6ee01114cdc14593e5d20933b052)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5186ec497b412259506160d2af884da43c8e2741
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Thu Apr 28 14:05:14 2022 +0200

    meson: remove unused defines
    
    These defines are no longer used since we removed libmesa_classic.
    
    Fixes: e030d5ba8ac ("mesa: Delete libmesa_classic")
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16213>
    (cherry picked from commit 36250e839b2b54944511b245100622ab352d5879)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=31e62cc1eb88277a65b1a914cad7b109bb61dda4
Author: Juan A. Suarez Romero <jasuarez at igalia.com>
Date:   Thu Apr 28 18:05:55 2022 +0200

    mesa: unref syncobj after wait_sync
    
    Before returning the wait_sync() function, the sync object must be
    unreferenced.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6377
    Fixes: 0af7c1e385b ("mesa/st: merge the syncobj code from st into mesa")
    Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16242>
    (cherry picked from commit a47375d4dabc2552e4866ba5b7d8c62d4cd4b904)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=569f1b93fe5a873e6504594548a03ad4be6a7a1d
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Mar 14 05:54:20 2022 +1000

    vulkan/wsi: keep allocate queue families in image, just don't fill them
    
    This changes the code so that it only looks at the passed in families
    when concurrent, otherwise it always allocates one.
    
    Fixes: 48b3ef625e19 ("vulkan/wsi: handle queue families properly for non-concurrent sharing mode.")
    Acked-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Acked-by: Jason Ekstrand <jason.ekstrand at collabora.com>
    Tested-by: Mike Lothian <mike at fireburn.co.uk>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15331>
    (cherry picked from commit 85a94be0fec1dad9b22ee346383a4abb46a6e990)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=99c80c359d8f488e8e3a7327818e60640b5751b3
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Mon May 2 10:42:07 2022 -0700

    .pick_status.json: Update to 53a94fbdd57acbbe2bc745901cbfeca968e25273

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e807a9122b9d8350e415504c1c62485d02d7ffd1
Author: Nanley Chery <nanley.g.chery at intel.com>
Date:   Wed Mar 16 14:25:28 2022 -0700

    Revert "anv: Disable CCS_E for some 8/16bpp copies on TGL+"
    
    This reverts commit d68b2db89ca38f3f6c0d3ebd65945c471d864d58.
    
    With this change, no regressions have been observed with the
    dEQP-VK.synchronization* test group. There are regressions with
    dEQP-VK.drm_format_modifiers.export_import.*, but those have been
    root-caused to be test issues (see 3575).
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6125
    Fixes: 57445adc891 ("anv: Re-enable CCS_E on TGL+")
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15420>
    (cherry picked from commit e2f0c859c2b8092bef58ee396ab1d5b6f18d5eb5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=05b5eb66e94564f8cb442142f0257ea418e3b4a3
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Sat Apr 23 09:29:08 2022 +0300

    isl: disable mcs (and mcs+ccs) for color msaa on DG2
    
    Fixes lots of various test failures in:
       dEQP-VK.pipeline.multisample.min_sample_shading_disabled.*
       dEQP-GLES3.functional*multisample.*
       KHR-GL*sample_variables.*
    
    Cc: mesa-stable
    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>
    Acked-by: Nanley Chery <nanley.g.chery at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13991>
    (cherry picked from commit d3ef3657b280b3c273957641183e64d388804d08)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fee14d8481937def1690e0f8bd10eecf26ae18f6
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Tue Apr 12 14:46:39 2022 -0700

    vulkan/wsi/x11: Use atomic_int with sent_image_count
    
    Without this being atomically incremented and decremented, I observed
    this assert triggering in debug builds:
    
      src/vulkan/wsi/wsi_common_x11.c:x11_present_to_x11_dri3():
    
      assert(chain->sent_image_count <= chain->base.image_count);
    
    I think this was happening since,
    
      src/vulkan/wsi/wsi_common_x11.c:x11_handle_dri3_present_event()
    
    which decrements chain->sent_image_count may be run in a separate
    thread.
    
    Fixes: d0bc1ad3776 ("vulkan/wsi/x11: add sent image counter")
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15908>
    (cherry picked from commit 212fb25b267120c6cc8eead21a7eb016f2b58f2a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5c5421f9d19e31800788752dfa1f585e6b6c2d5
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Apr 28 10:43:45 2022 +1000

    llvmpipe: add user memory resources to the debug global list.
    
    Otherwise things will crash on destruction.
    
    Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
    Fixes: 9a57dceeb760 ("llvmpipe: add support for user memory pointers")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16207>
    (cherry picked from commit b4bbf9d1acf04debb0abd2c3ebeac21fe389cf83)



More information about the mesa-commit mailing list