-
662bcc87
by Konstantin Seurer at 2025-02-06T07:33:36+00:00
radv/meta: Stop using strings for meta keys
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33405>
-
5443c239
by Samuel Pitoiset at 2025-02-06T07:33:36+00:00
radv/meta: add missing pipeline lookups
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33405>
-
03c3250e
by Samuel Pitoiset at 2025-02-06T07:33:37+00:00
radv/meta: stop using string keys also for DGC and query objects
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33405>
-
30e0d3da
by Samuel Pitoiset at 2025-02-06T07:33:37+00:00
util/disk_cache: add a new helper to create a disk cache
This will be used by RADV to store the meta shaders to a separate
cache directory.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33405>
-
f0a4a71b
by Samuel Pitoiset at 2025-02-06T07:33:37+00:00
vulkan/runtime: allow to use a different disk cache
Instead of using the default one provided by the physical device.
This will be used by RADV to store meta shaders to a separate single
cache file.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33405>
-
c00d4230
by Samuel Pitoiset at 2025-02-06T07:33:37+00:00
radv: fix caching on-demand meta shaders
This switches to disk_cache instead of our own mechanism which only
stored meta shaders when the logical was destroyed.
Meta shaders are still stored separately from the application shaders
because they are common to all applications on a given GPU/Mesa version.
The default cache is 32MiB which should be large enough.
This fixes massive stuttering in FF7 Rebirth but all apps are
technically affected.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33405>
-
05d2f1c2
by Eric Engestrom at 2025-02-06T10:14:19+01:00
.pick_status.json: Update to fdaf7c7b9647874e66e79653050f9d0999dc9134
-
36b67f71
by Eric Engestrom at 2025-02-06T10:14:38+01:00
docs/android: drop libglapi.so now that it's gone
Fixes: 44bda7c258f5e1a7b476 ("dri: put shared-glapi into libgallium.*.so")
Reviewed-by: Antonio Ospite <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33388>
(cherry picked from commit 4bbbbb96be4702ff60610ab8d44c319125d3ce56)
-
7368b3f4
by Eric Engestrom at 2025-02-06T10:14:45+01:00
.pick_status.json: Mark 5f54beb30728f6510ce50071ddaef5f9157b16ef as denominated
-
62dbbe79
by Job Noorman at 2025-02-06T10:15:00+01:00
ir3: fix emitting descriptor prefetches at end of preamble
The fix in e7ac1094f69 to emit preamble defs in the correct block would
move the cursor of the builder that is later used to insert descriptor
prefetches, emitting them at the wrong place. Fix this by resetting the
cursor before emitting the prefetches.
Signed-off-by: Job Noorman <jnoorman@igalia.com>
Fixes: e7ac1094f69 ("ir3: rematerialize preamble defs in block dominated by sources")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33399>
(cherry picked from commit 8404e7428b6c25a32f8cbc3eb218dec5725bb5ff)
-
78577b19
by Mike Blumenkrantz at 2025-02-06T10:15:03+01:00
radv: fix error reporting for VkExternalMemoryTypeFlagBitsKHR
wrong type name is confusing
cc: mesa-stable
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33323>
(cherry picked from commit ca8a740e3b44f8683f32d1728d143bf6e1fa03c3)
-
440f3359
by Martin Roukala (né Peres) at 2025-02-06T10:15:08+01:00
zink/ci: use the debian-built-testing for nvk
Fixes: 5b291c7ce652 ("ci: Move r300/nine/nvk builds out of critical path")
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33401>
(cherry picked from commit a55613ce8d97a47c438cd758ca392c4baa269397)
-
765cdedc
by Samuel Pitoiset at 2025-02-06T10:15:10+01:00
radv: fix adding the BO to cmdbuf list when starting conditional rendering
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33403>
(cherry picked from commit 9b827556f52748976e76667a83a667d3673f0b21)
-
d3e9c337
by Eric Engestrom at 2025-02-06T10:18:08+01:00
gfxstream: fix signedness of shifts
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33384>
(cherry picked from commit 74d0a8cdd62a03c77e27a17d837b3ad12c09db71)
-
79e67633
by Eric Engestrom at 2025-02-06T10:18:14+01:00
gfxstream: drop dead variables
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33384>
(cherry picked from commit 96c183c759353adde01e169eae71a504e731679d)
-
93dcef84
by Eric Engestrom at 2025-02-06T10:18:19+01:00
gfxstream: use `range` variable for its intended purpose
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33384>
(cherry picked from commit b2b37cb1deba957ef1c109c704d8de374ba2d00a)
-
78411d56
by Eric Engestrom at 2025-02-06T10:18:23+01:00
gfxstream: mark unused variables as such
It's unclear to me whether this is dead code that should be removed or
dead code that should be used, so I just marked it as unused to remove
a few thousand warnings when compiling.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33384>
(cherry picked from commit 93a720f81a32d501c5a9d47c063b2fee4ea8a325)
-
495b3696
by Eric Engestrom at 2025-02-10T11:35:17+01:00
.pick_status.json: Update to ee9edd46254884ab7fe6c96518e23d421d5f5344
-
c0817235
by Karmjit Mahil at 2025-02-10T11:35:25+01:00
loader/wayland: Fix missing timespec.h include
`loader_wayland_dispatch()` also makes use of `timespec` so we
need `timespec.h`. Otherwise it fails to build due to
`timespec_sub_saturate()` missing.
Signed-off-by: Karmjit Mahil <karmjit.mahil@igalia.com>
Fixes: 90effcceab7 ("wsi/wayland: refactor wayland dispatch")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12580
Reviewed-by: Eric Engestrom <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33423>
(cherry picked from commit 54928d643ec0d201bf0101d67437b53d7fdbafad)
-
3d18ce09
by Erik Faye-Lund at 2025-02-10T11:35:32+01:00
pan/ci: add fail from llvm 19 upgrade
This was missed while testing the LLVM 19 upgrade, because the
panfrost-t860-cl:arm64 job doesn't run pre-merge.
Fixes: 101065642d2 ("ci/debian: Upgrade Debian images to LLVM 19")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33425>
(cherry picked from commit a6e0492da11fb9e74dd154b4bf7664b22c8ea9f4)
-
be81537a
by Eric Engestrom at 2025-02-10T11:35:38+01:00
llvmpipe/tests: include math.h for INFINITY
This might be the cause of #12557, but we should do this regardless.
Fixes: d366520e8553f4a16151 ("gallivm: fix rsqrt failures")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33424>
(cherry picked from commit e4551ac69e357df07de9f7cb5ebd88579d7363e7)
-
fc5cbf4b
by Eric Engestrom at 2025-02-10T11:35:39+01:00
ci: don't run on tag pipelines
It's too late to run all the tests by then, the release has been made
based on the staging pipelines results
Cc: mesa-stable
Reviewed-by: Martin Roukala <None>
Reviewed-by: Dylan Baker <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33409>
(cherry picked from commit 31f0a9be3f858dfdca112a2839fbf5741f70ba34)
-
01b75c49
by Eric Engestrom at 2025-02-10T11:36:36+01:00
ci: only trigger the CI for release managers when pushing to staging branch
The release branch contains only what was on the staging branch first,
so testing it again is a waste of resources.
To do this, we split the rule into specifically "default branch" and
"staging branch", and "release branch" gets dropped by virtue of no
longer being caught by any rule.
Cc: mesa-stable
Reviewed-by: Martin Roukala <None>
Reviewed-by: Dylan Baker <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33411>
(cherry picked from commit 7152f343d6d73d2fbc05629c8a31215b2d31c3a6)
-
cd1ec4d2
by Benjamin ROBIN at 2025-02-10T11:36:46+01:00
util/disk_cache: Do not try to delete old cache if cache is disabled
Prevent following warning if not running as a normal user:
Failed to create /home for shader cache (Permission denied)---disabling
disk_cache_delete_old_cache() is going to create first the cache directory
using disk_cache_generate_cache_dir(). From mkdir_if_needed(), the stat()
of "/home" is failing with "Permission denied" under some circumstances
when using Firefox.
Fixes: #12168
Fixes: c3bc6991d27c61b5c1b3 ("util/disk_cache: Delete the old multifile cache if using the default.")
Signed-off-by: Benjamin ROBIN <dev@benjarobin.fr>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32886>
(cherry picked from commit 622f7407d7a002030b24ed384532cb6d585b3479)
-
1cf778e0
by Samuel Pitoiset at 2025-02-10T11:36:48+01:00
radv: fix fetching draw vertex data from counter buffers with transform feedback
counterOffset was just ignored and nobody noticed (missing VKCTS
coverage).
VGT_STRMOUT_DRAW_OPAQUE_OFFSET will do the computation in hw for us.
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33407>
(cherry picked from commit 8625decbcca61da5bbea26cd2b3f9c0a221d6bf7)
-
741763f3
by Karol Herbst at 2025-02-10T11:36:49+01:00
rusticl/mem: do not apply offset with in copy_image_to_buffer
The offset already gets applied when mapping the destination buffer, so we
ended up applying it twice.
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33426>
(cherry picked from commit a2a3be3baa1cfbfb79f6ee0b91bc7180dd396b64)
-
19f1546f
by David Rosca at 2025-02-10T11:36:50+01:00
ac/vcn_dec: Fix AV1 film grain on VCN5
Cc: mesa-stable
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33376>
(cherry picked from commit 62b0f849813739282d141bbc3fb4539aeea78f83)
-
4736448b
by Erik Faye-Lund at 2025-02-10T11:36:50+01:00
panvk: correct number of read bytes for dynamic buffers
This function takes the number of bytes, not number of entries. This
should hopefully fix start-up issues on Citra.
While we're at it, fixup the alignment of the line that writes the
bytes.
Fixes: 27beadcbdb5 ("panvk: Extend the shader logic to support Valhall")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12539
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33429>
(cherry picked from commit 2ae97a4eb673243392b8566774e55a315abd1d38)
-
eabe6ec9
by Eric R. Smith at 2025-02-10T11:36:51+01:00
panfrost: avoid potential divide by 0 calculating timer_resolution
On armhf integer divide by 0 can raise SIGFPE, whereas on aarch64
it just returns 0. This has become an issue because the recently
added panfrost_init_screen_caps always calls pan_gpu_time_to_ns to
calculate caps->timer_resolution, whereas before we only called it
when PIPE_CAP_TIMER_RESOLUTION was queried, and only OpenCL
does that (and not always).
Fixes: 205669e3a9 ("panfrost: add panfrost_init_screen_caps")
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33435>
(cherry picked from commit e550a3cab0473bbcebe5ba8ebd2537addf2f6bb7)
-
1c8f1e82
by Ian Romanick at 2025-02-10T11:36:53+01:00
iris: Add missing nir_metadata_preserve in iris_lower_storage_image_derefs
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Fixes: 26a54ae4b26 ("iris: lower storage image derefs")
Closes: #12589
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33450>
(cherry picked from commit f2a01be57e701016afaa474a8dbd26a9b749806b)
-
20f09fc0
by Ian Romanick at 2025-02-10T11:36:53+01:00
crocus: Add missing nir_metadata_preserve in crocus_lower_storage_image_derefs
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Fixes: f3630548f1d ("crocus: initial gallium driver for Intel gfx 4-7")
Closes: #12589
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33450>
(cherry picked from commit 40948b97150cf49a1b33a419075efcce4afcc8d0)
-
8eb769a5
by Rebecca Mckeever at 2025-02-10T11:36:56+01:00
util/hash_table: Add _mesa_hash_table_u64_replace()
This function updates the data of a u64 hash_table entry and is safe to
use inside a hash_table_u64_foreach() loop.
Fixes: 7bea6f86 ("panvk: Overhaul the Bifrost descriptor set implementation")
Signed-off-by: Rebecca Mckeever <rebecca.mckeever@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32563>
(cherry picked from commit 1d0f44739db924280f38c15b85ecdfc158f8ec04)
-
a112f94c
by Martin Roukala (né Peres) at 2025-02-10T11:37:05+01:00
ci/b2c: fix the S3 artifact for amd64 manual vk/gl
Fixes: 5b291c7ce652 ("ci: Move r300/nine/nvk builds out of critical path")
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org>
Reviewed-by: Eric Engestrom <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33446>
(cherry picked from commit c63041c0ed528b08bb34434e6e9cb9ee2ae71022)
-
d7e6adfa
by Martin Roukala (né Peres) at 2025-02-10T11:37:10+01:00
turnip/ci: re-introduce the `multiviewport` flakes
This is a partial revert of 5f3cad002697, as the commit did not
actually fix the flakes it claimed to do.
Fixes: 5f3cad002697 ("tu: Add missing assignment to shared_viewport")
Suggested-by: @Valentine (https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33446#note_2770035)
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org>
Reviewed-by: Eric Engestrom <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33446>
(cherry picked from commit f3b1f5ba2c77088905e9b34b46be9dccadeff077)
-
ef741dad
by Marek Olšák at 2025-02-10T11:37:18+01:00
gallium,st/mesa: allow reporting compile failures from create_vs/fs/.._state
This adds a proper interface for reporting shader compile failures.
They are propagated to the GLSL linker.
Reporting errors from finalize_nir will be deprecated.
Fixes: dae57e184aafdd7da562cb3120d530504a2426fc
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33341>
(cherry picked from commit dc1b719e1fd7114776baf83bbe95f9af87d9c17d)
-
90c4d449
by Pavel Ondračka at 2025-02-10T11:37:28+01:00
i915: rework shader compile failures reporting
Report compile errors from create_fs_state instead of finalize_nir.
The current way is broken, since nir_to_tgsi is called in finalize_nir,
however it can't handle lowered IO.
Fixes: dae57e184aafdd7da562cb3120d530504a2426fc
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12373
Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33341>
(cherry picked from commit 4d4a3a6d6b8dea9ac7e018e9cfcdd2b541099f90)
-
c3afddf5
by Rebecca Mckeever at 2025-02-10T11:50:44+01:00
panvk: Allow a 32-bit binding value in desc id key and use 64-bit keys
Since the binding value can be any 32-bit number, we cannot assume that
it is <= 27 bits. We need 64-bit keys to accommodate a 32-bit binding.
This will also provide more bits to store the subdesc id, which will be
needed for multiplane texture and sampler descriptors.
Fixes: 7bea6f86 ("panvk: Overhaul the Bifrost descriptor set implementation")
Signed-off-by: Rebecca Mckeever <rebecca.mckeever@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32563>
(cherry picked from commit 9c4b530c4981db2c288036979470bd4e19a9171f)
-
6378d22e
by Rebecca Mckeever at 2025-02-10T11:50:45+01:00
panvk: Fix assertion in is_disjoint()
We were not correctly following VUID-VkImageCreateInfo-format-01577:
If format is not a multi-planar format, and flags does not
include VK_IMAGE_CREATE_ALIAS_BIT, flags must not contain
VK_IMAGE_CREATE_DISJOINT_BIT.
Fixes: 412c2863 ("panvk: Enable multiplane images and image views")
Signed-off-by: Rebecca Mckeever <rebecca.mckeever@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32563>
(cherry picked from commit 2ddd021baed0bbf27a1999637363a55df2bf4774)
-
2583fde8
by Mel Henning at 2025-02-10T11:50:46+01:00
nak/opt_copy_prop: Fix IAdd3 overflow check
Cc: mesa-stable
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
Reviewed-by: Faith Ekstrand <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33420>
(cherry picked from commit a5b267980ab0c64f4644f16137781fa9a4a8c5f8)
-
ea52e480
by Mel Henning at 2025-02-10T11:50:47+01:00
nak/opt_copy_prop: Add force_alu_src_type
This is just a code cleanup - it shouldn't change any shaders.
Cc: mesa-stable
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
Reviewed-by: Faith Ekstrand <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33420>
(cherry picked from commit 2fa557d29d4d6848898bbd7ac0b457563601b374)
-
92e02eeb
by Mel Henning at 2025-02-10T11:50:48+01:00
nak/opt_copy_prop: Force alu src for IAdd2X/IAdd3X
Cc: mesa-stable
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
Reviewed-by: Faith Ekstrand <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33420>
(cherry picked from commit 48edb9cec24dbbef708cbd183d37defbe457ae94)
-
a9f218a9
by Qiang Yu at 2025-02-10T11:50:50+01:00
radeonsi: fix has_non_uniform_tex_access info
Fixes: f859436b557 ("radeonsi: add has_non_uniform_tex_access shader info")
Tested-by: Mike Lothian <mike@fireburn.co.uk>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33440>
(cherry picked from commit c805ea6792a004e77f9b9897aff10b0bb876e676)
-
88cd974a
by Qiang Yu at 2025-02-10T11:50:51+01:00
radeonsi: fix GravityMark corruption when use aco
aco may use smem load for ssbo when possible.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12518
Cc: mesa-stable
Tested-by: Mike Lothian <mike@fireburn.co.uk>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33440>
(cherry picked from commit ee9edd46254884ab7fe6c96518e23d421d5f5344)
-
33065515
by Eric Engestrom at 2025-02-11T18:05:18+01:00
.pick_status.json: Update to 18f0807408425da11cb1d8cd1d73de369317440d
-
93d004ab
by Iago Toral Quiroga at 2025-02-11T18:05:24+01:00
v3dv: fix crash on 32-bit builds
Command buffer private object destroy callbacks receive a 64-integer so their
signature should respect that to avoid alignment issues when passing pointers.
This is the same we were already doing for color pipelines, but now for D/S
pipelines too.
Fixes crash on 32-bit build with:
dEQP-VK.synchronization2.op.single_queue.fence.write_clear_attachments_read_copy_image_to_buffer.image_128x128_d16_unorm
Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33463>
(cherry picked from commit daa48cbaef9584a9880f8107e5f03e27e246a8f5)
-
f66772f1
by Yiwei Zhang at 2025-02-11T18:05:26+01:00
venus: enable VK_EXT_external_memory_acquire_unmodified if needed
When used internally, we have to conditionally enable it behind the app.
Fixes: 969cb02de73 ("venus: chain VkExternalMemoryAcquireUnmodifiedEXT for wsi ownership transfers")
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33419>
(cherry picked from commit 1d668233ba6aa9288a07cb75b3948ae9afb69bd9)
-
415338d3
by Yiwei Zhang at 2025-02-11T18:05:27+01:00
venus: use dedicated allocation for ANB image memory import
On most platforms, deidcated allocation is preferred for the dma-buf
import done by Venus. In special cases, this is required but missed so
far.
Cc: mesa-stable
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33434>
(cherry picked from commit d92f9c3d51fe72c5928d6bf8f3d044d3b13f43f3)
-
2ea6b340
by Ian Romanick at 2025-02-11T18:05:27+01:00
brw/copy: Fix handling of offset in extract_imm
The offset is measured in bytes. Some of the code here acted as though
it were measured in src.type units. Also modify the assertion to check
that all extracted bits come from data in the immediate value.
Fixes: 580e1c592d90 ("intel/brw: Introduce a new SSA-based copy propagation pass")
Fixes: da395e6985a ("intel/brw: Fix extract_imm for subregion reads of 64-bit immediates")
Yes, I missed this error *twice* in code review.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33049>
(cherry picked from commit ac4b93571cfba02bcbd589f2008f615ecf1813c4)
-
b8619693
by David Rosca at 2025-02-11T18:05:33+01:00
radeonsi/video: Avoid stream handle duplicates in PID namespace
Add current time when generating the stream handle initial value.
When running inside PID namespace there can be multiple processes
in the system that will share the same PID and with current code
this could result in the same stream handle being used at the same
time from different processes.
This can easily happen with Flatpak when running two instances of the
same application - both processes will have the same PID and we
will use the same stream handles.
For older UVDs kernel will reject the CS if we use duplicated handles.
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12575
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33374>
(cherry picked from commit fdf747af3a7e6aa3101220005767515594c2ce53)
-
9fd4deea
by Patrick Lerda at 2025-02-11T18:07:31+01:00
r600: fix r600_init_shader_caps() has_atomics issue
Indeed, has_atomics is not yet initialized at the time of the
call of r600_init_shader_caps(). This change fixes this issue.
For instance, this issue is triggered with
"piglit/bin/clearbuffer-depth-cs-probe -auto -fbo":
clearbuffer-depth-cs-probe: ../src/gallium/drivers/r600/evergreen_state.c:5039: evergreen_emit_atomic_buffer_setup: Assertion `resource' failed.
Aborted
Fixes: 7cd606f01b99 ("r600: add r600_init_screen_caps")
Signed-off-by: Patrick Lerda <patrick9876@free.fr>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33438>
(cherry picked from commit bb44052ee95d4643f5d995b851feae55d5cd2555)
-
6285eefd
by Eric Engestrom at 2025-02-12T12:05:20+01:00
.pick_status.json: Update to 30a3d567c8b996fde86b07d2bad018013a54ff44
-
6d3863b4
by Faith Ekstrand at 2025-02-12T12:05:23+01:00
nvk: Fix scissor bounds
This code is old, copied from the old nouveau GL driver. As of Pascal,
we have have 32k images so we need 32k scissors as well. Use the
max_image_dimension() helper instead of hard-coding it.
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33478>
(cherry picked from commit 6f64962f273c901fd92ef1e012171e5fe2abbf7d)
-
015835fc
by Boris Brezillon at 2025-02-12T12:05:25+01:00
panvk/csf: Don't free the resources twice when init_render_desc_ringbuf() fails
init_queue() calls cleanup_queue() if anything fails in the middle, which
means finish_render_desc_ringbuf() will be automatically called if
init_render_desc_ringbuf() failed. Get rid of the the error path and
return directly instead. The one exception we have is the dev_addr
allocation, which needs to be explicitly freed if an error occurs between
util_vma_heap_alloc() and pan_kmod_vm_bind().
Reported-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Fixes: 5544d39f4420 ("panvk: Add a CSF backend for panvk_queue/cmd_buffer")
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33471>
(cherry picked from commit 5f3c6a0f272733ae226a9cc0f0d551b081961b0d)
-
35063c77
by Boris Brezillon at 2025-02-12T12:05:26+01:00
panvk: Initialize device virtual address space after the VM creation
Make sure we're not lacking a lock/heap destroy when we fail to
create the VM.
Fixes: 53fb1d99cac9 ("panvk: Transition to explicit VA assignment on v10+")
Reported-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33471>
(cherry picked from commit 4ae12cc6ff1e3cad5e255bd42aa98bdb937ca2be)
-
cef16493
by Lionel Landwerlin at 2025-02-12T12:05:27+01:00
anv,driconf: Add sampler coordinate precision workaround for Dynasty Warriors
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12584
Cc: mesa-stable
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33488>
(cherry picked from commit 4864c0a5fc33ebc34f906e6a3ee87dd49c252d7f)
-
326ea586
by David Rosca at 2025-02-12T12:05:28+01:00
frontends/vdpau: Set H264 chroma_format_idc
We don't get the actual value from VDPAU, so hardcode to 4:2:0.
Cc: mesa-stable
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33396>
(cherry picked from commit c28702c35a5815dfe97dc661d671f80cb970f62d)
-
7ee94ef0
by David Rosca at 2025-02-12T12:05:29+01:00
radeonsi/vcn: Set correct chroma format for H264 decode
Fixes decoding monochrome (chroma_format_idc = 0).
Cc: mesa-stable
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33396>
(cherry picked from commit 110d406302122df84fbeb82dab015591dc1b985e)
-
0c862e61
by David Rosca at 2025-02-12T12:05:30+01:00
radeonsi/uvd: Set correct chroma format for H264 decode
Fixes decoding monochrome (chroma_format_idc = 0).
Cc: mesa-stable
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33396>
(cherry picked from commit 441252e9e1b71acd6c142a47b02e1532ecc1c284)
-
7bd126c0
by Mike Blumenkrantz at 2025-02-12T12:05:31+01:00
zink: only enable unsynchronized_texture_subdata with HIC
this is otherwise useless
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33484>
(cherry picked from commit 23040782614bed020156d2a43eadd47fa06ad387)
-
a917c1f0
by Mike Blumenkrantz at 2025-02-12T12:05:31+01:00
zink: never try to oom flush during unsync texture upload
this is very broken
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33484>
(cherry picked from commit 52dfe1e955101163eab10de462f0b71fe5999804)
-
7e549546
by Eric Engestrom at 2025-02-12T12:05:32+01:00
ci: run containers builds on staging branches
Fixes: 7152f343d6d73d2fbc05 ("ci: only trigger the CI for release managers when pushing to staging branch")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33468>
(cherry picked from commit b08f9a2dbd57057648e03d4441cbce24f675a201)
-
017ea578
by Mel Henning at 2025-02-12T12:05:39+01:00
driconf: force_vk_vendor on Deep Rock Galactic+NVK
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33502>
(cherry picked from commit f887ae2f3ce845e496634d1a5873ecc1b1b0d625)
-
7b1e9792
by Eric Engestrom at 2025-02-12T12:59:42+01:00
.pick_status.json: Mark 13e987669ccee373948753e113e9ce7e9bdbef55 as denominated
-
3a8abfa3
by Eric Engestrom at 2025-02-12T17:04:29+01:00
VERSION: bump for 25.0.0-rc3
-
1e1f77d4
by Timo Aaltonen at 2025-02-13T10:16:03+02:00
Merge branch 'upstream-experimental' into debian-experimental
-
e629582b
by Timo Aaltonen at 2025-02-13T10:16:44+02:00
version bump
-
745bdee7
by Timo Aaltonen at 2025-02-13T13:07:25+02:00
releasing package mesa version 25.0.0~rc3-1