Mesa (20.3): 56 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Dec 16 18:43:33 UTC 2020


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d90622910ba2d726b6f43ade0a364d0eb04dd3bb
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed Dec 16 10:19:56 2020 -0800

    VERSION: bump for 20.3.1

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d4f4d29a6cfa1eb9dab9587af64d5ddb86469239
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed Dec 16 10:19:43 2020 -0800

    docs: add release notes for 20.3.1

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=adb6c1cc0ab5df7d9c8c301ab75a6850ec4e9083
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Mon Dec 14 21:32:55 2020 +0200

    gallium/dri2: Don't forget protected content flag
    
    Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Fixes: bd182777c8f2c4 ("egl: implement EGL_EXT_protected_surface support")
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8094>
    (cherry picked from commit d21cc94201ab1e6cb54ff33a7a835248fe336777)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6c2b0d7a81022e224d355c6e82d67200781295d4
Author: Robin Ole Heinemann <robin.ole.heinemann at t-online.de>
Date:   Sun Dec 13 02:22:57 2020 +0100

    anv: Add DRM_RDWR flag in anv_gem_handle_to_fd
    
    The DRM_RDWR flag is needed for mmap with PROT_WRITE to work.
    
    Cc: mesa-stable
    Signed-off-by: Robin Ole Heinemann <robin.ole.heinemann at gmail.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8075>
    (cherry picked from commit df76963a5cd56c677f189ad89d75935a76fca090)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c0e171c970a05ec2e3c272d8a2a42d1233c3088
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Tue Dec 15 11:04:17 2020 -0800

    .pick_status.json: Update to ada9be1ec9e14fc045086411fbf2d3cb0efbbe2f

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d5c04838673db7c1f59c9e707bf2c09e80e4672
Author: Simon Ser <contact at emersion.fr>
Date:   Thu Dec 3 16:03:15 2020 +0100

    radv: fix access to uninitialized radeon_bo_metadata
    
    If the image tiling is set to VK_IMAGE_TILING_LINEAR,
    buffer_set_metadata will read an uninitialized radeon_bo_metadata.
    
    Signed-off-by: Simon Ser <contact at emersion.fr>
    Fixes: d5fd8cd46eee ("radv: Allow non-dedicated linear images and buffer.")
    Cc: mesa-stable
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7898>
    (cherry picked from commit ad19b0714a8d3cb51121b09b6e3915439d5f3452)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c04030308dbb9b1e373e308a9eb7b0e1fd0ae75e
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri Dec 11 19:00:23 2020 -0500

    st/pbo: fix pbo uploads without PIPE_CAP_TGSI_VS_LAYER_VIEWPORT
    
    the code here tries to be too smart and only use a geometry shader if there's
    actually multiple layers being uploaded, but the fragment shader also unconditionally
    reads gl_Layer as long as the pipe cap for gs is set, which means that
    in the case when the gs is dynamically disabled due to uploading a
    single-layer surface, the fs has no input to read for gl_Layer and everything breaks
    
    always using a gs isn't ideal, but it's considerably more work to manage multiple
    fs variants based on layer usage
    
    Fixes: c99f2fe70ec ("st/mesa: implement PBO upload for multiple layers")
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8067>
    (cherry picked from commit 614c77772ac2f48955537efcfefaf0609d6c03e5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=62eea2b34ca21278a0ec85acfef543546b07222b
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Sat Dec 12 11:59:40 2020 -0500

    zink: really fix direct image mapping offset (I mean it this time)
    
    I got confused and:
    * used the vkformat instead of the pipe format for getting format description
    * incorrectly calculated bpp
    
    but this time it's definitely 100% fixed I promise
    
    Fixes: 456b57802ea ("zink: fix direct image mapping offset")
    
    Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8074>
    (cherry picked from commit dfd0f042e0d8faa374629ea0a67422edff6d48c3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9bc767bdc5eb7cfa2fc2188beae7f5729ec0587
Author: Eric Anholt <eric at anholt.net>
Date:   Fri Dec 11 09:48:15 2020 -0800

    nir: Redefine start/end_ip of blocks to fix NIR-to-TGSI liveness bugs.
    
    With the block's end_ip accidentally being the ip of the next instruction,
    contrary to the comment, you would end up doing end-of-block freeing early
    and have the value missing when it came time to emit the next instruction.
    Just expand the ips to have separate ones for start and end of block --
    while it means that nir_instr->index is no longer incremented by 1 per
    instruction, it makes sense for use in liveness because a backend is
    likely to need to do other things at block boundaries (like emit the if
    statement's code), and having an ip to identify that stuff is useful.
    
    Fixes: a206b581578d ("nir: Add a block start/end ip to live instr index metadata.")
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7658>
    (cherry picked from commit d3d28f6c2d1795d391442249343d8cd38356665d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5246efd8dfc05893900019ae391b2b9a4ce4d40
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri Dec 11 10:53:53 2020 -0500

    zink: fix direct image mapping offset
    
    the x and y offsets here were improperly calculated without taking into account:
    * layer/level offset
    * x/y coord bpp
    
    Fixes: 8d46e35d16e ("zink: introduce opengl over vulkan")
    Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8058>
    (cherry picked from commit 456b57802eaf95d36e7b950bdb5ffd86a1c0dc63)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=07d6fa2aba94f33f9fc6081f627b5bc1b73da991
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Mon Dec 14 09:23:02 2020 -0800

    .pick_status.json: Update to a7fb3954a1318a6b27e1405a9e799dd8f06eaa34

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=200a2f245518bef173c642fa1fd2e4fbf1cc52c7
Author: Daniel Schürmann <daniel at schuermann.dev>
Date:   Fri Dec 11 09:23:04 2020 +0100

    aco/ra: use get_reg_specified() for p_extract_vector
    
    On GFX6/7, it might violate validation rules, otherwise.
    
    Fixes: 51f4b22feec3720c89458094a3245efc984115ee ('aco: don't allow unaligned subdword accesses on GFX6/7')
    Reviewed-by: Rhys Perry <pendingchaos02 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8047>
    (cherry picked from commit fd49ba59a3888795ad0788259e3472e08c42bc24)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e65a36a7f80b98eb9958e93aad393008527cad9
Author: Timur Kristóf <timur.kristof at gmail.com>
Date:   Thu Dec 10 18:54:43 2020 +0100

    aco: Use program->num_waves as maximum in scheduler.
    
    The scheduler doesn't take SGPR use into account, which can be
    a limiting factor on older GPUs. This patch fixes a CTS test crash
    on GFX6.
    
    CC: mesa-stable
    Signed-off-by: Timur Kristóf <timur.kristof at gmail.com>
    Reviewed-by: Rhys Perry <pendingchaos02 at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8040>
    (cherry picked from commit 731f8fc9dd5018e9ee55982207b70130ab72d22b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac1145f704a7042dfced7e9aa268937d73dc2271
Author: cheyang <cheyang at bytedance.com>
Date:   Tue Dec 1 14:41:08 2020 +0800

    android: fix build failure with libbacktrace
    
    because 848e7b94 commit cause.it  modify u_debug_stack_android.cpp
    location from src/gallium/auxiliary/util to src/util but Android.mk
    not modify
    
    Fixes: 848e7b94 ("Move stack debug functions to src/util")
    Signed-off-by: cheyang <cheyang at bytedance.com>
    Acked-by: Tapani Pälli <tapani.palli at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7851>
    (cherry picked from commit 83d1e2efd0e89191da80b62c048a9b7a471a86a3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=18d5fe46e531b87d63fdb7ac3b40f71e1cc78884
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Fri Dec 11 09:41:07 2020 -0800

    .pick_status.json: Update to 84c8a35aa2ca4d4de66192933735094ed07b4aaa

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4631f3848c382f49a57154cd727eabb835529d04
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed Nov 11 09:02:31 2020 +0100

    radv: do VGT_FLUSH when switching NGG -> legacy on Sienna Cichlid
    
    Ported from RadeonSI.
    
    Cc: 20.2
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    (cherry picked from commit 0790105f2f0d1813dc2ecaf5e12e7131730a8bc1)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8014>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7bf1fbea73348a16badbcc14094ac654947d176e
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed Nov 11 09:17:32 2020 +0100

    radv: fix applying the NGG minimum vertex count requirement
    
    Ported from RadeonSI.
    
    The restriction was applied too late.
    
    Cc: 20.2
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    (cherry picked from commit c5e8f6700bf4c50cd273ed2f6c476c66557ccc37)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8014>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=317526ec2f485807261ef2249b1b5a165740ee31
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed Nov 11 09:20:52 2020 +0100

    radv: don't count unusable vertices to the NGG LDS size
    
    Ported from RadeonSI.
    
    To get optimal LDS usage since the previous change.
    
    Cc: 20.2
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    (cherry picked from commit f777d00a756d72cc01571ca94efa8afa3784fd4e)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8014>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b1ee981570854dce6936c2359bbbc793a86d710
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Thu Nov 26 10:39:23 2020 +0100

    radv: disable SQTT support for unsupported GPUs
    
    Like GFX10.3 which is currently broken.
    
    Cc: 20.2 20.3
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    (cherry picked from commit b589df98622c811b397e6579358b2a51cff8a5ac)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8014>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ae373152aebdef7e09520f2a57e0c3b344fb709
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Thu Nov 19 12:00:23 2020 +0100

    radv: ignore other blend targets if dual-source blending is enabled
    
    Using more blend targets than specified by maxFragmentDualSrcAttachments
    is invalid per the Vulkan spec.
    
    I'm usually not a fan to workaround game bugs inside the driver but
    it's really easy for us to ignore MRT1+ in the driver and that
    prevents wrong behaviour.
    
    Cc: 20.2, 20.3
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    (cherry picked from commit bc7f442d8e03919cf7f8e6a470b3c0406e11a1f9)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8014>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=67a3b8ec2365c01b31f8a7c9210bdbd05f607e69
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Tue Nov 17 17:14:49 2020 +0100

    aco: fix combining max(-min(a, b), c) if a or b uses the neg modifier
    
    No fossils-db changes.
    
    Cc: 20.2, 20.3
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Rhys Perry <pendingchaos02 at gmail.com>
    (cherry picked from commit 0fcd379184d658285f3313c5c4026253e0ec6930)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8014>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd7ccbf214de8f92c447969683c3f84e8469c5f4
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Tue Dec 8 12:45:23 2020 +0100

    zink: fail if set failed to create
    
    Fixes: a03d17ede77 ("zink: refcount zink_gfx_program objects")
    
    Acked-by: Adam Jackson <ajax at redhat.com>
    Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7985>
    (cherry picked from commit 8a30ac49ac72275d4b123807fceb175658203f95)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd01bc1f681a4a43bbe0519827c1ad708eece273
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Wed Dec 9 13:51:48 2020 +0100

    radeonsi: fix si_get_draw_start_count count value
    
    Fixes: 0ce68852c1a ("radeonsi: implement multi_draw but supporting only 1 draw")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3932
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8004>
    (cherry picked from commit 5eda9673b2347aa33713790b3a04b8363862db2f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4691bc5d2018304107a0d83f52722558180911f2
Author: Michel Dänzer <mdaenzer at redhat.com>
Date:   Wed Dec 9 11:02:09 2020 +0100

    ci: .lava-test:amd64 template needs arm_build
    
    It uses the arm_build image, but didn't depend on the job which ensures
    it exists. So jobs using the template could run before the arm_build job
    had finished, and fail if the image didn't exist.
    
    Fixes: 6c8b921572a5 "ci: Build kernels and rootfs for x86 devices"
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3632
    Reviewed-by: Andres Gomez <agomez at igalia.com>
    Reviewed-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8003>
    (cherry picked from commit 5d073b5aa160adfe4c5e0b388bd199741f4893d8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c763926c7632aea9c60f54f44d0e86d7ba33aa86
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Wed Nov 4 11:11:41 2020 +0200

    anv: fix calculation of buffer size in case dynamic size is used
    
    VK spec got clarification about the pSizes parameter.
    
    Fixes set of new tests:
       dEQP-VK.pipeline.extended_dynamic_state*with_offset*
    
    v2: move offset subtract to be part of size calculation (Jason)
    
    CC: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3871
    Fixes: b9a05447a19 ("anv: dynamic vertex input binding stride and size support")
    Signed-off-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/7439>
    (cherry picked from commit 5998a6543a6f3116b6c77ace4f9bcde382e90138)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0d212c856d05303d5cf376851ace1ba16d0d020
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Thu Dec 10 12:40:06 2020 -0800

    .pick_status.json: Update to cf3fc79cd0ab55776bbbabe76237c272ab07133e

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=18fd2554021f16a70b6a83a1afa1a52cfb22d8c8
Author: Jonathan Marek <jonathan at marek.ca>
Date:   Wed Dec 2 23:23:20 2020 -0500

    turnip: no linear_to_srgb for alpha channel for gmem clear value packing
    
    Alpha channel is always linear (oops).
    
    Fixes: ddac5933f8f3 ("turnip: call packing functions directly for pack_gmem_clear_value")
    
    Signed-off-by: Jonathan Marek <jonathan at marek.ca>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7899>
    (cherry picked from commit d7ea266e6f5cdcde5dd880839a057afaa560e97e)
    
    Conflicts:
    	.gitlab-ci/deqp-freedreno-a630-fails.txt

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d24ae64c9f56e92247a4c1651dbeb42ce0161bc
Author: Nanley Chery <nanley.g.chery at intel.com>
Date:   Tue Dec 8 10:27:14 2020 -0800

    iris: Fix resource ptr in resolve_sampler_views
    
    Use the sampler view's iris_resource instead of its pipe_resource. For
    stencil views of a depth-stencil resource, this enables the stencil
    resource to cause a depth cache flush when needed.
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3287
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7996>
    (cherry picked from commit 1f7427f97216ce63308e810c79b0280a69ef43fc)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f485f1e8f86c47b63ad7eeffe62315acc01e991
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Dec 9 11:33:16 2020 -0800

    softpipe: Fix swizzled texture gather of int textures.
    
    We need to pick 1u vs 1.0f based on the type of the texture, just like for
    normal samples.  Move the decision up to the create_sampler_view, and use
    that value from both sampler paths.
    
    Cc: mesa-stable
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8012>
    (cherry picked from commit 4ba884b8140fc64d433959cbe9ef46fa12f4fd07)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4e05bd1d134428dd7014f36f260c4cda988077f8
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Mon Nov 30 11:07:33 2020 +0100

    panfrost: Fix fencing
    
    Commit 64d6f56ad26f ("panfrost: Allocate syncobjs in panfrost_flush")
    aimed at optimizing the fencing logic but it looks it also broke the
    fence-based synchronization in subtle ways.
    
    Indeed, now that the fence only waits on a single syncobj, we're not
    guaranteed that all jobs queued in panfrost_flush_all_batches() will
    be done when the fence is signaled, because jobs at the top level
    (those stored in the batches hashmap) have not inter-dependencies.
    
    Commit 9e397956b092 ("panfrost: signal syncobj if nothing is going to
    be flushed") made this even more apparent by signaling the fence right
    away if nothing was left to be drawn in the current context, thus
    ignoring any of the batches left to flushed in the ->batches map.
    
    If we want to keep relying the existing kernel APIs there's clearly no
    ideal solution here. We can either go back to the original fencing
    mechanism where each fence contained an array of syncobjs to be tested
    or serialize jobs that have no explicit dependencies so we know the last
    submitted job will also be the last one to return. The orginal approach
    has proven to add quite a significant overhead (caused by the amount of
    ioctls and the time spent in kernel space to gather dma fences attached
    to those syncobjs and test them). So let's go for the simple solution
    where we have a single syncobj bound to the context which we update to
    point to the last job out_sync every time we submit a top-level job.
    
    This approach implies reworking the way we create fences since we
    need to capture the syncobj state at the time the fence is created.
    Unfortunately, there's not SYNCOBJ_CLONE ioctl, which forces us to
    export/create/import a fence so we have a new object that's not
    subject to changes done to the context syncobj.
    
    If we want to further optimize the logic, we should probably explore
    some of those options:
    
    1/ Adding array based SYNCOBJ ioctls (SYNCOBJ_{CREATE,DESTROY,CLONE}_ARRAY)
       so we can mitigate the cost of ioctls when we need to manipulate
       arrays of syncobjs
    2/ Support synchronization jobs. That is, jobs that have a NULL job chain
       but an array of sync_in and a sync_out to allow creating
       synchronization points
    3/ Add syncobj aggregators so we only have to wait on one syncobj from
       userspace. The syncobj aggregator would wait for all sub syncobjs to
       be signaled before signaling the top-level one.
    
    Fixes: 64d6f56ad26f ("panfrost: Allocate syncobjs in panfrost_flush")
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7831>
    (cherry picked from commit 29f938a0ece889cd3236fca7e008bf0031de4be2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=93ac6a935fe01a64822b403352b3ebd470b1d507
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Mon Nov 30 10:23:32 2020 +0100

    panfrost: Make sure we always add a reader -> write dependency when needed
    
    We shouldn't reset the ->writer field when a reader comes in because we
    want subsequent readers to have a dependency on the writer too. Let's
    add a new field encoding the last access type and use it to replace the
    writer != NULL test.
    
    Reported-by: Roman Elshin
    Fixes: c6ebff3ecdde ("panfrost: Remove panfrost_bo_access type")
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7831>
    (cherry picked from commit 387221e4f2b9339633f84d8b91774ddd302ed60a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c86552291247f00f85654b7bc0d0bdd1edd13c86
Author: Andrii Simiklit <andrii.simiklit at globallogic.com>
Date:   Mon Nov 30 20:15:10 2020 +0200

    iris: update depth value for stages after fast clear depth
    
    This should fix an outdated depth value visible from the shader side.
    
    v1: (Nanley Chery)
    - fix commit message
    
    v2: (Nanley Chery)
    - replace `fixes` tag by `mesa-stable`
    
    Closes: #3883
    Cc: 20.3 20.2 <mesa-stable>
    Reviewed-by: Nanley Chery <nanley.g.chery at intel.com>
    Signed-off-by: Andrii Simiklit <andrii.simiklit at globallogic.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7838>
    (cherry picked from commit bdd09066fa5f022daa0428325a04a52d66b5e41b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c20c50e6efc415d6234d03de07e7a5a2439f7ddf
Author: Mauro Rossi <issor.oruam at gmail.com>
Date:   Mon Dec 7 23:26:30 2020 +0100

    android: spirv: fix '::' typo in gen rules
    
    among all Android gen rules '::' was used only here to declare dependencies;
    mesa development and stable branch are worth receiving the fix
    
    Fixes the following building errors with Android 7:
    
    obj/STATIC_LIBRARIES/libmesa_nir_intermediates/spirv/gl_spirv.P:184: *** target file
    gen/STATIC_LIBRARIES/libmesa_nir_intermediates/spirv/vtn_generator_ids.h' has both : and :: entries.  Stop.
    
    Cc: "20.3" <mesa-stable at lists.freedesktop.org>
    Fixes: 1070bba19e26 ("android: fix SPIR-V -> NIR build")
    Reported-by: youling257 <youling257 at gmail.com>
    (cherry picked from commit 185df8ef07f92ae3e89b3aec912cc5259904ab50)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9dbeb597f3d3d2c32863a59003821a9f61a957e
Author: Jonathan Marek <jonathan at marek.ca>
Date:   Thu Dec 3 00:05:37 2020 -0500

    turnip: always set LRZ registers to zero for 3d clear/blit
    
    Apparently LRZ will be read/written regardless of depth being enabled or
    not, so we have to make sure these registers are zero.
    
    Fixes: 1d83f5ae8435 ("turnip: disable LRZ on vkCmdClearattachments() 3D fallback path")
    
    Signed-off-by: Jonathan Marek <jonathan at marek.ca>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7899>
    (cherry picked from commit fa16e66a3f4bf6f7eaef82c1770239be9dd824da)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e9407a0a4f8dfe5f22ba466169c4b1c9e6f77730
Author: Jonathan Marek <jonathan at marek.ca>
Date:   Thu Dec 3 00:03:14 2020 -0500

    turnip: move up LRZ invalidate in CmdClearAttachments
    
    There is an early return if cmd->state.predication_active is true, so do
    the LRZ invalidate before that.
    
    Fixes: 2f79e0066405 ("turnip: disable LRZ on vkCmdClearAttachments()")
    
    Signed-off-by: Jonathan Marek <jonathan at marek.ca>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7899>
    (cherry picked from commit f24358e002de645388852dd85aee4b9b0d3d7652)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c32042db771b0044dcad3dfb60edb7aba82248e
Author: Jonathan Marek <jonathan at marek.ca>
Date:   Wed Dec 2 23:32:13 2020 -0500

    turnip: always emit LRZ draw state in DIRTY_DRAW_STATE path
    
    The packet size is constant and assumes all states, except for the 2 input
    attachment states. (this means we get an invalid packet if DIRTY_LRZ isn't
    set when DIRTY_DRAW_STATE is set).
    
    Fixes: 3c07a1499863 ("turnip: enable LRZ")
    
    Signed-off-by: Jonathan Marek <jonathan at marek.ca>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7899>
    (cherry picked from commit af6e74bca86823be63907ec91549ff9f8e88f6fb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=51e8c7ec9a250908c8e19933a1830d27f9141dc0
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed Dec 9 19:09:55 2020 -0800

    .pick_status.json: Update to 3f0da800eb4b8184c24707c52d5a519abe948898

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a8d5e57590b6198dfebd2c6a20d288545718b22d
Author: yshi18 <yang.a.shi at intel.com>
Date:   Thu Dec 3 13:54:14 2020 +0800

    iris: fix memleak for query_buffer_uploader
    
    In the Chrome WebGL Aquarium  stress test, 20 instances of Chrome will run
    Aquarium  simultaneously over 20+ hours. That causes Chrome crash.
    During the stress, glBeginQueryIndexed is called frequently.
    
    1.Each query will only use 32 bytes from query_buffer_uploader. After the offset
    exceed 4096, it will alloc new buffer for query_buffer_uploader->buffer
    and release the old buffer.
    
    2.But iris_begin_query will call u_upload_alloc when the offset changed, and it
    will increase the query_buffer_uploader->buffer->reference.count every time
    when it called u_upload_alloc.
    
    3.So when u_upload_release_buffer try to release the resource of
    query_buffer_uploader->buffer, its reference.count is
    already equal to 129. pipe_reference_described will only decrease its reference
    count to 128.So it never called old_dst->screen->resource_destroy.
    
    4.The old resouce bo will never be freeed. And chrome will called mmap every time
    when it alloc new resource bo.
    
    5. Chrome process map too many vmas in its process. Its map count exceed the
    sysctl_max_map_count which is 65530 defined in kernel.
    
    6. When iris_begin_query want to alloc new resource bo, it will meet NULL pointer
    because mmap return failed. Finally chrome crashed when it access this NULL resource
    bo.
    
    The fix is decrease the reference count in iris_destroy_query.
    
    Patch is verified by chrome webgl Aquarium test case for more than 72 hours.
    
    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Signed-off-by: Yang Shi <yang.a.shi at intel.com>
    Reviewed-by: Alex Zuo <alex.zuo at intel.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7890>
    (cherry picked from commit 3aaac40b12bf683cb30ea30e35af02d56de9df90)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c83ec979f58974dd769a1caa10b402bbee5c7d2
Author: Jonathan Gray <jsg at jsg.id.au>
Date:   Tue Aug 4 17:22:32 2020 +1000

    aco: use UINT64_C on 64 bit constant arguments
    
    avoids errors seen when building on OpenBSD/amd64
    
    ../src/amd/compiler/aco_instruction_selection.cpp:1677:62: error: ambiguous conversion for functional-style cast from 'unsigned long' to 'aco::Operand'
                bld.vop3(aco_opcode::v_mul_f64, Definition(dst), Operand(0x3FF0000000000000lu), tmp);
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    glibc uses unsigned long for uint64_t on LP64 archs and unsigned long long for
    uint64_t on ILP32 archs.  On OpenBSD unsigned long long is used for uint64_t
    on all archs.
    
    The Operand constructors are uint8_t uint16_t uint32_t uint64_t
    use UINT64_C so lu or llu suffix will be used as needed.
    
    Fixes: df645fa369d ("aco: implement VK_KHR_shader_float_controls")
    Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
    Reviewed-by: Tony Wasserka <tony.wasserka at gmx.de>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7944>
    (cherry picked from commit ebfb9e181737e7ff7be638134410b919145a0f95)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c2b29e3ac36194220c45eeafa37569a573ca84a
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Mon Dec 7 12:38:46 2020 +0100

    radv: disable alphaToOne feature
    
    The feature was exposed but completely ignored by the driver. Other
    AMD drivers don't expose it as well, probably because it's complicated
    to implement alpha-to-coverage properly. Let's disable it.
    
    Cc: 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/7966>
    (cherry picked from commit 59b1578176a786e3c226c0b2b53fed378812288e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee83c989f6bb3becb9df608d015bba22f06038df
Author: Witold Baryluk <witold.baryluk at gmail.com>
Date:   Mon Dec 7 20:30:32 2020 +0000

    zink: Cap PIPE_SHADER_CAP_MAX_CONST_BUFFERS to 32
    
    PIPE_MAX_CONSTANT_BUFFERS is 32, however many Vulkan implementations
    has maxPerStageDescriptorUniformBuffers that exceeds it, for example:
    
    radv 8388606,
    anv 64
    nvidia 1048580 for RTX 2000 and up.
    
    and, together with the current zink logic, the returned value
    will exceed the maximum allowed value for the cap.
    
    This causes cso_destroy_context to pass big values back to zink
    (via zink_set_constant_buffer), resulting in access beyond end of
    allocated buffer for all UBOs.
    
    Cap the cap to PIPE_MAX_CONSTANT_BUFFERS (32), not INT_MAX.
    
    Add an assert to verify future drivers.
    
    Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
    Fixes: daaf5f1d186 ("gallium: Fix leak of currently bound UBOs at CSO context destruction.")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7976>
    (cherry picked from commit e2b4247e403957ebd9767b2e8700442306c7e7c6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c5ffe9e0f2a0559a5d726b7a2c0c4ead8d37200e
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Mon Dec 7 12:27:23 2020 +0100

    zink: fix channel ordering in format-mapping
    
    This looks like a typo. Packed vulkan formats should always map to the
    inverse order of the corresponding gallium notation. Besides, it makes
    no sense that unsigned and signed formats have different ordering.
    
    Fixes: cdfb1d925f3 ("zink: add last few format maps for ARB_vertex_type_2_10_10_10_rev")
    Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7964>
    (cherry picked from commit 8bb4a76addd0f0a48585ba9a4a30d6bbc5acec80)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=17ef9b55d09020bc0b795e309b9f71fdd72315ae
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Mon Dec 7 17:42:43 2020 +0100

    gallium: do not reset buffers for unsupported stages
    
    There's no good reason why drivers that doesn't grok geometry,
    tesselation or compute shaders needs to deal with them.
    
    This fixes a crash on a lot of Piglit tests for Zink.
    
    Fixes: daaf5f1d186 ("gallium: Fix leak of currently bound UBOs at CSO context destruction.")
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7971>
    (cherry picked from commit 3abac03d49b5dc4a6642fe0637da5a19ad60dd4f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d77d3caeca64be6ee25a10f36ed72355720c2be7
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Tue Dec 8 09:46:54 2020 -0800

    .pick_status.json: Update to f93b7d14d66d8ba70d44772d1a1b6696310b7d17

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0cde14200a49b15c4f17ab1637cb6c4caaa2296b
Author: Michel Dänzer <mdaenzer at redhat.com>
Date:   Thu Dec 3 18:11:00 2020 +0100

    ci: Drop x86_build_old image
    
    Currently not used for anything.
    
    v2:
    * Drop build script as well (Eric Anholt)
    
    Fixes: a3543adc2628 "clover: set LLVM min version to 8.0.1"
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7902>
    (cherry picked from commit 42bc6db7e71c348594277af58975467c54eb2b19)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3bfb017189892895e980282f27641fcf248da3e
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Fri Nov 27 15:29:34 2020 +0100

    radv: fix exporting multiviews with NGG
    
    If a subpass uses multiview but the fragment shader doesn't load it
    we still have to export it.
    
    Cc: 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/7815>
    (cherry picked from commit fadcf13c8bad5bc07e7fffaca7197adda66b4bd7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=33c288361c2f1ded072a4207459ab159ca64c171
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Fri Dec 4 09:29:43 2020 +0100

    radv: mark GFX10.3 as a non-conformant Vulkan implementation
    
    In theory, GFX10.3 is not considered to be a conformant Vulkan
    implementation because we didn't submit a conformance submission
    package.
    
    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/7913>
    (cherry picked from commit 5cacb56041d1acbbff162509d0635ba465b80df6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=44bed805065f40ef89e4a8bd92a7be794e6531ee
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Dec 7 09:47:35 2020 +1000

    radeonsi: fix regression on gpus using the radeon winsys.
    
    For GPUs using the radeon kernel driver, num_se was never
    getting initialised.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3939
    Fixes: f2977a162af4 ("ac: fix min/max_good_num_cu_per_sa on gfx10.3 with disabled SEs")
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7954>
    (cherry picked from commit 7c075bae56e45f268e62efcd82589111bce92ae3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dfadf838aef2a232e2f900c47ea0e88de0ef6d0e
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Tue Nov 10 18:17:57 2020 -0800

    meson: Fix Clang microsoft-enum-value detection.
    
    Fixes: 3aee462781a ("meson: add windows compiler checks and libraries")
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7543>
    (cherry picked from commit bb46a010bbe9f703ff9d48e450dbd6529906b8e9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=03e8cc7ca9bc25f58e95effab9c01467643d7f62
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Mon Dec 7 09:17:49 2020 -0800

    .pick_status.json: Update to ec3828add38a83b8c09fd5896265abc9d766162e

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=13e7057e7901b14672135dae8dcf59325fc2bc7b
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Thu Dec 3 19:55:10 2020 +0000

    aco: don't assume src=lower when splitting self-intersecting copies
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Fixes: 09c584caeb2 ("aco: split self-intersecting copies instead of swapping")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7798>
    (cherry picked from commit 2c40846ab6f8bf161dc79ed99b51702055c6d538)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd95f95dc56bbd512d4fe26e84e5e3df14da2f3e
Author: Marcin Ślusarz <marcin.slusarz at intel.com>
Date:   Wed Dec 2 14:40:02 2020 +0100

    iris: store copy of the border color in the border color hash table
    
    Color can be allocated on the stack since 809a81ec3a0.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3909
    Fixes: 809a81ec3a0 ("iris: Properly support alpha and luminance-alpha formats")
    
    Debugged-by: Filip Strömbäck
    Signed-off-by: Marcin Ślusarz <marcin.slusarz at intel.com>
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7885>
    (cherry picked from commit 90515f90c8523bbf637a4dfdbce959adc45b4834)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=03802858b47b4a1187f33c163eebe8ed5fcbb916
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Fri Dec 4 11:11:09 2020 -0800

    .pick_status.json: Update to 72b68bd2a62d193e26bd6b31123182d7dbae3098

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec22eb7efbc5a12c45825e47ed9f9a72c0a9809e
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Thu Dec 3 10:42:52 2020 -0800

    .pick_status.json: Mark a5e0a2e101bcda0132185a82c3e8c9b4c90ce94c as denominated

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9465b0eb8cae3cdd1c81943f1772d4ec56aecaff
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Thu Dec 3 10:35:11 2020 -0800

    .pick_status.json: Update to 872c4bcd27db7b7ca26abe9fc090ae26d502156f

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a8650e972300d078c91413983007a4b26ce3fc86
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Thu Dec 3 10:22:55 2020 -0800

    docs: Add sha256 sums for 20.3.0



More information about the mesa-commit mailing list