URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=25f02192a5ef95985dcf08a62bff8d6c56df3755
Author: Yiwei Zhang <[email protected]>
Date: Sat Dec 9 23:31:05 2023 +0000
vulkan/wsi/wayland: ensure drm modifiers stored in chain are immutable
Chain stored modifiers point to the mapping of the current feedback
shmem of the surface. The surface tracked feedback mapping will be gone
and replaced with new mapping during surface_dmabuf_feedback_done. There
are two issues here:
1. One issue is that the existing mapping is closed before been used to
compare against new modifiers in sets_of_modifiers_are_the_same.
2. The other issue is that when the chain is still optimal, the chain
persists while the mapping is still replaced with the one from the
new format table shmem.
This change makes a deep copy of the modifiers to store in the chain to
ensure the modifiers used for the current chain are immutable through
the chain lifecycle.
Cc: mesa-stable
Signed-off-by: Yiwei Zhang <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Leandro Ribeiro <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26618>
(cherry picked from commit ddf2ca4faffdd309638aa0ebfcba2c43b4fc439d)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=79b2605743e40b4fb99bd79e8de6bf53647a59ba
Author: George Ouzounoudis <[email protected]>
Date: Thu Aug 24 20:03:02 2023 +0300
vulkan: Fix dynamic graphics state enum usage
Simply replace the correct rasterization stream enum
Fixes: 9d0ed9cbcc01 ("vulkan: Add more dynamic rasterizer state")
Reviewed-by: Faith Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24872>
(cherry picked from commit d8945dd51e47a026b5219b9f9d89fedb4ace04ca)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b389ea261c02a549d9780799dc4e6d363c1ba49
Author: Eric Engestrom <[email protected]>
Date: Fri Dec 15 18:21:49 2023 +0000
vulkan/wsi: fix build when platform headers are installed in non-standard
locations
Anything that uses the platform defines in `vulkan_wsi_list` will need
to be able to resole the includes they trigger, which are provided by
`vulkan_wsi_deps`.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10304
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26715>
(cherry picked from commit 8043e8c4a66673675b2e1018f214e471942c717d)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fd1d0b4e65ca0c069c1d39d081b756ac1cc975db
Author: Friedrich Vock <[email protected]>
Date: Fri Dec 15 17:40:35 2023 +0100
radv/rt: Initialize unused children in PLOC early-exit
Bad things happen when these aren't initialized.
Fixes GPU hangs when loading Avatar: Frontiers of Pandora savegames.
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26712>
(cherry picked from commit f9a394b753b55ccfc869568413b6fc6795dc1636)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2a1b11019572b3f74d6014c5659709d3b8fea41
Author: Tapani Pälli <[email protected]>
Date: Tue Dec 12 10:40:38 2023 +0200
drirc: setup anv_assume_full_subgroups=16 for UnrealEngine5.1
We set max subgroup size as 16 for 'UnrealEngine5.1', this improves a
customer benchmark by 50% on A750.
Cc: mesa-stable
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26385>
(cherry picked from commit 012b6fbe632e190138f864ae4c6c6abe4c0ee81a)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f3d9b7dfab2776f91fa38a149ab49c5ee369e789
Author: Tapani Pälli <[email protected]>
Date: Tue Dec 12 10:30:07 2023 +0200
anv/hasvk/drirc: change anv_assume_full_subgroups to have subgroup size
Cc: mesa-stable
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26385>
(cherry picked from commit 7ff8f79a8841d439af449fac8b382070a7b76c9f)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=874cd3b15cea82898595452308008b55f1bd0c69
Author: Faith Ekstrand <[email protected]>
Date: Tue Dec 5 12:36:43 2023 -0600
nir: Scalarize bounds checked loads and stores
Fixes: 39da1deb497a ("nir/lower_io: Add a bounds-checked 64-bit global
address format")
Reviewed-by: M Henning <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26526>
(cherry picked from commit 1cf1b9d7412e94f70a5f68f81eed7ac22ad75613)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6664fc41622f8ca89c7eddf1bec178fb2d5f2d95
Author: Lionel Landwerlin <[email protected]>
Date: Wed Dec 13 11:45:31 2023 +0200
anv: wait for CS write completion before executing secondary
Got a error state on DG2 with a jump to secondary. The secondary is
empty and padded with MI_NOOPs to workaround the CS prefetching.
According to the error state, the return jump address from the
secondary to the primary is 0x0. The ACTHD register value is 0x10, so
it seems that the command streamer indeed jumped to 0x0 and hanged on
a few dwords after that.
The return address should have been set edited by a previous
MI_STORE_DATA_IMM instruction. So it appears it did not complete in
time for the command stream to catch it. On Gfx12+ this can happend if
we do not set ForceWriteCompletionCheck.
This change also takes the opportunity to remove the padding MI_NOOPs
at the end of secondaries on Gfx12+ by using disabling the prefetching
just before jumping into secondaries and reenabling it at the
beginning of each secondary.
Signed-off-by: Lionel Landwerlin <[email protected]>
Cc: mesa-stable
Reviewed-by: Ivan Briano <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26665>
(cherry picked from commit 6a92af158dc132eee449c175bdee66d92c68d191)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=44440e5aab2c810ef7655186af23254a847111d1
Author: Eric Engestrom <[email protected]>
Date: Sun Dec 17 23:26:48 2023 +0000
.pick_status.json: Updates notes for
6a92af158dc132eee449c175bdee66d92c68d191
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d4975a80bfbba5ae54f3cb1d2b33d030c6880ac4
Author: Robert Foss <[email protected]>
Date: Thu Nov 9 15:16:46 2023 +0100
egl/surfaceless: Fix EGL_DEVICE_EXT implementation
The native_display checks are incorrect and partially never
executed due to native_display always being NULL.
Fixes: 1efaa858890 ("egl: Fix attrib_list[0] == EGL_NONE check")
Signed-off-by: Robert Foss <[email protected]>
Reviewed-by: Adam Jackson <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26131>
(cherry picked from commit cda9980f9639093cf86897a760e90c89df7b6c0f)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c81c063e6efc61e6d6d369d40563451c6c0973e4
Author: Eric Engestrom <[email protected]>
Date: Tue Dec 12 13:17:16 2023 +0000
ci/b2c: drop passthrough of unset CI_JOB_JWT
Fixes: dabc068e6c04dca7800c ("ci: Use ci-fairy minio login via token file")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26653>
(cherry picked from commit 6cc6ebde3a16f76c5fe42aac7136c3384bafe338)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0978d16c1fc318cadb18a564a2cc2d3b46ca5bd
Author: Eric Engestrom <[email protected]>
Date: Sun Dec 17 22:55:29 2023 +0000
.pick_status.json: Update to 377c6b2d45ee73da3e5431846a3b4bfdd7ae2b83
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d3dc80f4a4ce1bca5fe7113fc13537dcda34e5f
Author: Gert Wollny <[email protected]>
Date: Sun Oct 22 21:31:08 2023 +0200
r600/sfn: keep workgroup and invocation ID registers for whole shader
For some reason one must not overwrite these values "too early", so
pin them for the whole shader.
Fixes: 79ca45 (r600/sfn: rewrite NIR backend)
Related: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10004
Signed-off-by: Gert Wollny <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25846>
(cherry picked from commit eb25c7a4e284cf5a8986978d4f35cb105c073712)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=df32606655c6dc06d24cdc348d03a777dc838433
Author: Yonggang Luo <[email protected]>
Date: Tue Dec 5 01:53:09 2023 +0800
dzn: Fixes -Werror=incompatible-pointer-type
Error message:
../../src/microsoft/vulkan/dzn_device.c:3840:108: error: passing argument 5
of 'device->dev13->lpVtbl->OpenExistingHeapFromAddress1' from incompatible
pointer type [-Werror=incompatible-pointer-types]
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26508>
(cherry picked from commit 767aa002304e4b53df51570d5deec2a063593ec8)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e839b0ae2e9b1d342779e723d22e6d4aa58a0da9
Author: Boris Brezillon <[email protected]>
Date: Wed Nov 29 21:02:49 2023 +0100
util/hash_table: Don't leak hash_key_u64 objects when the u64 hash table is
destroyed
Allocate a ralloc sub-context which takes the u64 hash table as a parent
and attach a destructor to it so we can free the hash_key_u64 objects
that were allocated by _mesa_hash_table_u64_insert().
The order of creation of this sub-context is crucial: it needs to happen
after the _mesa_hash_table_create() call to guarantee that the
destructor is called before ht->table and its children are freed,
otherwise the _mesa_hash_table_u64_clear() call in the destructor leads
to a use-after-free situation.
Fixes: ff494361bee7 ("util: rzalloc and free hash_table_u64")
Cc: stable
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Yonggang Luo <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26423>
(cherry picked from commit db5166718d89ba71f8d12fbdceffb05d7c5e9a03)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e2427f915cbab0f20cd6b145bb8b38b15277245d
Author: Boris Brezillon <[email protected]>
Date: Fri Dec 1 19:12:08 2023 +0100
util/hash_table: Don't leak hash_u64_key objects when the entry exists
When an entry exists, _mesa_hash_table_insert() updates the entry with
the new data/key pair, which causes a leak if the key has previously
been dynamically allocated, like is the case for hash_u64_key keys.
One solution to solve that is to do the insertion in two steps: first
_mesa_hash_table_search_pre_hashed(), and if the entry doesn't exist
_mesa_hash_table_insert_pre_hashed(). But approach forces us to do the
double-hashing twice.
Another approach is to extract the logic in hash_table_insert() that's
responsible for the searching and entry allocation into a separate helper
called hash_table_get_entry(), and keep the entry::{key,data} assignment
in hash_table_insert().
This way we can re-use hash_table_get_entry() from
_mesa_hash_table_u64_insert(), and lake sure we free the allocated
key if the entry was already present.
Fixes: 6649b840c340 ("mesa/util: add a hash table wrapper which support
64-bit keys")
Cc: stable
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Yonggang Luo <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26423>
(cherry picked from commit 5a60fd7b14e9a3045513a4b46ebd109c422c5b2e)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b02dc14ff713050493ef8b49f119f8a4b4d34dfd
Author: Boris Brezillon <[email protected]>
Date: Fri Dec 1 18:39:31 2023 +0100
util/hash_table: Use FREE() to be consistent with the CALLOC_STRUCT() call
CALLOC_STRUCT() calls the OS abstraction layer to do the allocation.
Call FREE() to free the corresponding objects so we keep things
consistent and have proper debug traces when memory-debugging
is enabled.
Fixes: 6649b840c340 ("mesa/util: add a hash table wrapper which support
64-bit keys")
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Yonggang Luo <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26423>
(cherry picked from commit 977cc3157dc0215c065bc3039f7fd5c8b359dc17)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9cabb39d8f04684b1d03e9488f7c30fa86bcb6e1
Author: Christian Gmeiner <[email protected]>
Date: Wed Dec 13 10:19:29 2023 +0100
etnaviv: Add static_assert(..) to catch memory corruption
When we start to support GPUs with more then 16 varyings the code base
tells us that there is some work to do.
Cc: mesa-stable
Signed-off-by: Christian Gmeiner <[email protected]>
Reviewed-by: Lucas Stach <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26662>
(cherry picked from commit 2f205caea484e3882a209d4262f2f1ce1e0734a8)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=81cb966a87fe9852dcba7f2491088ccf9fc1a25a
Author: Christian Gmeiner <[email protected]>
Date: Tue Oct 24 15:30:26 2023 +0200
etnaviv: Update headers from rnndb
Update to rnndb commit 071f5a60dcb8.
This updates VIVS_PA_SHADER_ATTRIBUTES__LEN define from 10 to 16 and
fixes memory corruption if more then 10 varyings are used. The current
upper limit for varyings is 16.
Cc: mesa-stable
Signed-off-by: Christian Gmeiner <[email protected]>
Reviewed-by: Lucas Stach <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26662>
(cherry picked from commit 11ffb20b7072b4096dc4e033395f36ff6fbfd42e)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9bbaf9defd1c1218a1ecbe47862994b02549e06
Author: Timothy Arceri <[email protected]>
Date: Wed Dec 13 16:48:01 2023 +1100
radeonsi: fix divide by zero in si_get_small_prim_cull_info()
This fixes a crash on startup with the game
"Ty the Tasmanian Tiger 3"
Fixes: f8a0aa685275 ("radeonsi: fix view culling for wide lines")
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26661>
(cherry picked from commit bed1b8b90d844d8bf36d3d1aa7c3f83e086d9cf6)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ce44041b130cb5ab58e3704808176882b76d70a
Author: Karol Herbst <[email protected]>
Date: Tue Dec 12 15:46:48 2023 +0100
rusticl/kernel: explicitly set rounding modes
Since dbbf566588c ("aco,ac/llvm,radeonsi: lower f2f16 to f2f16_rtz in nir")
radeonsi behavior changed and some of the core fp16 ops broke as a result.
We should explicitly specify the rounding mode until we add an gallium API
for drivers to advertize what they prefer.
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26655>
(cherry picked from commit d136583c82d5036696b322bbe966490b321c96e1)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=065c7d1f8c44dfe481f20b5638b80ae4d0940da7
Author: Friedrich Vock <[email protected]>
Date: Wed Nov 29 01:20:54 2023 +0100
radv,vtn,driconf: Add and use radv_rt_ssbo_non_uniform workaround for
Crysis 2/3 Remastered
Crysis 2 and 3 Remastered's RT shaders non-uniformly index into SSBO
descriptor arrays without specifying the NonUniformEXT qualifier on the
relevant access chains/load ops. This leads to artifacts around objects.
To add insult to injury, the game fails to provide a meaningful
applicationName/engineName in the Vulkan part of the DX11-Vulkan interop
solution used for RT. Both of these fields are set to "nvpro-sample"
(perhaps the code has been copied from NVIDIA's sample applications).
Therefore, fall back to executable name matching.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9883
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26391>
(cherry picked from commit f1817ab7e03f188164c7d6850149781066418d49)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0fc0b4bc11291e4d5f156dbf10df8601fffb61d4
Author: David Heidelberg <[email protected]>
Date: Tue Dec 12 18:01:04 2023 +0100
ci/freedreno: fail introduced by ARB_post_depth_coverage
Fixes: fd00e994449d ("freedreno/a6xx: ARB_post_depth_coverage")
Signed-off-by: David Heidelberg <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26611>
(cherry picked from commit c2558a2df8c3a018820022583d9221f371801cbc)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ae88a431437dd0f081ea3aa0cd579184112f71e
Author: David Heidelberg <[email protected]>
Date: Tue Dec 12 15:51:44 2023 +0100
ci/freedreno: timestamp-get no longer fails on Adreno
Fixes: 659e557676d2 ("freedreno: Fix timestamp conversion")
Cc: mesa-stable #23.3
Signed-off-by: David Heidelberg <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26611>
(cherry picked from commit 5527c090f41ab665efe1a89936f7306d201a1faa)