Mesa (22.1): 66 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed May 18 19:31:27 UTC 2022


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=01113c2eaae946af38342a4fd4711fa9c908b71a
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed May 18 12:30:40 2022 -0700

    VERSION: bump for 22.1.0 final

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1d60c8701024ff5f3e12eb0f763fcb1eeb6ef2ed
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed May 18 12:30:26 2022 -0700

    docs: add release notes for 22.1.0

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f1b085cd6983aeec24f431079dadff448ba58ecf
Author: Jonathan Gray <jsg at jsg.id.au>
Date:   Wed May 4 20:30:13 2022 +1000

    intel/dev: add RPL-S pci ids from drm-intel-next
    
    from Tejas Upadhyay 'drm/i915: Add RPL-S PCI IDs' in drm-intel-next
    
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    (cherry picked from commit 0cfc01fe835fe727e9ff7485fd6b5c8180bfd7b7)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16337>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=39636a083e84264c626b667204171f44de835968
Author: Jonathan Gray <jsg at jsg.id.au>
Date:   Wed May 4 16:52:08 2022 +1000

    intel/dev: sync ADL-S pci ids with linux
    
    sync ADL-S pci ids with linux
    c79b846f892d ("drm/i915/adl_s: Update ADL-S PCI IDs")
    
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    (cherry picked from commit 3cc1efee6f9be11a2243ec4929ac8362197e26d6)
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16337>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8894522f413e831bae2c63138ce9fc90f9a4d863
Author: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Date:   Thu Feb 24 07:34:09 2022 +0100

    ci: Disable jobs to the Collabora lab
    
    In anticipation of infrastructure work.
    
    This commit is to be reverted later in the day.
    
    Signed-off-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16576>
    (cherry picked from commit 224544dc33c60b933b379eef067058ad31ef7bae)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b8be90b8b4590d2017997a2ad800da505062f985
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue May 17 13:51:49 2022 -0700

    Revert "st/mesa: Transcode ASTC to BC7 (BPTC) where possible"
    
    This reverts commit 68ef895674b176b4faf875a4d7f4d787b330d4d9.
    
    When trying out transcode_astc=true with BPTC on Asphalt 9, we observed
    very poor image quality - to the point that basic UI icons were blocky,
    and buttons with a black border had smeared pixels on the edges.  Using
    DXT5 had no such issues.
    
    I originally suspected there was a bug in the BPTC encoder, but I now
    believe the issue is deeper than that.  The commit that introduced the
    encoder, 17cde55c538009764207bd29b78a909d2c5d14b4, says:
    
       "The compressor is written from scratch and takes a very simple
        approach.  It always uses a single mode of the BPTC format (4 for
        unorm and 3 for half-floats) and picks the two endpoints by dividing
        the texels into those which have more or less than the average
        luminance of the block and then calculating an average color of the
        texels within each division.
    
        It's probably not really sensible to try to use BPTC compression at
        runtime because for example with the Nvidia offline compression tool
        it can take in the order of an hour to compress a full-screen image.
        With that in mind I don't think it's worth having a proper compressor
        in Mesa and this approach gives reasonable results for a usage that
        is basically a corner case."
    
    In other words, the reason our BPTC compressor was so fast is that it
    only implements one of the modes and does a low quality approximation.
    This honestly should probably be improved somewhat, but the original
    use case was for online-compression, the uncommon but mandatory OpenGL
    feature where you can supply uncompressed data and trust the driver to
    compress it for you (at unknown and uncontrolled quality and speed).
    
    Unfortunately, the compressor as it stands is simply not usable for
    transcoding ASTC data where we want to preserve the underlying image
    quality as much as possible.
    
    Reviewed-by: Emma Anholt <emma at anholt.net>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16566>
    (cherry picked from commit c54555c496aea12d280ac6e882e81d3d69673e98)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e42164124f92f3f98f8edcc965b04127f353f814
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed May 18 11:04:51 2022 -0700

    .pick_status.json: Mark b18448e7acfc765ee95505c7cd5e2ce6e6fc36cc as backported

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f743f0b45131067fe519a2b5de5856d42acdb1dc
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed May 18 11:04:49 2022 -0700

    .pick_status.json: Mark 5e4009fe6c91c34a7cdf8c16aa5aa53c3ff41222 as backported

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=84b62db7ed9e5184af41638bdd8768723940c2a4
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed May 18 11:04:46 2022 -0700

    .pick_status.json: Mark 7aee9f12b9c1f17ae2662c8043c8679ce698b731 as backported

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3388defe64bc4695cdee7670147b276b45edcec0
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed May 18 11:04:43 2022 -0700

    .pick_status.json: Mark 9924fecee6412f1cad65d7d7347681856e3a525c as backported

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb2fed99ade5a2b6e27755d1df3546ca9e19b7a2
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed May 18 11:04:42 2022 -0700

    .pick_status.json: Mark 7057a363591279c3f65a3c4af41687e6f8142649 as backported

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=059a8627f30325fe27f7c2a1433c35ee3ef065df
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed May 18 11:04:39 2022 -0700

    .pick_status.json: Mark b6eec12327b65038dd56742dbe272c21c63a3844 as backported

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4201c10499e060860decf0eba76b6f4ce46bd57
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed May 18 11:04:36 2022 -0700

    .pick_status.json: Mark 1c17502ab38a238efe5d9aa4bc0ff07c967adb80 as backported

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ecbe45f37f5d6f9befd7485639a51fbe8226ee8
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Wed May 18 11:04:31 2022 -0700

    .pick_status.json: Mark 07efe6f129956d0cce0fb167d08b5f8af25d0c95 as backported

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8ca2e102e427dce72d1658b7f7efa3223f17518
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Apr 13 22:59:12 2022 -0700

    iris: Add FLUSH_HDC to PIPE_CONTROL_CACHE_FLUSH_BITS
    
    This is considered a bottom-of-pipe flush bit.
    
    Fixes: a969ad1ddfd ("iris: Demote DC flush to HDC flush in cache tracker")
    Reviewed-by: Francisco Jerez <currojerez at riseup.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16565>
    (cherry picked from commit b8799a499e5cd9d97e7efd720548d59a8a33e4f8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c53c943f0373294177f069b7a3fddb848c5c0d7
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu May 5 12:43:25 2022 +1000

    meson: add build-id to pipe libraries
    
    Without this the cache setup was crashing with CL and the dynamic
    pipe libraries.
    
    Reported and debugged on irc by consolers
    
    Cc: mesa-stable
    Acked-by: Karol Herbst <kherbst at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16341>
    (cherry picked from commit 74976640b3803d2ac7dab91e7d57d7b6383e06c4)

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

    .pick_status.json: Update to 29a8f1f03bed317370e07288fd9d4b85a24562e6

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea55add4059804095d5958d66e92641b9ca66daa
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Tue Apr 26 09:02:57 2022 -0400

    zink: fix non-dynamic vertex stride update flagging
    
    without dynamic vertex input, pipeline vertex state must be recalculated
    if buffer strides change or the enabled buffer mask changes in order
    to accurately handle dynamic state stride VUs
    
    cc: mesa-stable
    
    fixes:
    spec@!opengl 1.1 at array-stride
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16563>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b7d48604c3c45f1a1de22c327cf36f166e42a24a
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu Apr 21 13:10:37 2022 -0400

    zink: handle PIPE_BUFFER sparse texture queries
    
    this is legal but was never handled
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16563>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=15c79f91c06d5c182c31444a829a3e975bc4d2f9
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu Apr 21 13:09:46 2022 -0400

    zink: clamp 1D_ARRAY sparse textures to 2D as needed
    
    forgot to handle this case
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16563>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e3fb25dacb5a046e96bd04b564659cbea859fb90
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Apr 20 13:51:13 2022 -0400

    zink: force render target usage for sampler-only resources
    
    these might hit u_blitter later, which will require rt usage
    to handle texture views, so add rt usage now to avoid failing later
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16563>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d3642a5dc68e8d3432ab0ce7c8b0829e18b1b99f
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Apr 20 15:07:03 2022 -0400

    zink: fix surface/bufferview cache comparisons
    
    these caches ignore pNext from the create info since the pNext cannot
    affect the eventual object that is created, so comparing it will break
    the hash table
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16563>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6c790f145dd0e7cece957453e6070008a96f8844
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Apr 20 13:29:52 2022 -0400

    zink: add extended usage and retry if resource creation fails
    
    this is one of those cases where some bizarro format is being created
    for sampling only, but gallium blasts out all the bind flags at once
    
    trust that we're not going to do anything too crazy and let surface
    usage pruning handle the rest
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16563>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5bc14505a52839b24ffe7046043bc4302cfe4196
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Apr 20 13:28:09 2022 -0400

    zink: remove input attachment usage when pruning surface usage
    
    if the format doesn't support color attachment, it doesn't need to
    be an input attachment
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16563>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=73c79f3cc14c629beb4ffeac01559d5c29cc2925
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Apr 20 12:57:47 2022 -0400

    zink: add extra validation for resource creation
    
    check image params against driver's returned limits to avoid
    failing later
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16563>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d27ca6402625d7f96336b419e1913b6b7ee7e4f
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri Apr 15 11:17:48 2022 -0400

    zink: add separate error message for push descriptor set alloc fail
    
    PRO triggers this if input attachments are used
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16563>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fcfbcd005399ff4082600cc466c0f69f8d0946e3
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Apr 20 09:45:51 2022 -0400

    zink: only reject non-blittable resource creation if it has no other binds
    
    the idea here is that if a resource is intended to be used solely as a rendertarget
    and can't be blitted to or drawn to, then resource creation should fail
    
    but if the resource might be e.g., a texture, then it can probably hit the subdata
    path and be fine
    
    Fixes: 37ac8647fca ("zink: reject resource creation if format features don't match attachment")
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16563>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c3c6c221c7b00c2b3496d82d7a1d09086a11f7ee
Author: xperia64 <xperiancedapps at gmail.com>
Date:   Tue May 17 19:46:20 2022 -0400

    wgl: Add driver_zink as a dependency of the wgl frontend
    
    Fixes: 01ed71f9451 ("wgl: support kopper")
    
    Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16569>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa325e152759b8235b8590d97417bcdab103ed07
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Tue May 3 19:14:00 2022 -0400

    zink: never create a sw context unless sw is requested
    
    this otherwise makes it impossible to accurately do hardware driver
    fallback, as zink will create a sw context instead of failing, superceding
    the actual sw driver priorities
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16572>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=717d494d3110621fc98b7d6bbba8621d87eb6b86
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Fri May 13 14:31:53 2022 +0200

    glx: set max values for pbuffer width / height
    
    Without this change the values are always 0. This breaks
    Maya which uses this value to create a pbuffer (and then
    fails).
    
    This commit is based on b91e1e38e87 which does the same
    for EGL.
    
    Cc: mesa-stable
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Reviewed-by: Adam Jackson <ajax at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16496>
    (cherry picked from commit 8779a5b84cefba11a8644be295973150ab3d630f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=529c1c2b26d777ef9a94538f8d065eece40fc661
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed May 11 16:01:48 2022 -0400

    spirv: fix barrier scope assert
    
    glslang generates barriers with QueueFamily, so this is totally legal
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16462>
    (cherry picked from commit 8c8e6e953f0ecb2e7e71a2311e5fc76860a57be8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9671505fe5394ddd40f72719d8573f6261ff2a2d
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed May 11 13:06:11 2022 -0400

    lavapipe: fix pipeline handling for dynamic render zs state with pipeline library
    
    this is slightly more nuanced: if this is ONLY a fragment state,
    pDepthStencilState must exist, but if it's BOTH fragment and output,
    then pDepthStencilState must only exist if zs attachment is used
    
    Fixes: d4d5a7abba7 ("lavapipe: implement EXT_graphics_pipeline_library")
    
    Acked-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16457>
    (cherry picked from commit 5f83571f9232a82315d800db7e5ea3ded23ce54c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4776f076ec85f88d1df2e2d897e116ebb0df77da
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu May 12 11:43:51 2022 -0400

    lavapipe: ignore depth/stencil states if attachment is not present
    
    depth and stencil states should only be set if the corresponding attachment
    is present, otherwise they should be ignored. this is different from
    ignoring the entire VkPipelineDepthStencilStateCreateInfo struct, as
    it's possible that only depth or only stencil may be present
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16457>
    (cherry picked from commit 0b2d383316af7efa6f970db5b8517a55a32dedf2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6319554a28abdd61546a63beec1788892f5a54f0
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Tue May 17 10:27:26 2022 -0700

    .pick_status.json: Update to 07eba9a15a06ceda3469892822e8b539effc6788

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6009c3fe99236fafc2ded379da2a8ee0bf808b8
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed May 11 18:22:46 2022 -0400

    radeonsi: fix a crash when failing to create a context
    
    When shader_query_buffers is NULL, the code treated as as non-empty.
    
    Fixes: 792a638b032d "radeonsi/gfx10: implement streamout-related queries"
    
    Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16466>
    (cherry picked from commit 6515b3b2dc0f4fed6faea8988137d09b0fd67f21)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=36429346129e3484ce8973b1c7b588c74ec79fe0
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri May 13 14:23:52 2022 -0400

    zink: directly reuse surface ivci when rebinding
    
    this is simpler and also fixes rebinding samplerviews which use
    a levelCount > 1
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
    (cherry picked from commit ca915c871fb6c489c32c25d08626997d5ffc0196)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ddded80510680e79ebb4c5df76e880f5dd380c0
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri May 13 11:44:43 2022 -0400

    zink: fix 3d shader image miplevel calc for depth
    
    without adjusting for miplevel here, the shader image might erroneously
    be created as a 2d view and/or assert
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
    (cherry picked from commit fa3d51892aa8b36e476bd07626f5f93d03e57f48)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=83c680e9800839919d29f6b8934affb37d003722
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri May 13 11:28:37 2022 -0400

    zink: stop leaking shader image surfaces
    
    the code here was fine for checking the base resource unbinds and whatever,
    but it never actually destroyed the surfaces/bufferviews created,
    which meant they were always being leaked
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
    (cherry picked from commit 1526df283c3659d510066f58b152597ea15913a0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=16a9904e6355c2cffcb79a394bc93774ad84847e
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri May 13 11:28:08 2022 -0400

    zink: copy incoming shader image struct after doing updates
    
    no functional changes
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
    (cherry picked from commit 2df1c061688c14d51ad3eeaab886bb7ae4a6172a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b927d3e41695aa2371a1f8aae8282c720dbe33d
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri May 13 11:25:30 2022 -0400

    zink: read shader image r/w usage from incoming data struct
    
    no functional changes
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
    (cherry picked from commit 32a77b1e255c5213124200076160902928a07830)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=308af4a479b2d8526a45ac3187cb364d5a5fd87f
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri May 13 11:23:10 2022 -0400

    zink: simplify dumb update flagging in set_shader_images
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
    (cherry picked from commit a3dff53487bceb42230d525daa9ac57694dc98a2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=78feb8286fa50d06f247fe7f8381117a3bb4f5d0
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri May 13 11:22:50 2022 -0400

    zink: reuse local res pointer in set_shader_images
    
    no functional changes
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
    (cherry picked from commit 22954b486067e08780ba5a1679edfbad7f23c45a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca4352581bad5e07a27388435dd61bb6a691670a
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri May 13 11:18:17 2022 -0400

    zink: remove refs from shader images
    
    these have implicit refs from the surface/bufferview that gets created,
    so adding a ref here is redundant and less performant
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
    (cherry picked from commit d0df4889707e94a7bae6a9f6b4092b00f1b42b2a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f77526a3b8cd576f691c71bf78e2a87b03202b79
Author: Jason Ekstrand <jason.ekstrand at collabora.com>
Date:   Thu May 12 13:59:30 2022 -0500

    nir: Preserve metadata if remove_dead_derefs makes no progress
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16482>
    (cherry picked from commit c23b20d43a03634bf528f9870cdd5b0159a69eb4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e8887c849d832e07c3c625ce885677e9c35ff8eb
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Mon May 16 10:05:09 2022 -0700

    .pick_status.json: Update to 5c90eb1c53f46e86717c6bf4d5253dd23c4dac1f

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=28264dd5c977d3e2b47a65b893bba8f26c672d20
Author: Victor Hermann Chiletto <v at hnn.net.br>
Date:   Fri May 13 02:53:18 2022 -0300

    radv: always check entry count in descriptor pool when allocating
    
    Previously this check was skipped for pools with
    VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT unset, but after
    96a240e1 we need to check this otherwise we risk overflowing
    radv_descriptor_pool::entries into the host memory base
    
    This fixes a crash to desktop when launching Dota 2, which overallocates
    descriptor sets and expects an error to allocate another descriptor pool
    
    Fixes: 96a240e1767 ("radv: fix memory leak of descriptor set layout")
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16490>
    (cherry picked from commit 580046e49faa88bb6d9c183f491f2779de1769f3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2cca7dce1ee15b4440e4050c2a3ece876fcca9dc
Author: Marcin Ślusarz <marcin.slusarz at intel.com>
Date:   Wed Apr 27 16:05:44 2022 +0200

    anv: disable streamout before emitting mesh shading state
    
    Fixes tests which use secondary command buffers.
    
    Fixes: ef04caea9b8 ("anv: Implement Mesh Shading pipeline")
    Reviewed-by: Caio Oliveira <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16493>
    (cherry picked from commit aa1c128b54b31580367d97107660c11cb94e0b98)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d7ef4f99da045aaad958efe5eac70e7ec397881b
Author: Marcin Ślusarz <marcin.slusarz at intel.com>
Date:   Thu Apr 21 17:26:52 2022 +0200

    anv: update task/mesh distribution with the recommended values
    
    Fixes: ef04caea9b8 ("anv: Implement Mesh Shading pipeline")
    
    Acked-by: Caio Oliveira <caio.oliveira at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16493>
    (cherry picked from commit f083df87108231005889b7af92f0cad7c61e1f81)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa9b7d349cf560700b2fb6ab15cfaca4446539dc
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu May 12 17:14:57 2022 -0400

    zink: remove implicit query resets
    
    this existed in order to reset query pools in advance so they
    would never overflow. now the pools are reset every time the query
    is started, so this behavior is no longer necessary
    
    fixes #6475
    
    Fixes: 57dd05616fa ("zink/query: rewrite the query handling code to pass validation.")
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16484>
    (cherry picked from commit 1c62c6bafd67d4b375464521a155a12addf9e01b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a21fe415350cdf5617966bed25cf1bba57e69158
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon May 2 15:03:47 2022 -0700

    anv: Fix INTEL_DEBUG=bat on XeHP
    
    We no longer emit STATE_BASE_ADDRESS in every batch on XeHP, so the
    decoder might not know what the various base addresses are if it's only
    looking at a single batch.  Fortunately, they also never change, so we
    can just emit them once here.
    
    On earlier platforms, initializing them here should be harmless.  We'll
    emit STATE_BASE_ADDRESS if we change them, which will update these.
    
    Thanks to Iván Briano for catching this.
    
    Fixes: 8831cb38aa9 ("anv: Stop updating STATE_BASE_ADDRESS on XeHP")
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16287>
    (cherry picked from commit ad537edc7c6826be1e69c1a7b8ec6c5754116e96)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cdc27459bf42e3fdd45876ad0287e09ab8cde47a
Author: Danylo Piliaiev <dpiliaiev at igalia.com>
Date:   Thu May 12 15:47:58 2022 +0300

    tu: Fix indices of drm_msm_gem_submit_cmd when filling them
    
    For some reason CTS doesn't trigger the issue...
    When submit entry is not filled - kernel says:
     [drm:msm_ioctl_gem_submit] *ERROR* invalid type: 00000000
    
    Fixes: dbae9fa7d8412252c96e53ef3d50f4349969928a
    ("tu: implement sysmem vs gmem autotuner")
    
    Signed-off-by: Danylo Piliaiev <dpiliaiev at igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16474>
    (cherry picked from commit 9a11ad7efd56d28e1c83aaec5cecb7fa7720fc90)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=87c98bed29f97d8f74239d2a7578981c81ce01fd
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed May 11 14:49:12 2022 +0200

    radv: disable DCC for Senra Kagura Shinovi Versus
    
    To workaround an issue with feedback loops in D3D9 with DCC in GENERAL,
    until we can fix it properly with a new extension.
    
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6469
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Martin Roukala <martin.roukala at mupuf.org>
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16452>
    (cherry picked from commit b5b2bcab543c62491d35fc838834625a136fea4c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c84a3436135d6fd19dd037745d7037c3fb85d55
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Sat Apr 30 02:01:52 2022 -0700

    intel/dev: Enable first set of DG2 PCI IDs
    
    Mostly Matt Roper's kernel patch commit message:
    
    The IDs added here are the subset reserved for 'motherboard down'
    designs of DG2. We have all the necessary support upstream to enable
    these now.
    
    The remaining DG2 IDs for add-in cards will be enabled in a future
    patch once some additional required functionality has fully landed.
    
    Ref: https://patchwork.freedesktop.org/patch/msgid/20220425211251.77154-3-matthew.d.roper@intel.com
    Cc: 22.1 <mesa-stable>
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16449>
    (cherry picked from commit ad565f6b70d9c4f2af34fe531d01ecf0eaa08500)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb91ddce0b3692cbc2fcab6c6f25e4d54e289b04
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Sat Apr 30 01:48:40 2022 -0700

    intel/dev: Add DG2 G12 PCI IDs
    
    Ref: https://patchwork.freedesktop.org/patch/483381/?series=103098&rev=1
    Ref: https://patchwork.freedesktop.org/patch/msgid/20220425211251.77154-3-matthew.d.roper@intel.com
    Cc: 22.1 <mesa-stable>
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16449>
    (cherry picked from commit 99354efe314a98906fd0ce0dc823dabbf66cd948)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=24626dca6b2f58afcc866d3e8bccd0e4bfcfd3f3
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Mon Nov 8 14:18:49 2021 -0800

    intel/dev: Add INTEL_PLATFORM_DG2_G12
    
    Cc: 22.1 <mesa-stable>
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16449>
    (cherry picked from commit 4456209ce54f174bbdb957f0c4c7ca20c94294d8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=96eb5bbbb7345b80912278bac2faf17fd9c4767a
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Wed May 11 14:57:13 2022 +0200

    amd: fix ac_build_mbcnt_add in wave32 mode
    
    add_src was ignored and i32_0 was always used.
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Reviewed-by: Timur Kristóf <timur.kristof at gmail.com>
    Fixes: 1e49018cedf ("amd: Add extra source to the mbcnt_amd NIR intrinsic.")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16427>
    (cherry picked from commit db2fd0ca83f4f2000eae87f4e7915d775833393a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=caf526716beeed7229a77212e6e4430d572d6d8d
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Mon May 9 22:20:12 2022 +0200

    radeonsi: don't use wave32 for GE on gfx10 if culling is used
    
    This is a workaround for issue #6457: it fixes the rendering and
    prevent the hang but I can't explain why.
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6457
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16427>
    (cherry picked from commit 1f3156460781d4ebd9dfb2ff6b9f176259cc5959)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9546233703a0181151d7815c8ee4192160483d39
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed May 11 16:59:31 2022 -0400

    zink: fix sparse texture depth calcs for arrayed textures
    
    use the array, not the depth
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16456>
    (cherry picked from commit 1126f42781d87162eb827794b7446b3619e067af)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b03a2c10e4f2204955b87b975df35273c3689107
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed May 11 10:05:03 2022 -0400

    zink: set sparse flag in cubemap lowering
    
    Fixes: 2d745904ca7 ("zink: add a gently mangled version of the d3d12 cubemap -> array compiler pass")
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16456>
    (cherry picked from commit 56979182dd81c30765d0d1566ef281ac028cc500)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c85d45c884592255ce27971693e3a4e00b7c0b51
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed May 11 16:03:16 2022 -0400

    zink: fix sparse binding for arrayed textures
    
    this needs to set the arrayLayer, not the z offset
    
    big thanks to Piers Daniell for catching this
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16456>
    (cherry picked from commit 377f5e7af958101160907f125a0349df8cec934a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=41967c9107429af69a532f13c106a9fb7a12d674
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed May 11 16:02:51 2022 -0400

    zink: clamp out min_lod operands for explicit lod ops
    
    this is illegal (and nonsensical)
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16456>
    (cherry picked from commit 63dc39ac9047fce206ac11b6e556b6e9a0f8a07b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2649b2c6313c476ab700430592bb839a1b321266
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed May 11 09:26:22 2022 -0400

    zink: fix up sparse texture sampling for shadow samplers
    
    the problem here is that this returns a vec2 instead of a vec5, which
    throws all the existing calculations off
    
    given that the shader is (still) expecting a vec2 return from this,
    and there's no way to sanely rewrite with nir to be valid for both
    sampler types as well as spirv translation, just pad out to a vec2
    here and be done with it
    
    Fixes: 73ef54e3424 ("zink: handle residency return value from sparse texture instructions")
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16456>
    (cherry picked from commit 88912b31119a14ffc99087781a17eeb4af202866)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b28c52e441cf5ff5120d8c982777238d1fcb4b5
Author: Danylo Piliaiev <dpiliaiev at igalia.com>
Date:   Mon May 9 20:28:28 2022 +0300

    pps: Open writable renderer node in DrmDevice::create
    
    DrmDevice::create_all correctly opened the node with O_RDWR, while
    DrmDevice::create was not, causing failure to create writable buffer.
    
    Fixes pps-config on Freedreno.
    
    Fixes: 1cc72b2aef82373247466c2e7b81970c867ad0fa
    ("pps: Gfx-pps v0.3.0")
    
    Signed-off-by: Danylo Piliaiev <dpiliaiev at igalia.com>
    Reviewed-by: Antonio Caggiano <antonio.caggiano at collabora.com>
    Reviewed-by: Rob Clark <robdclark at chromium.org>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16406>
    (cherry picked from commit 6bf4ae002aa252824ee3c80e485b16ae1ffd73a4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8a560a87b40b74d5e7be0fdf8c8627420b1ced76
Author: Danylo Piliaiev <dpiliaiev at igalia.com>
Date:   Thu May 5 20:29:05 2022 +0300

    tu: Do not flush ccu in clear/blits during renderpass
    
    For clear/blits ccu flush not only worse for perf, but also messes up
    flush_bits when executed in a conditional set of commands.
    
    We already don't flush for 3d blits.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6419
    
    Fixes: 487aa807bd1b70602fcb6fbdabd101d4cff7c07b
    ("tu: Rewrite flushing to use barriers")
    
    Signed-off-by: Danylo Piliaiev <dpiliaiev at igalia.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16352>
    (cherry picked from commit 187d3df52c77b92bb8002f90818b0a9fce8a7e1a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=60fa35a4dfe981e0e86414c6adb7acf35003e805
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Fri May 13 10:05:20 2022 -0700

    .pick_status.json: Mark 5a3aee78cbb70918b413cdd40dffcae7c9e97d8c as denominated

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2cc7c5b432fce3d59971a7ca52aa92fe91ff115
Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Fri May 13 10:05:18 2022 -0700

    .pick_status.json: Update to 57293dee2b11ba7e52052edc4d0437f08db19144



More information about the mesa-commit mailing list