URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2f4eeff145c9560596c6bb3ceb687805ff30cfbf
Author: Sagar Ghuge <[email protected]>
Date: Tue May 16 11:25:33 2023 -0700
anv: Set CS stall bit during HIZ_CCS_WT surface fast clear
It make sense to enable CS stall so that it guarantees that the fast
clear will start after tile cache flush has completed.
cc: mesa-stable
closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9030
Fixes: e488773b ("anv: Fast clear depth/stencil surface in
vkCmdClearAttachments"
Signed-off-by: Sagar Ghuge <[email protected]>
Reviewed-by: Nanley Chery <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23063>
(cherry picked from commit 688ee02864d52101a31886f9d762e6d8d13bc3c2)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=97b8b2007f290f93ed3c24e964569328b9cafd28
Author: Rob Clark <[email protected]>
Date: Tue Jun 6 07:43:35 2023 -0700
freedreno/a6xx: Use idalloc for samp/view seqno's
Samplers and views can be re-created dynamically or long-lasting,
resulting in the possibility of a tex cache collision. So instead
of a simple counter, use idalloc.
Fixes: a3c73987ab92 ("freedreno/a6xx: Move rsc seqno out of tex cache key")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9111
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23470>
(cherry picked from commit 7b387997244679dcc995f3b5cb6cd50ce6e132c7)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f76f4db4da2a5ff260caf7566759adb982c5d0f
Author: Rob Clark <[email protected]>
Date: Tue Jun 6 07:33:06 2023 -0700
freedreno/a6xx: Directly invalidate on samp view update
Instead of incrementing the seqno, just directly invalidate any existing
tex cache entries when we update a sampler view.
No reason not to just directly clear stale entries, and avoiding to re-
assign the seqno will simplify the next patch.
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23470>
(cherry picked from commit 3f00f4ac30aa7f5133cf43775b4d9c7f05d98076)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0fdbeaa713382133de0c3239e20ac08c264fb687
Author: Rob Clark <[email protected]>
Date: Mon Jun 5 07:19:39 2023 -0700
freedreno/batch: Add driver-thread assert
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23470>
(cherry picked from commit ca9dc7be3431c2ac7b1796dcf09aae111f401370)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e47724bdf1518c3698a288ff7ba48a76c065ad38
Author: Rob Clark <[email protected]>
Date: Tue May 30 11:57:35 2023 -0700
freedreno: Add extra assert
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23470>
(cherry picked from commit e527bd79861ca5bc8b0b9eaef8dff84a3ca21494)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=53ae71e2c66d0c6ae2956f7c6633c905af4c3bf7
Author: Eric Engestrom <[email protected]>
Date: Wed Jun 7 11:01:08 2023 +0200
.pick_status.json: Update to 476022cbe1d1a06e43aacd81448a7a22c6331b1f
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e24812a386d47d8414cdeba9d2b893c8a5f2b945
Author: Dave Airlie <[email protected]>
Date: Tue Jun 6 10:59:38 2023 +1000
lavapipe: don't remove queue family barriers.
This fixes the remaining barrier issues.
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Mike Blumenkrantz <[email protected]>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23453>
(cherry picked from commit bfed41d3229e0308f3882fc456439562b4664bbe)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f9900b3eef4f0fb6347431541885b82cb91a401
Author: Dave Airlie <[email protected]>
Date: Tue Jun 6 10:08:10 2023 +1000
llvmpipe: emit fences for barrier.
I tried emitting less here but I'm just gonna hit it with the big
seq_cst hammer.
Fixes:
dEQP-VK.memory_model.message_passing.*
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Mike Blumenkrantz <[email protected]>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23453>
(cherry picked from commit 91e919f1bf8b3e78690069ae4314362963caf935)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4439dc7e23112b21a38229affe21d8afed83b6e6
Author: Patrick Lerda <[email protected]>
Date: Fri Jun 2 01:33:03 2023 +0200
r600: fix r600_draw_vbo() buffer overflow
The previous implementation was copying the data using the
aligned length (size_dw). The aligned length could overflow
the original buffer size.
For instance, this issue is triggered with "piglit/bin/draw-batch -auto
-fbo":
==5736==ERROR: AddressSanitizer: stack-buffer-overflow on address
0x7fff139c77e8 at pc 0x7f25b350a9a0 bp 0x7fff139c6cb0 sp 0x7fff139c6460
READ of size 8 at 0x7fff139c77e8 thread T0
#0 0x7f25b350a99f in __interceptor_memcpy
(/usr/lib64/libasan.so.6+0x3c99f)
#1 0x7f25a8fcdf24 in radeon_emit_array
../src/gallium/include/winsys/radeon_winsys.h:760
#2 0x7f25a8fcdf24 in r600_draw_vbo
../src/gallium/drivers/r600/r600_state_common.c:2448
#3 0x7f25a8ae7ba1 in u_vbuf_draw_vbo
../src/gallium/auxiliary/util/u_vbuf.c:1791
#4 0x7f25a7bc18ca in _mesa_validated_drawrangeelements
../src/mesa/main/draw.c:1696
#5 0x7f25a7bc7e53 in _mesa_DrawElements ../src/mesa/main/draw.c:1824
Fixes: 0cf5d1f22620 ("gallium: remove PIPE_CAP_INFO_START_WITH_USER_INDICES
and fix all drivers")
Signed-off-by: Patrick Lerda <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23436>
(cherry picked from commit 340311dac9cf6425c3bdfbec1c38ae38f974607b)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=17a0c96f6390e2ef40e380a90bb9a8b5d4527e75
Author: Vinson Lee <[email protected]>
Date: Mon Jun 5 23:22:07 2023 -0700
dzn: Fix qpool->queries_lock double lock
Fix defect reported by Coverity Scan.
Double lock (LOCK)
double_lock: mtx_lock locks qpool->queries_lock while it is locked.
Fixes: a012b219640 ("microsoft: Initial vulkan-on-12 driver")
Signed-off-by: Vinson Lee <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23455>
(cherry picked from commit ed759ad7952df07c07d48de5ed45b16dce06e8b0)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c92afe67a1db5ab287b7098d93b75f7fc4575a4
Author: Marek Olšák <[email protected]>
Date: Fri Jun 2 09:53:07 2023 -0400
radeonsi: don't use SET_SH_REG_INDEX on gfx7-9
It was accidentally used with geometry shaders. It might have caused hangs.
Fixes: ccaaf8fe04c956d9f1 - amd: massively simplify how info->spi_cu_en is
applied
Reviewed-by: Qiang Yu <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22833>
(cherry picked from commit d98501f5c1f4ace70dcf0ecee7fd17b00baf170f)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4224ef07d944ff23e34ddf67bfe86c33384701e9
Author: Rhys Perry <[email protected]>
Date: Thu Jun 1 16:03:46 2023 +0100
radv: correctly skip vertex loads with packed formats
This is supposed to check whether any channels of the element is used, but
skipped_start is always 0 for packed formats.
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timur Kristóf <[email protected]>
Fixes: a46acdbc3ff ("radv: Lower non-dynamic VS inputs in NIR.")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9062
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23370>
(cherry picked from commit b9c1d74ff4f823e3e8c63eab6cd3ecb3686eaeec)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=09b915b90171f1ced2afd0e2a788ba943e2fa73b
Author: Yonggang Luo <[email protected]>
Date: Wed Feb 1 15:11:00 2023 +0800
virgl: Array cmdline on stack should initialized to 0
Because strncpy may not append 0 if source string is longer than num(63)
Fixes: b3b82fe8ea1 ("virgl/vtest: add vtest driver")
Signed-off-by: Yonggang Luo <[email protected]>
Reviewed-by: Gert Wollny <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21034>
(cherry picked from commit b3feb48548ddf9d536d58eac495d403c415ade8e)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a63542d72a443e4bae3d562d6f360c5ed9ea92e
Author: Samuel Pitoiset <[email protected]>
Date: Mon Jun 5 15:54:09 2023 +0200
radv: initialize the device cache UUID even if on-disk cache is disabled
Otherwise the pipeline cache UUID isn't initialized as well, and the
RADV meta shaders cache can be corrupted.
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9150
Signed-off-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23439>
(cherry picked from commit 8a22f5c3729c2241b69e6f358bdafa0f098d00bb)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=aee1f9afe8b9ac6689fb68eec55e19789b688315
Author: Emma Anholt <[email protected]>
Date: Thu May 4 16:14:59 2023 -0700
tu: Ignore unused shader stages in pipeline library creation.
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22865>
(cherry picked from commit b44d47748918d4eb8889d076fcb40431a8bfddcf)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3cd454d4c2c198cc157ea9d7f93b55d3122775b3
Author: Dave Airlie <[email protected]>
Date: Wed May 24 13:03:26 2023 +1000
lavapipe: fix pipeline sanitizing.
This isn't needed for fragment shader.
Cc: mesa-stable
Reviewed-by: Roland Scheidegger <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23066>
(cherry picked from commit cbb8632991437ba0c644bb42f8cd22b55b6b5d8f)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a247e59a7ccd74a7eed27c7a00c180210adea8f7
Author: Dave Airlie <[email protected]>
Date: Mon Jun 5 17:34:20 2023 +1000
lavapipe: when in doubt, swizzle the swizzle
instead of swizzling.
Fixes a bunch of broken depth/stencil swizzling tests in CTS
dEQP-VK.pipeline.monolithic.sampler.border_swizzle.s8_uint_stencil.argb.transparent_black.gather_0.no_swizzle_hint
v2: kusma had nicer ideas.
Fixes: 7826648e14105 ("lavapipe: fix depth texturing swizzle")
Reviewed-by: Erik Faye-Lund <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23428>
(cherry picked from commit 48745d58e28e931eca81afe747a858e412bacc53)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa32914337f67c85177e7dc0734095c2a22a9902
Author: Vinson Lee <[email protected]>
Date: Sat Jun 3 16:32:44 2023 -0700
nv50: Fix memory leak in error path
Fix defect reported by Coverity Scan.
Resource leak (RESOURCE_LEAK)
leaked_storage: Variable memobj going out of scope leaks the storage it
points to.
Fixes: a1571333804 ("nvc0/nv50: support and enable EXT_memory_object*")
Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: Karol Herbst <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23417>
(cherry picked from commit bfb092b955516d5ff0d1cfb73de80fed30cec6c3)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=130ea8ffee74a59c33ee215628bd82bb763e18c0
Author: Friedrich Vock <[email protected]>
Date: Wed Apr 12 17:15:29 2023 +0200
nir: Remove unnecessary assert in nir_before_src
This condition can occur in the wild (more specifically in RT shader
call lowering), and it is handled correctly.
Cc: mesa-stable
Reviewed-by: Timothy Arceri <[email protected]>
Reviewed-by: Konstantin Seurer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22536>
(cherry picked from commit 87ac5d7d0a14be1457385ccf3e11059aedd95acb)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=56198c4851d82af15a8e69f8083c2b7cad672de9
Author: Friedrich Vock <[email protected]>
Date: Mon Apr 17 15:58:39 2023 +0200
nir: Rematerialize derefs in use blocks before repairing SSA
nir_repair_ssa_impl may insert phi nodes for any deref, but if the deref
mode is uniform, validation fails.
To fix this, rematerialize the derefs in the blocks they are used to avoid
generating phi nodes for them.
Cc: mesa-stable
Reviewed-by: Timothy Arceri <[email protected]>
Reviewed-by: Konstantin Seurer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22536>
(cherry picked from commit ee2764d5e86005b24c2ede5432bdde8ce66880dd)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea9cdbbba93aa7b4cd3b8f85cde7ef246346479f
Author: Mike Blumenkrantz <[email protected]>
Date: Wed May 31 16:40:58 2023 -0400
lavapipe: don't pass indirect info in streamout draws
this is otherwise broken for a sequence like draw_indirect ->
draw_indirect_bc
cc: mesa-stable
Reviewed-by: Roland Scheidegger <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23368>
(cherry picked from commit b45594f4ff084973e7ecea49d11de68145cade05)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b29f410411e0f0d6164edbbb60ad707de299781a
Author: Mike Blumenkrantz <[email protected]>
Date: Wed May 31 15:25:41 2023 -0400
lavapipe: fix DS3 min sample setting
if a DS3 pipeline enabling dynamic samples is not bound when samples
are set dynamically, then such a pipeline is later bound, min samples
would have been incorrectly set to 1
instead, flag the update for later and do it just before draw
cc: mesa-stable
Reviewed-by: Roland Scheidegger <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23368>
(cherry picked from commit cc9e958053183a9507e40be02cd7decfef1c45d0)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ae4d365e781a05e6c43c1c5c565b29733bd689c
Author: Samuel Pitoiset <[email protected]>
Date: Fri May 26 11:01:08 2023 +0200
amd: fix 64-bit integer color image clears
Fixes recent CTS dEQP-VK.api.image_clearing.*r64* since the Vulkan
specification has been clarified.
Only VK_FORMAT_R64_{UINT,SINT} are supported.
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23250>
(cherry picked from commit 01bd012edd20927a4eb7f791dc6e6ac94089c144)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e584100f435721cdc8b24f88af0d14c8ec90b41c
Author: Kenneth Graunke <[email protected]>
Date: Wed May 31 12:15:02 2023 -0700
intel/compiler: Fix a fallthrough in components_read() for atomics
In commit 284f0c9a57e17b14c044c04c7cf9ae77d6694492 I refactored the
handling of the data source to just call a helper rather than special
casing opcodes with 0 or 2 sources. Unfortunately, I also dropped the
"else return 1", creating a fallthrough for all sources other than
SURFACE_LOGICAL_SRC_ADDRESS and SURFACE_LOGICAL_SRC_DATA.
The case below happened to return the correct value for all cases except
SURFACE_LOGICAL_SRC_SURFACE, which has been returning 2 instead of 1
since that commit.
Restore the else case. Thanks to Marcin Ślusarz for catching this.
Fixes: 284f0c9a57e1 ("intel/compiler: Add an lsc_op_num_data_values()
helper")
Reviewed-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Marcin Ślusarz <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23347>
(cherry picked from commit 2d9a3bb093488dba99e61cc9fd4f7768bcec706c)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=737b507b7ab940c8e6bfedb3e6d948e4e372a988
Author: Eric Engestrom <[email protected]>
Date: Wed Jun 7 09:50:13 2023 +0200
.pick_status.json: Update to b222b34e789812301f4f7b79911f9edc599937e2