URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1eee4ea8416d0ba4f8c45bca39f8792a354bf585
Author: Faith Ekstrand <[email protected]>
Date:   Sat Jul 15 00:15:12 2023 -0500

    nv50/ir: Support vector movs
    
    nir_opt_mov and nir_op_vecN are only the same if the mov is only a
    single component.  Otherwise the vec loop will try to access src[c]
    where c > 0 which breaks for nir_op_mov.  It's uncommon but scalar
    back-ends can see vector movs so we need to handle this correctly.
    
    Fixes: 6513c675ad31 ("nv50/ir/nir: implement nir_alu_instr handling")
    Reviewed-by: Karol Herbst <[email protected]>
    Reviewed-by: M Henning <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24167>
    (cherry picked from commit 259ba104f79f9f653130865b21bccfab62dd4829)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee18ca1c39ba51d08cb91446bafed41ac3069eed
Author: Semjon Kravtsenko <[email protected]>
Date:   Wed Jun 21 10:50:44 2023 +0300

    glx: Assign unique serial number to GLXBadFBConfig error
    
    Fixes: e89e1f5049d ("glx: Fix error handling yet again in 
CreateContextAttribs")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9171
    Tested-by: yan12125
    Co-authored-by: XRevan86
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23762>
    (cherry picked from commit 39824457283bf194c2e2773c19708848027121e1)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0ee41b2e88f09a91088cdb2468e4ebba6835c84
Author: Timur Kristóf <[email protected]>
Date:   Tue Jul 4 14:28:45 2023 +0200

    aco: Fix subgroup_id intrinsic on GFX10.3+.
    
    Change this to match how it works in the LLVM backend.
    
    Cc: mesa-stable
    Signed-off-by: Timur Kristóf <[email protected]>
    Reviewed-by: Rhys Perry <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24005>
    (cherry picked from commit dc3bbd351a081a90b57a8772ade8d693048f6403)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6ee4d47e8ddae731c1fef3b60ef87eb2e68cbb16
Author: Frank Binns <[email protected]>
Date:   Thu Jul 13 13:35:39 2023 +0100

    pvr: skip setting up SPM consts buffer when no const shared regs are used
    
    This is a temporary measure until the zeroed shaders are replaced with the 
real
    ones. This avoids a VK_ERROR_OUT_OF_DEVICE_MEMORY error due to a zero sized
    allocation.
    
    Signed-off-by: Frank Binns <[email protected]>
    Reviewed-by: Karmjit Mahil <[email protected]>
    Fixes: 1dfd5351249 ("pvr: Setup SPM background object")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24139>
    (cherry picked from commit b470d931dc2da66a4d6d726891bf2e508025f99d)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed5ebbe3f49dafde630e8793c90187aca10e50e2
Author: Filip Gawin <[email protected]>
Date:   Sun Jul 2 13:40:30 2023 +0200

    crocus: Avoid fast-clear with incompatible view
    
    Port of code from iris.
    Original author: Nanley Chery
    
    Helps with fast_color_clear@fcc-write-after-clear
    
    Cc: mesa-stable
    
    Reviewed-by: Lionel Landwerlin <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24135>
    (cherry picked from commit 6e87b277bde71e30c98ab9dda7bd2f2017b77ed5)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a31b6f411d6e87bef29baa0612cc7bc2e58b62d
Author: Karol Herbst <[email protected]>
Date:   Thu Jun 22 16:43:40 2023 +0200

    nvc0: backport fp helper invocation fix to 2nd gen Maxwell+
    
    Ben prefers that we use the firmware method where possible.
    
    Cc: mesa-stable
    Signed-off-by: Karol Herbst <[email protected]>
    Acked-by: Dave Airlie <[email protected]>
    Acked-by: M Henning <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23802>
    (cherry picked from commit 2c3b62430024ab00d09e6d9ea448f18a73e129d7)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=33b7fd8c0981c2f3d568d937383dd602e3b0654d
Author: Dave Airlie <[email protected]>
Date:   Tue Jul 11 15:09:09 2023 +1000

    llvmpipe/linear: don't allow linear path for shader output with location 
frac
    
    This has been broken for a while, but we weren't hitting the linear paths 
in CI
    
    This fixes:
    
tests/spec/arb_enhanced_layouts/execution/component-layout/fs-output.shader_test.
    
    Reviewed-by: Mike Blumenkrantz <[email protected]>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24083>
    (cherry picked from commit f9c1948a21dbb91594cd9a04ffe74f2d4babeebb)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac57041306d0e45da485af9343f45df4d212f94e
Author: Lionel Landwerlin <[email protected]>
Date:   Tue Jul 11 12:36:15 2023 +0300

    anv: fix utrace signaling with Xe
    
    utrace submits can either have a batch or not.
    
    When there is a batch, the utrace vk_sync is signaled by the utrace
    batch (because utrace does a timestamp buffer copy using its own
    batch). When there is no batch, the utrace vk_sync should be signaled
    by the application batch (no timestamp copy required, utrace can read
    the timestamps when the application batch has completed).
    
    Signed-off-by: Lionel Landwerlin <[email protected]>
    Fixes: fdea48df5e ("anv: Implement Xe version of anv_queue_exec_locked() 
and queue_exec_trace()")
    Reviewed-by: José Roberto de Souza <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24085>
    (cherry picked from commit a85b84ba1e205f665787ea643aa20912bebaca09)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b82d3bcf32d354d1e80ae7e4cce6fea17ed2e37d
Author: Feng Jiang <[email protected]>
Date:   Mon May 22 14:27:25 2023 +0800

    virgl/video: Fix out-of-bounds access in fill_mpeg4_picture_desc()
    
    An out-of-bounds access has occurred to array ref[2] and it needs
    to be fixed.
    
    Fixes: 6b5aecb19558 ("virgl: add support for hardware video acceleration")
    Signed-off-by: Feng Jiang <[email protected]>
    Reviewed-by: Gert Wollny <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23160>
    (cherry picked from commit 5c2f6d3f8e8bdabf93ceb6e5c34e4fffa865bd41)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0869d097dc4360fc8fdaf56666f27af171e987e7
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Jul 6 08:57:29 2023 -0400

    zink: fix batch disambiguation on first submit
    
    submit_count is used to disambiguate a batch_id based on the generation
    id of a given batch: this value is incremented once on submit and once on
    reset such that the diff of the values is > 1 any time the batch does not
    represent the fence it was last submitted with
    
    in the case of a batch's first use, however, this value was being 
incorrectly
    incremented such that the first submit would cause disambiguation checks
    to erroneously determine that the batch had already completed, breaking 
synchronization
    
    fixes #9313
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24016>
    (cherry picked from commit 3c520892b10ca249723f11d3e4858cc41e072e0c)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e352c1f11525e265b275ef12f51a087f628d1d15
Author: Feng Jiang <[email protected]>
Date:   Wed May 24 15:33:07 2023 +0800

    frontends/va: Fix memory leak of decrypt_key
    
    pipe_picture_desc.decrypt_key was alloced in function
    handleVAProtectedSliceDataBufferType(), but nowhere to
    free it. Now, it will be freed as the vlVaContext is
    destroyed.
    
    Fixes: deb7dc82f62 ("frontends/va: handle protected slice data buffer")
    Signed-off-by: Feng Jiang <[email protected]>
    Reviewed-by: Boyuan Zhang <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23202>
    (cherry picked from commit 9790350e9dd9450786c2449c445fff5177bf230b)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c6c1f4135d3ecf4b328020e584f986a49960ef4
Author: Friedrich Vock <[email protected]>
Date:   Sun Jul 9 21:12:00 2023 +0200

    radv/rt: Miss rays that hit the triangle's v edge
    
    The hardware seems to do this as well. Avoids invoking hit shaders twice
    at shared edges.
    Fixes the fails in watertightness tests on emulated RT.
    
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24063>
    (cherry picked from commit e034ba1c44ac662699026bdadfa68af61bb6c1be)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd976e374c101ec5e35d6a80d2721ed9ab505ad1
Author: Friedrich Vock <[email protected]>
Date:   Sun Jul 9 21:09:11 2023 +0200

    radv/rt: Enable exact on software intersection functions
    
    These functions need exact output, otherwise watertightness can't be
    guaranteed in some cases.
    
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24063>
    (cherry picked from commit a096cf784fd18454250c6483574dd487ad5f87f1)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f2b10b4817a181118a458e5c7066b3d33d4a8d2
Author: Patrick Lerda <[email protected]>
Date:   Thu Jul 6 13:43:27 2023 +0200

    panfrost: fix refcnt imbalance related to blitter
    
    This issue is mainly a consequence of a call to util_blitter_clear()
    with unnecessary blitter states, these states are never freed.
    
    This change is inspired from radeonsi and r600.
    
    Note: PAN_SAVE_FRAGMENT_STATE is added and always enabled
    at this stage.
    
    For instance, this issue is triggered on Mali-T720 with
    "piglit/bin/fcc-read-after-clear sample tex -auto -fbo", 
"piglit/bin/cubemap -auto"
    and "piglit/bin/fbo-srgb -auto" or on Mali-T820 with "piglit/bin/longprim 
-auto -fbo"
    and "piglit/bin/ext_render_snorm-render -auto -fbo"
    while setting GALLIUM_REFCNT_LOG=refcnt.log.
    
    cc: mesa-stable
    
    Signed-off-by: Patrick Lerda <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22522>
    (cherry picked from commit 689f38b2b452a8b8bad5ab9388c7f71ff9074cec)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e42dff0ff9d8f05d5799e1922b680dce258b07f9
Author: Billy Laws <[email protected]>
Date:   Thu Jun 29 22:59:29 2023 +0100

    wgl: Fix depth/stencil image support when using zink kopper
    
    Kopper requires that any depth/stencil images are created through winsys 
which
    was not taken into account by the WGL frontend causing it to hit an assert:
    'Assertion failed: ctx->fb_state.zsbuf->texture->bind & 
PIPE_BIND_DISPLAY_TARGET'
    
    fixes #9256
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24055>
    (cherry picked from commit d3662ba461e15bbefc5f8887bee58e016f69f281)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc779c4d7dbf3078e6a78aee7af6a86e347cd6b8
Author: Jesse Natalie <[email protected]>
Date:   Fri Jul 7 09:00:19 2023 -0700

    d3d12: Fix indexing of local_reference_state
    
    Instead of manually indexing a single-dimensional array as 2-dimensional
    (and using the wrong stride for the outer array) just actually make it
    a 2-dimensional array.
    
    Fixes: 7edae456 ("d3d12: Track up to 16 contexts worth of batch references 
locally in bos")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24041>
    (cherry picked from commit a6740ee7a4de17ce05fa10c872d6a6f08b39b77c)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa775065b716525b8295da0eecd6af471a7a6504
Author: Gert Wollny <[email protected]>
Date:   Sun Jun 25 12:13:23 2023 +0200

    r600: Pre-EG  - Set wrap texture modes to repeat when seemless cube is used
    
    On Pre-Evergreen hardware we have a flag
       "Force Clamp X,Y policy to wrap for CubeMaps"
    but it doesn't seem to affect how border clamping is done. With
    bf3027 this is set to PIPE_TEX_WRAP_CLAMP_TO_EDGE for cube maps,
    and results in the regression reported in #9028.
    Forcing repeat mode fixes the issue.
    
    Fixes: bf3027c3916ad5be172c22851e7172671709a9bc
       mesa/st: Normalize wrap modes for seamless cubes
    
    Related: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9028
    
    Signed-off-by: Gert Wollny <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23848>
    (cherry picked from commit 91fa1970c9978edb6de4da1066f1b213e9bd2868)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a9384233fd05d41be9b3ce5e99bf3d35d9c0bd6
Author: Yiwei Zhang <[email protected]>
Date:   Tue Jul 4 16:17:47 2023 -0700

    venus: fix leaks from tracked present src images
    
    The cmd can be reset and freed during render pass recording as well.
    
    Cc: mesa-stable
    Signed-off-by: Yiwei Zhang <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24009>
    (cherry picked from commit fe4cf26687cc9a2abd737b0a3fb368a1832cc3b8)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a58ccd8987b5bdbb2c2db0928e79bec364fd82ad
Author: Yiwei Zhang <[email protected]>
Date:   Tue Jul 4 14:44:49 2023 -0700

    venus: fix a cmd tmp storage leak
    
    When the pool is destroyed, cmds are implicitly freed. Cmd level allocs
    have to be cleaned up to avoid leak.
    
    Cc: mesa-stable
    Signed-off-by: Yiwei Zhang <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24009>
    (cherry picked from commit ee3f17ca7909412fc9ce1288324edea3bc2e312a)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a2699f91c8492eb259f05235abd645a6e6a8f926
Author: Lionel Landwerlin <[email protected]>
Date:   Sat Jul 1 23:36:19 2023 +0300

    intel/fs: disable coarse pixel shader with interpolater messages at sample
    
    Signed-off-by: Lionel Landwerlin <[email protected]>
    Cc: mesa-stable
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9292
    Reviewed-by: Emma Anholt <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23962>
    (cherry picked from commit c26c0a36d3468c438261801c87f53e96b93efc64)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0675e2a27e8482e005d94af9d3f18d61c1025cbc
Author: Alyssa Rosenzweig <[email protected]>
Date:   Thu Jun 22 12:38:16 2023 -0400

    nir: Add nir_foreach_function_impl helper
    
    Most users of nir_foreach_function actually want the nir_function_impl, not 
the
    nir_function, and want to skip empty functions (though some 
graphics-specific
    passes sometimes fail to do that part). Add a nir_foreach_function_impl 
macro
    to make that case more ergonomic.
    
       nir_foreach_function_impl(impl, shader) {
          ...
          foo(impl)
       }
    
    is equivalent to:
    
       nir_foreach_function(func, shader) {
          if (func->impl) {
             ...
             foo(func->impl);
          }
       }
    
    Signed-off-by: Alyssa Rosenzweig <[email protected]>
    Reviewed-by: Lionel Landwerlin <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23807>
    (cherry picked from commit 19daa9283c146a8c50fdc0250e73a0bc366c826b)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6551ca3a250bcfa882a3fffb4836b7194ad97855
Author: Marek Olšák <[email protected]>
Date:   Thu Jun 22 07:15:02 2023 -0400

    vbo: correctly restore _VaryingInputs for display list fast path
    
    Fixes: 3a294ff0 - mesa: move the _mesa_set_varying_vp_inputs call to where 
the state changes
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9007
    
    Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23796>
    (cherry picked from commit 7b10877078b1a68791ae807c76bf2de519208723)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa0ae7122f5bbb2b1f45ef2b514089062dd5414c
Author: Konstantin Seurer <[email protected]>
Date:   Tue Jul 4 17:48:58 2023 +0200

    gallivm: Fix atomic_global types
    
    Passes LLVM validation on the test_mesh_shader_rendering vkd3d-proton
    test.
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23996>
    (cherry picked from commit f281290005119ddd2dc82e0b7a4cc22551d7fc71)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fedf175f91416a457014557251373fd5d5ea4f52
Author: Sviatoslav Peleshko <[email protected]>
Date:   Mon Jul 3 09:45:29 2023 +0300

    glsl: Fix yylloc.source propagation in YYLLOC_DEFAULT
    
    Currently, it's always initialized to 0, but we should take the value from
    the grouping passed to the macro. This way parser will have the full
    location info, and errors originating from it will show the correct
    source file number.
    
    Fixes: a0cfe8c4 ("glsl: Fix missing initialization of yylloc.source")
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9229
    Signed-off-by: Sviatoslav Peleshko <[email protected]>
    Reviewed-by: Marek Olšák <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23966>
    (cherry picked from commit 791785c2b4c01abf1a0207fb4697789ff03af218)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=31ec894f89e2b74daa82acc12f98b6a3b72dbf12
Author: Patrick Lerda <[email protected]>
Date:   Thu Jun 22 13:11:07 2023 +0200

    radeonsi: fix refcnt imbalance related to 
util_blitter_save_fragment_constant_buffer_slot()
    
    Indeed, util_blitter_clear() requires a call to
    util_blitter_save_fragment_constant_buffer_slot(),
    but most other blitter functions do not.
    
    For instance, this issue is triggered with:
    "piglit/bin/object-namespace-pollution glDrawPixels buffer -auto -fbo"
    while setting GALLIUM_REFCNT_LOG=refcnt.log.
    
    Fixes: 03bc7503d471 ("radeonsi: save the fs constant buffer to the util 
blitter context")
    Signed-off-by: Patrick Lerda <[email protected]>
    Reviewed-by: Marek Olšák <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23856>
    (cherry picked from commit 80ccc3f822d32f014ccb7ab7283a1a80e6f7d9ca)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e21b6865254d53691816f3a48cea7635166d15ce
Author: Boris Brezillon <[email protected]>
Date:   Fri Jun 23 09:18:31 2023 +0200

    winsys/panfrost: Make sure we reset scanout on error in 
create_kms_dumb_buffer_for_resource()
    
    If an error occured, make sure we reset the scanout object before
    leaving, otherwise the next user of this handle will hit the
    refcnt == 0 assert.
    
    Fixes: ad4d7ca83324 ("kmsro: Fix renderonly_scanout BO aliasing")
    Cc: mesa-stable
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Italo Nicola <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23746>
    (cherry picked from commit 7a0033a1c9c2c0bdf291fa44fb608357bf2f88dc)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a6ee1c49590bf1fcd16cf14592c839318d3ba52
Author: Boris Brezillon <[email protected]>
Date:   Fri Jun 23 09:18:21 2023 +0200

    renderonly: Make sure we reset scanout on error in 
create_kms_dumb_buffer_for_resource()
    
    If an error occured, make sure we reset the scanout object before
    leaving, otherwise the next user of this handle will hit the
    refcnt == 0 assert.
    
    Fixes: ad4d7ca83324 ("kmsro: Fix renderonly_scanout BO aliasing")
    Cc: mesa-stable
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23746>
    (cherry picked from commit 45a27adc3b9c45e04945add803de58cc9d285a50)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=aad610f591bf3fa4cd35aed6cf519ef03b647eaa
Author: Boris Brezillon <[email protected]>
Date:   Fri Jun 23 09:08:31 2023 +0200

    renderonly: Fix potential NULL deref in the error path
    
    scanout can be NULL.
    
    Fixes: ad4d7ca83324 ("kmsro: Fix renderonly_scanout BO aliasing")
    Cc: mesa-stable
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23746>
    (cherry picked from commit 8568a46c1ca64092dd2f3f8f140ea1f261db2b1c)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f2ea3b9709b5e97ac534ceb2ca51e531221442e7
Author: Robert Beckett <[email protected]>
Date:   Wed Apr 26 13:28:40 2023 +0100

    winsys/panfrost: Fix a scanout resource leak
    
    Use ro->bo_map to alloc scanout and make sure we initialize the refcnt
    to one.
    
    This fixes leaking the scanout object and the underlying dumb-buffer.
    
    Fixes: ad4d7ca83324 ("kmsro: Fix renderonly_scanout BO aliasing")
    Cc: mesa-stable
    Signed-off-by: Robert Beckett <[email protected]>
    Reviewed-by: Italo Nicola <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23746>
    (cherry picked from commit 8087f784e4268476411a6c3b944731bee2315d10)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=819cc8cc4ac80c56261d5535074a2d3cd21e6c02
Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Jul 3 09:34:39 2023 -0400

    aux/trace: fix bindless texture dumping
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23971>
    (cherry picked from commit 46b488151f299581ba3a6acc303e1c16777c84c7)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f28431e409f06b2a7d9d5de48239c422e6225129
Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Apr 10 12:40:26 2023 -0400

    zink: don't destroy swapchain on initial CreateSwapchainKHR fail
    
    this used to be correct at some point but now it no longer is
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23970>
    (cherry picked from commit 54bd804ad30e0c465762d5a5e06ee40b817c317c)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b714aade25d6e989b42d429ab1d2432b8f9bb8d
Author: Janne Grunau <[email protected]>
Date:   Wed Jun 28 21:09:50 2023 +0200

    st/mesa: Set gl_config.floatMode based on color_format
    
    Sets the float color component type in st_visual_to_context_mode()
    ensuring float color values are not clamped.
    Fixes dEQP-EGL.functional.wide_color.window_fp16_default_colorspace on
    asahi, iris and most likely every other driver having it marked as fail
    or flake.
    
    Closes: mesa/mesa#9276
    
    Signed-off-by: Janne Grunau <[email protected]>
    Reviewed-by: Adam Jackson <[email protected]>
    Acked-by: David Heidelberg <[email protected]>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23914>
    (cherry picked from commit fd4d0e1cc23ff64d4d9b852e3f5cc7454c7b2018)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5217a77d6d289704fc05635226bef3c483dce45b
Author: José Roberto de Souza <[email protected]>
Date:   Mon Jul 3 08:15:00 2023 -0700

    anv: Fix compute maximum number of threads value
    
    There is no mention in spec about subtract one of the number of
    threads, also Iris and blorp code don't subtract.
    
    Alchemist PRMs: Volume 2a: Command Reference: Instructions: CFE_STATE: 
Maximum Number of Threads:
        Normally set to the maximum number of threads: (# EUs) * (# threads/EU)
    
    Cc: mesa-stable
    Signed-off-by: José Roberto de Souza <[email protected]>
    Reviewed-by: Rohan Garg <[email protected]>
    Reviewed-by: Lionel Landwerlin <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23973>
    (cherry picked from commit c142736f52f537fb0dcef959b1a6bc2ac2e8335e)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e4dd65fc4f468944716f6cd4b0896089d321b157
Author: Konstantin Seurer <[email protected]>
Date:   Sat May 20 21:57:57 2023 +0200

    nir/opt_dead_cf: Handle if statements ending in a jump correctly
    
    If a then/else block ends in a jump, the phi nodes do not necessarily
    have to reference the always taken branch because they are dead code.
    Avoid crashing in this case by only rewriting phis, if the block does
    not end in a jump.
    
    cc: mesa-stable
    
    Reviewed-by: Rhys Perry <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23150>
    (cherry picked from commit e379b9ad8c37edb4a583aefa876ab5f11a36b572)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=44b0a656b4333013da57fa1a5837507d7eb9a40d
Author: Shan-Min Chao <[email protected]>
Date:   Wed Jun 7 09:49:45 2023 -0700

    tu/kgsl: Fix memory overwrite with vkFlushMappedMemoryRanges when more than 
1 range
    
    Fixes: 5a594109623fff43fcd3b874b160c711e81bf55d ("turnip: add cached and 
cached-coherent memory types")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23504>
    (cherry picked from commit ece34ec12763068f5a71cd5631dff9d004ba1d99)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa3baf1336a62772c5d93b9c6d3172d340b9c6aa
Author: Eric Engestrom <[email protected]>
Date:   Fri Jun 30 16:27:20 2023 +0100

    util/disk_cache: fix ~/.cache/ permissions
    
    XDG Base Dir spec [1] says:
    > If, when attempting to write a file, the destination directory is
    > non-existent an attempt should be made to create it with permission
    > `0700`. If the destination directory exists already the permissions
    > should not be changed.
    
    [1] 
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4103
    Fixes: 87ab26b2ab35a29d446a ("glsl: Add initial functions to implement an 
on-disk cache")
    Signed-off-by: Eric Engestrom <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23952>
    (cherry picked from commit e32cb99dcb9ccb96965b314a3e9257113ad31c81)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5398b13476cdaf3580727531ba258f93ba8a9f47
Author: Dave Airlie <[email protected]>
Date:   Fri Jun 30 13:16:17 2023 +1000

    draw/gs: handle extra shader outputs in geometry.
    
    When geometry shader is used with unfilled lines and front face,
    we don't handle the extra shader output.
    
    Instead of taking the output from the gs, ask draw for the total
    which should give the correct answer.
    
    Fixes a test program attached to:
    https://gitlab.freedesktop.org/mesa/mesa/-/issues/8644
    
    Reviewed-by: Brian Paul <[email protected]>
    Cc: mesa-stable
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23943>
    (cherry picked from commit 384c8677f590df290c442b378b077fe8e8c365b9)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=981aeaba4916f8d5afd167dd1a651e5054781b01
Author: Alyssa Rosenzweig <[email protected]>
Date:   Wed May 17 19:01:50 2023 -0400

    pan/mdg: Fix temp count calculation
    
    1. Always calculate when asked. This is the sort of optimization that just
       introduces bugs. Like one I hit when shuffling register indices around 
with
       the register access changes.
    
    2. Ask before using in RA.
    
    3. Account for precoloured blend inputs.
    
    Small shader-db hit, didn't investigate too much.
    
       total instructions in shared programs: 1518017 -> 1518168 (<.01%)
       instructions in affected programs: 2895 -> 3046 (5.22%)
       helped: 0
       HURT: 24
       Instructions are HURT.
    
       total bundles in shared programs: 646756 -> 646782 (<.01%)
       bundles in affected programs: 1119 -> 1145 (2.32%)
       helped: 1
       HURT: 19
       Bundles are HURT.
    
       total quadwords in shared programs: 1133694 -> 1133728 (<.01%)
       quadwords in affected programs: 1736 -> 1770 (1.96%)
       helped: 0
       HURT: 20
       Quadwords are HURT.
    
       total registers in shared programs: 90596 -> 90612 (0.02%)
       registers in affected programs: 108 -> 124 (14.81%)
       helped: 0
       HURT: 16
       Registers are HURT.
    
    Signed-off-by: Alyssa Rosenzweig <[email protected]>
    Cc: mesa-stable
    Reviewed-by: Italo Nicola <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23769>
    (cherry picked from commit 23010acc10a344297c1f5791487fb60e42d0bc3e)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=182761d468e29f39efedd1dde6a7c020d1052098
Author: Mike Blumenkrantz <[email protected]>
Date:   Tue Jun 27 12:55:41 2023 -0400

    zink: fix separate shader program refcounting
    
    this fixes the refcount for the separate shader program to not have a 
leaked ref
    and then fixes the owned program to have the expected number of refs
    
    this happened to work some of the time before because there was an 
arbitrary unref
    in replace_separable_prog(), but this shouldn't have been necessary
    
    Fixes: e3b746e3a31 ("zink: use GPL to handle (simple) separate shader 
objects")
    
    fixes #9274
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23888>
    (cherry picked from commit 4e380616430ce000bc4454f137265ec6e65b6afb)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=29d3034e446e2d1c667f4f6f1a4c5f8730cf95b2
Author: Mike Blumenkrantz <[email protected]>
Date:   Tue Jun 27 12:54:47 2023 -0400

    zink: do initial program unref during program creation
    
    this ensures that programs are never created with more than $num_shaders
    refs, which is otherwise not necessarily a bug but can lead to bugs
    
    Fixes: a0e69e7601a ("zink: split out first-time shader module creation")
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23888>
    (cherry picked from commit 84bb6078f44a8518bd7080ae2362ae1a8a6383c8)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=99f9fa03781a2cdf08bd884a04230da33266c3f3
Author: Konstantin Seurer <[email protected]>
Date:   Mon May 22 18:23:21 2023 +0200

    gallivm: Clamp the texel buffer size
    
    Fixes arb_texture_buffer_object-texture-buffer-size-clamp.
    
    cc: mesa-stable
    
    Reviewed-by: Dave Airlie <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22828>
    (cherry picked from commit 7d4135ac10601f0f6efb44cc0b0b7cb77983bdad)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d6698fe37afe703017e927c52ec02942966b5d7
Author: Timur Kristóf <[email protected]>
Date:   Fri Mar 31 22:10:05 2023 +0200

    ac/nir/ngg: Call nir_convert_to_lcssa before divergence analysis.
    
    I've recently learned that this is necessary to get
    correct results from divergence analysis.
    
    No Fossil DB stats changes on GFX10.3.
    
    Note, when backporting this patch to stable, make sure
    the call to nir_convert_to_lcssa is before nir_divergence_analysis,
    which may be located in a different place in the stable branch.
    
    Cc: mesa-stable
    Signed-off-by: Timur Kristóf <[email protected]>
    Reviewed-by: Rhys Perry <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23946>
    (cherry picked from commit ddeabcc19b022c1137ec41701dc819ef446fa717)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=78ba499ab3eb0a99063dd1eaf1a44f6092fcebba
Author: Dave Airlie <[email protected]>
Date:   Fri Jun 9 16:19:05 2023 +1000

    lavapipe: check sampler pointer before deref
    
    This fixes the vulkan samples deferred demo from crashing in here.
    
    Cc: mesa-stable
    Reviewed-by: Roland Scheidegger <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23542>
    (cherry picked from commit e385913c21d8c85eab5127a466bedb6b99338519)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cc99571213d43f4ae9766b24ba46d3ca87cbf130
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Jun 22 11:16:10 2023 -0400

    zink: get new bda when rebinding invalidated buffers
    
    this otherwise yields a broken descriptor
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23803>
    (cherry picked from commit d2a7ddf066a7f8c69f6e5df50e34736f146bd1f4)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce554c8867f3773b00b3d91833d0744c565b47d1
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Jun 21 15:45:37 2023 -0400

    zink: fix unbinding generated gs on real gs bind
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23803>
    (cherry picked from commit 041591d972d022810afa89590375a33d8e5dcd35)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d84d3794fa45c7ca6d4ecfba5d51166ce93ad72
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Jun 21 15:16:28 2023 -0400

    zink: fix assert for inline uniform invalidation with generated gs bound
    
    cc: mesa-stable
    
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23803>
    (cherry picked from commit a30379488e27865a380ae9eecc41e3ea0b476130)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa92db5ea46c66daea616c482af9340139487c6d
Author: Juston Li <[email protected]>
Date:   Wed Jun 28 13:25:57 2023 -0700

    radv: fix incorrect size for primitives generated query
    
    Primitives generated queries write 1 integer, the primitives-generated
    count that is incremented every time a primitive emitted to that stream
    reaches the transform feedback stage.
    
    Fixes: 1ebf463a5a6 ("radv: implement VK_EXT_primitives_generated_query")
    Signed-off-by: Juston Li <[email protected]>
    Reviewed-by: Yiwei Zhang <[email protected]>
    Reviewed-by: Joshua Ashton <[email protected]>
    Reviewed-by: Samuel Pitoiset <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23915>
    (cherry picked from commit 33ee59af1def0dc2c46051d160cb39f940f544ab)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=62537eecff592b7ecad1a1a4b1bf96b7cb21b07e
Author: Patrick Lerda <[email protected]>
Date:   Thu Jun 29 12:52:04 2023 +0200

    util/blitter: revert util_blitter_clear_buffer()
    
    The previous change was creating a regression.
    
    Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9252
    Fixes: 23c003b88c54 ("util/blitter: fix util_blitter_clear_buffer() refcnt 
imbalance")
    Signed-off-by: Patrick Lerda <[email protected]>
    Reviewed-by: Gert Wollny <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23923>
    (cherry picked from commit 9ca1bb3cf8f2f4d9378ceb8ae39e6f853fb900b0)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=082154ca1e5a60ead6b184232ab7975f1cb9ebad
Author: Corentin Noël <[email protected]>
Date:   Tue Jun 27 16:28:41 2023 +0200

    nir/split_64bit_vec3_and_vec4: Use the right number of components
    
    Always make sure to correctly deref and store a 64bits variable
    from the right number of components.
    
    This fixes the `spec@arb_enhanced_layouts@matching_fp64_types_`
    piglit tests for virgl.
    
    Corrects this validation issue:
    ```
        decl_var  INTERP_MODE_FLAT dvec2[] var_7@2
        decl_var  INTERP_MODE_FLAT dvec2[] var_7@3
    ...
        vec1 32 ssa_302 = deref_var &var_7@2 (function_temp dvec2[])
        vec1 32 ssa_303 = deref_var &var_7@3 (function_temp dvec2[])
        vec1 32 ssa_304 = deref_array &(*ssa_302)[ssa_301] (function_temp 
dvec2) /* &var_7@2[ssa_301] */
        vec1 32 ssa_305 = deref_array &(*ssa_303)[ssa_301] (function_temp 
dvec2) /* &var_7@3[ssa_301] */
        vec1 64 ssa_306 = mov ssa_110.z
        intrinsic store_deref (ssa_305, ssa_306) (wrmask=x, access=0)
    error: instr->num_components == glsl_get_vector_elements(dst->type) 
(../src/compiler/nir/nir_validate.c:632)
    
        vec4 64 ssa_111 = vec4 ssa_14, ssa_13, ssa_12, ssa_109
        vec1 32 ssa_307 = load_const (0x00000000 = 0.000000)
        vec1 32 ssa_308 = iadd ssa_307, ssa_61
        vec1 32 ssa_309 = deref_var &var_7@2 (function_temp dvec2[])
        vec1 32 ssa_310 = deref_var &var_7@3 (function_temp dvec2[])
        vec1 32 ssa_311 = deref_array &(*ssa_309)[ssa_308] (function_temp 
dvec2) /* &var_7@2[ssa_308] */
        vec1 32 ssa_312 = deref_array &(*ssa_310)[ssa_308] (function_temp 
dvec2) /* &var_7@3[ssa_308] */
        vec1 64 ssa_313 = mov ssa_111.w
        intrinsic store_deref (ssa_312, ssa_313) (wrmask=, access=0)
    error: (nir_intrinsic_write_mask(instr) & ~component_mask) == 0 
(../src/compiler/nir/nir_validate.c:803)
    ```
    
    Fixes: 496fd59d711b9a0744878918caeeaafb961e3deb (add pass to split 64 bit 
vec3/4 variable access)
    Signed-off-by: Corentin Noël <[email protected]>
    Reviewed-by: Gert Wollny <[email protected]>
    Reviewed-by: Emma Anholt <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23880>
    (cherry picked from commit a8d669b593122a91c6ba2fefbb7ab308c7477300)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5b693d7725eb1c4afd4901731222ddf59d7c7f0
Author: Eric Engestrom <[email protected]>
Date:   Sat Jul 15 22:46:31 2023 +0100

    .pick_status.json: Update to 9bcdc45ee7e8c4ca0dbb18ba16077d474d5ebb31

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e6c4d6dacd741c9e9008d084936992fa3f197491
Author: Iago Toral Quiroga <[email protected]>
Date:   Wed Jul 5 10:38:07 2023 +0200

    broadcom/compiler: don't leak v3d_compile when finding a new best strategy
    
    If we had selected a best strategy and find an even better one we need to
    make sure we free the previous one.
    
    Reviewed-by: Alejandro Piñeiro <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24001>
    (cherry picked from commit be91133f8767cd37325403f599038a5841370f68)

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cee098a320181db3a97dca66bf77317e5420a9d4
Author: Eric Engestrom <[email protected]>
Date:   Tue Jul 11 12:50:29 2023 +0100

    .pick_status.json: Update to ba0ceb3be33766e2d96d50be6827e709c25f57dc


Reply via email to