Timo Aaltonen pushed to branch debian-unstable at X Strike Force / lib / mesa


Commits:
f2999bf7 by Dylan Baker at 2024-09-06T08:56:27-07:00
docs: update sha sums for 24.2.2

- - - - -
9b3264fc by Eric Engestrom at 2024-09-16T18:54:31+02:00
.pick_status.json: Update to 8b272c8d8c419ecb7aee0257563c9489b675f4ef

- - - - -
da902ab6 by Jose Maria Casanova Crespo at 2024-09-16T18:57:32+02:00
v3d: v3d_resource Use LINEAR layout for importing with INVALID modifier

v3d_resource_from_handle when importing a DRM_FORMAT_MOD_INVALID
considered that if we had a render-only device the resource layout was
linear and if we didn't have render-only the resource layout was tiled.

This change honors the resource creation with the SCANOUT flag
independently of the availability of the render-only for the
DRM_FORMAT_MOD_INVALID modifier.

It also fixes most of the failing piglit text for:

spec@ext_image_dma_buf_import@ext_image_dma_buf_import.*

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11594
Cc: mesa-stable
Reviewed-by: Iago Toral Quiroga <ito...@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30946>
(cherry picked from commit 5fed6bee19be40782a2e3bc76648d3177b4e02d9)

- - - - -
3b938aa4 by Karol Herbst at 2024-09-16T18:57:44+02:00
rusticl: do not use CL vector types in bindings and code

Bindgen seems to miscompile them and I kinda thought I've done this
already in the past, but apparently not.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11722
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30710>
(cherry picked from commit 93e96da9458c9d0348f2390dc0bea67cf140b1a0)

- - - - -
064d484d by Rob Clark at 2024-09-16T19:00:06+02:00
freedreno/drm: Fix ring_heap flags

RING_FLAGS has FD_BO_HINT_COMMAND so we can't mask out the _FD_BO_HINTS.

Fixes: a3fb2b07aa29 ("freedreno: Add bo usage hints")
Signed-off-by: Rob Clark <robdcl...@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31050>
(cherry picked from commit 0adaf920147a105704dda2f79299559058e68740)

- - - - -
344af7b9 by Samuel Pitoiset at 2024-09-16T19:00:07+02:00
radv: fix allocating sparse descriptor buffers in the 32-bit addr space

There are two bugs:
- VK_KHR_maintenance5 added VkBufferUsageFlags2CreateInfoKHR, so
checking for pCreateInfo->usage is incomplete
- this was also missing the usage flag for descriptor buffer with samplers

This fixes recent VKCTS coverage in
dEQP-VK.binding_model.descriptor_buffer.*.

Fixes: 059391b6311 ("radv: use 32bit va range for sparse descriptor 
buffers")
Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31054>
(cherry picked from commit eab5b453cd4ff5ff1f5d056f7a1fdb0cd7a6543e)

- - - - -
8e4b36ac by Mohamed Ahmed at 2024-09-16T19:00:08+02:00
nvk: Use stride in the explicit modifier case for linear images

Fixes: f1fdffa1b2e5 (nvk: Support image creation with modifiers)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31045>
(cherry picked from commit af15cceff44d7ecc234fe61d2d81bf811c9e2e66)

- - - - -
dc465140 by Samuel Pitoiset at 2024-09-16T19:00:09+02:00
radv: disable shaders linking with ESO when nextStage of VS/TES isn't 
present

For example, if the application wants to create linked shaders with
VS/TCS/TES but the next stage of TES isn't present, the driver would
have to compile shader variants (ie. nextStage could be NONE,TES,GS).

This isn't supported by RADV without re-compiling all shaders twice,
and it's also likely less optimal than compiling unlinked shaders.

This fixes recent CTS
dEQP-VK.shader_object.link.linked_linked_linked_unlinked_unlinked.*

Fixes: 37d7c2172b2 ("radv: add support for creating/destroying shader 
objects")
Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31062>
(cherry picked from commit 868272c2e9b543a52634676732689761aa394e9d)

- - - - -
97570a03 by Konstantin Seurer at 2024-09-16T19:04:37+02:00
gallium,st/mesa: Add and set pipe_image_view::is_2d_view_of_3d

This will be useful for lavapipe since the Z-coordinate has to be
ignored for 2D view accesses.

Reviewed-By: Mike Blumenkrantz <michael.blumenkra...@gmail.com>
Reviewed-by: Dave Airlie <airl...@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31038>
(cherry picked from commit aa072b137bd8cda592fe9035bfc24591bede4ace)

- - - - -
412fbc16 by Konstantin Seurer at 2024-09-16T19:04:37+02:00
lavapipe: Implement VK_EXT_image_2d_view_of_3d with sparse textures

The following things needed to be fixed:
- lp_build_tiled_sample_offset has to use the block size of the
  underlying 3D texture. Remaining calculations use the dimensions of
  the view since the z-coordinate is undefined and has to be ignored.
- The layer offset must be calculated using llvmpipe_get_texel_offset.

Fixes: d747c4a ("lavapipe: Implement sparse buffers and images")
Reviewed-By: Mike Blumenkrantz <michael.blumenkra...@gmail.com>
Reviewed-by: Dave Airlie <airl...@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31038>
(cherry picked from commit 1ad1b356fc3713cabc0feea27e5aee56cae2199e)

- - - - -
3ab24753 by Konstantin Seurer at 2024-09-16T19:04:37+02:00
lavapipe: Do not adjust imageGranularity for different block sizes

Fixes: d747c4a ("lavapipe: Implement sparse buffers and images")
Reviewed-By: Mike Blumenkrantz <michael.blumenkra...@gmail.com>
Reviewed-by: Dave Airlie <airl...@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31038>
(cherry picked from commit a53f11261f43455dc977cbe1daaa45121cea62da)

- - - - -
9b83bf0b by Mary Guillemard at 2024-09-16T19:05:00+02:00
panvk: Ensure to clear dirty dynamic state in panvk_cmd_draw

This was missing and causing dynamic state to remain dirty once set.

Signed-off-by: Mary Guillemard <mary.guillem...@collabora.com>
Fixes: 1f57aae4e4f ("panvk: Move vkCmdDraw* functions to their own 
file")
Reviewed-by: Boris Brezillon <boris.brezil...@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31089>
(cherry picked from commit e47e94f9f2a3012c21f580de7a101733cc8f047e)

- - - - -
1d257834 by Juan A. Suarez Romero at 2024-09-16T19:08:24+02:00
Revert "v3d: never replace a mapped bo"

This reverts commit 0b85476d864b8894396b2b1c74da5889850bdc6e.

When mapping a BO in v3d, the map keeps forever until freeing the BO. If
later the map is required again, we reuse the map instead of doing the
map from scratch.

This saves calling map/unmap continuously, as well as a mechanism to
keep control of the map usage, like a reference count.

Thus, when reallocating a BO, if it is mapped it just means the map was
used in the past, but not necessarily it is in use right now.

The reverted commit was causing performance regressions in multiple
applications, reducing from 60fps to 5fps.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11783
Backport-to: 24.2
Reviewed-by: Iago Toral Quiroga <ito...@igalia.com>
Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31049>
(cherry picked from commit c84be162a1eb3375ea068facabe4257eb74a4181)

- - - - -
518e7dd2 by Juan A. Suarez Romero at 2024-09-16T19:08:24+02:00
v3d: do not rebind a sampler view already rebound

As sampler view can be used multiple times, do not attempt to rebind if
it was already bound.

This fixes a crash when replaying half-life-2-v2.trace.

Backport-to: 24.2
Reviewed-by: Iago Toral Quiroga <ito...@igalia.com>
Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31049>
(cherry picked from commit 8338e2082e73feeccc7d54aeaba04602b6133ce4)

- - - - -
b3a3758c by Eric Engestrom at 2024-09-16T19:09:24+02:00
.pick_status.json: Mark 5632a6e24f9053385e01a6464599ef4ba00e0c98 as denominated

- - - - -
e06a183e by Daniel Stone at 2024-09-16T19:09:28+02:00
ci/alpine: Fix shellcheck errors

Signed-off-by: Daniel Stone <dani...@collabora.com>
Fixes: 34753cefd828 ("ci/alpine: use llvm variables")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30978>
(cherry picked from commit 9937ea5c1ce916cbbacaa3dfac459890b138c6e9)

- - - - -
cc79ae7c by Lionel Landwerlin at 2024-09-16T19:09:29+02:00
anv: selectively disable binding table usage on Gfx20

Workaround broken Gfx20 dynamic BTI.

Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Fixes: e9f63df2f2 ("intel/dev: Enable LNL PCI IDs without 
INTEL_FORCE_PROBE")
Backport-to: 24.2
Reviewed-by: Rohan Garg <rohan.g...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30931>
(cherry picked from commit 05dc524c75da7a406648baee920ef1382eb0a16f)

- - - - -
4a30e3ba by Jesse Natalie at 2024-09-16T19:09:30+02:00
d3d12: Fix shader selector hash to hash array instead of pointer-to-array

Fixes: 116d0bf7 ("d3d12: Set fractional var masks")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31083>
(cherry picked from commit 0ae4afe0340fea44566bb1c8199d08bac423fb4e)

- - - - -
272a53db by Sviatoslav Peleshko at 2024-09-16T19:11:56+02:00
brw: Fix mov cmod propagation when there's int signedness mismatch

If there's difference between scan_inst dest type and inst src type we
should be more careful, because difference in signedness can cause
incorrect results after the propagation.

Updated ror-default.trace hash, as the change fixes misrendering there.

Fixes: b23432c5 ("intel/fs: Fix a cmod prop bug when the source type of a 
mov doesn't match the dest type of scan_inst")
Signed-off-by: Sviatoslav Peleshko <sviatoslav.peles...@globallogic.com>
Reviewed-by: Ian Romanick <ian.d.roman...@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30998>
(cherry picked from commit fa51595c7f1fb0311371a256cc0a5c1cc2e11d9a)

- - - - -
fd84af25 by Jordan Justen at 2024-09-16T19:11:56+02:00
intel/dev: Fix warning for max_threads_per_psd when devinfo->verx10 == 120

Although we don't want to rely on hwconfig for devinfo->verx10 == 120,
due to the dependence on closed source software, we do check to see if
hwconfig reports different values in the DEVINFO_HWCONFIG macro.

Matt was seeing this warning on 8086:a7a0:

> MESA: warning: INTEL_HWCONFIG_TOTAL_PS_THREADS (128) != 
devinfo->max_threads_per_psd (64)

Reported-by: Matt Turner <matts...@gmail.com>
Fixes: 3e4f73b3a0e ("intel/dev: Update hwconfig => max_threads_per_psd 
for Xe2")
Signed-off-by: Jordan Justen <jordan.l.jus...@intel.com>
Reviewed-by: Kenneth Graunke <kenn...@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31077>
(cherry picked from commit c5c349a690288c8f3a4caa888bea37cbb851d2f0)

- - - - -
a3a75c63 by Dave Airlie at 2024-09-16T19:11:56+02:00
vl/bitstream: use an int32_t for se encoding.

This seems to fix a bug found with radv and ffmpeg encoding

Fixes: 1782ab4d8bab ("util: add a bitstream encoder for video stream 
headers.")
Acked-by: Hyunjun Ko <zz...@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31086>
(cherry picked from commit 62320232deaf95095028893beb5cbe6175f3b630)

- - - - -
8df5f285 by Dave Airlie at 2024-09-16T20:23:25+02:00
radv/video: handling encoding both sps and pps in same buffer

This API should allow encoding these back to back into the same
buffer, so handle it properly.

Cc: mesa-stable
Reviewed-by: Hyunjun Ko <zz...@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31086>
(cherry picked from commit 7531f6fd9c678689a0524be373b56cc250187077)

[Eric: drop anv changes, as 3ec8f7f99598076d4cc30 "anv/video: initial
support for h264 encoding" is not in 24.2]

- - - - -
49a6ecb5 by David Heidelberg at 2024-09-16T20:23:48+02:00
nir_lower_mem_access_bit_sizes: Assert when 0 components or bits are requested

Prevent the accidental passing of 0 components or bits, as it makes no sense.

Cc: mesa-stable
Reviewed-by: Karol Herbst <kher...@redhat.com>
Reviewed-by: Faith Ekstrand <faith.ekstr...@collabora.com>
Suggested-by: Karol Herbst <kher...@redhat.com>
Signed-off-by: David Heidelberg <da...@ixit.cz>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31103>
(cherry picked from commit 6bf7b5bcd804f7c6e8b678b109138a1b733e4e54)

- - - - -
e66946ff by Mike Blumenkrantz at 2024-09-16T20:23:49+02:00
zink: delete erroneous kopper assert

certain present modes aren't supported by zink,
but that doesn't mean the driver needs to crash if
the driver supports them

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31121>
(cherry picked from commit 3db1a91bfe949bcda24fd3b8b7324b0616973c2d)

- - - - -
9e93ce2d by Iván Briano at 2024-09-16T20:23:58+02:00
anv: be consistent about aux usage with modifiers

In c1a7d520f3f, we disabled AUX usage for imported images when they are
using an explicit modifier that doesn't support it.
We need to do the same when the modifier is picked by the driver,
otherwise the memory requirements reported for an exported image don't
match those we report for import.

Fixes: c1a7d520f3f ("anv: Disable aux if the explicit modifier lacks 
it")

Reviewed-by: Nanley Chery <nanley.g.ch...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31051>
(cherry picked from commit e4ee0a2ce1a7f47a45964bef3d51bc8f38b4b926)

- - - - -
dcaf22d0 by David Rosca at 2024-09-16T20:24:01+02:00
meson/megadriver: Add megadriver_libdir argument

To be able to install symlinks to megadriver in different directory.

Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31079>
(cherry picked from commit 39f7ed5412a65aa32135a22acbd9e2bcb208165a)

- - - - -
b51ea6a4 by David Rosca at 2024-09-16T20:31:52+02:00
targets/va: Build va driver into libgallium when building with dri

Currently va driver and dri driver are two separate libraries, when
radeonsi is enabled both libraries contain amdgpu winsys. radeonsi
needs shared winsys to ensure sync between OpenGL and VAAPI works.
Build va driver into libgallium to avoid having two instances of amdgpu
winsys.

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11598
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31079>
(cherry picked from commit 212d57f7e6701a4f307c2c049a0e3eccfce58965)

- - - - -
8a96aa9a by David Rosca at 2024-09-16T20:32:35+02:00
targets/vdpau: Build vdpau driver into libgallium when building with dri

Currently vdpau driver and dri driver are two separate libraries, when
radeonsi is enabled both libraries contain amdgpu winsys. radeonsi
needs shared winsys to ensure sync between OpenGL and VDPAU works.
Build vdpau driver into libgallium to avoid having two instances of amdgpu
winsys.

Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31079>
(cherry picked from commit b6faf586e65be3a0c6c18e4ba66b9cb10892e9b9)

- - - - -
a6205717 by Sviatoslav Peleshko at 2024-09-16T20:40:44+02:00
mesa: Reset vbo attributes after flushing them to Current in glPopAttrib

Fixes: 2fe771f4 ("vbo: use FlushVertices flags properly and clear 
NeedFlush correctly")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11498
Signed-off-by: Sviatoslav Peleshko <sviatoslav.peles...@globallogic.com>
Reviewed-by: Marek Olšák <marek.ol...@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31107>
(cherry picked from commit 1aa7218a1f779ba70eeaec9c6d8997975f3abd0f)

- - - - -
4342a4ea by Boris Brezillon at 2024-09-16T20:40:45+02:00
pan/kmod: Don't cap VM bind operations to one

Looks like some leftovers from a debugging session.

Fixes: 97f6a62f7ef8 ("pan/kmod: Add a backend for panthor")
Signed-off-by: Boris Brezillon <boris.brezil...@collabora.com>
Reviewed-by: Rebecca Mckeever <rebecca.mckee...@collabora.com>
Reviewed-by: Mary Guillemard <mary.guillem...@collabora.com>
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simon...@arm.com>
Reviewed-by: John Anthony <john.anth...@arm.com>
Acked-by: Erik Faye-Lund <erik.faye-l...@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30969>
(cherry picked from commit 2149a04de3efb0dc2ae9cfb82653b75799f4365b)

- - - - -
1efb5eb6 by David Heidelberg at 2024-09-16T20:44:27+02:00
freedreno/ir3: Use nir_lower_mem_access_bit_sizes instead custom lowering

 - More robust.
 - Handles properly UBO cases, needed for proper OpenCL support (rusticl).
 - Resolved KHR-GL46.gpu_shader_fp64.fp64.max_uniform_components failure.

Fixes: f5ce806ed73a ("freedreno/ir3: Add wide load/store lowering")
Reviewed-by: Rob Clark <robdcl...@freedesktop.org>
Co-authored-by: Rob Clark <robcl...@freedesktop.org>
Signed-off-by: David Heidelberg <da...@ixit.cz>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30961>
(cherry picked from commit 78a121b8cfc446ecb90bcbe2923f9a86703a06e8)

- - - - -
45e15734 by Mike Blumenkrantz at 2024-09-16T20:44:29+02:00
zink: fix sparse bo deallocation

this loop was not correctly iterating the dynarray

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31124>
(cherry picked from commit bb16203a8d8ee8934a53bc00801e8a85babef59c)

- - - - -
80c9ca15 by Dave Airlie at 2024-09-16T20:44:31+02:00
radv: Fix radeon_enc_code_ue with values over 2^16

This ports this fixes from radeonsi:

138ba42a8705 ("radeonsi/vcn: Fix radeon_enc_code_ue with values over 
2^16")

Cc: mesa-stable
Reviewed-by: Lynne <d...@lynne.ee>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31135>
(cherry picked from commit e89f4a48fd1296aec98cdce95834277cb0834205)

- - - - -
cb191d1b by Dave Airlie at 2024-09-16T20:44:32+02:00
radv/video: fix encode reference slot counting

This needs the max of slot indices.

Fixes: 54d499818ca9 ("radv/video: add initial support for encoding with 
h264.")
Reviewed-by: Lynne <d...@lynne.ee>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31135>
(cherry picked from commit 8d08e92199979237e28c6e768b6f8d72a41891e9)

- - - - -
4a8d3deb by Dave Airlie at 2024-09-16T20:44:33+02:00
radv/video/enc: report pps overrides in feedback for h265

radv does change h265 usually so report in feedback info.

Fixes: 967e4e09dee8 ("radv/video: add h265 encode support")
Reviewed-by: Lynne <d...@lynne.ee>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31135>
(cherry picked from commit 7c6e3c70b6c18a4ccd1e6c13d3d1e3561be9d2ec)

- - - - -
099de7a9 by Kenneth Graunke at 2024-09-16T20:44:35+02:00
intel/brw: Use NUM_BRW_OPCODES in can_omit_write() check

The intention here is to detect ALU hardware instructions, but not
virtual instructions that haven't been explicitly whitelisted.

For some reason we had arbitrarily hardcoded 128 here, but our virtual
opcodes don't start at 128.  They start at NUM_BRW_OPCODES.  So, use
that instead.

This prevents regressions later when we delete some opcodes, shifting
some virtual opcodes into the 72-128 range.

Cc: mesa-stable
Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Reviewed-by: Caio Oliveira <caio.olive...@intel.com>
Reviewed-by: Rohan Garg <rohan.g...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30828>
(cherry picked from commit ab0b9b679202dac10f390ffeb53a983ac22ba26f)

- - - - -
ce70d51e by Georg Lehmann at 2024-09-16T20:44:36+02:00
nir/opt_sink: do not sink load_ubo_vec4 out of loops

Same reason as for load_ubo.

Fixes: d199d65c3af ("nir/nir_opt_move,sink: Include load_ubo_vec4 as a 
load_ubo instr.")

Reviewed-by: Daniel Schürmann <dan...@schuermann.dev>
Reviewed-by: Alyssa Rosenzweig <aly...@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30906>
(cherry picked from commit 1ec3cc2aed4f8381879ac52e09aafb977e9aabdf)

- - - - -
be004d47 by Georg Lehmann at 2024-09-16T20:44:37+02:00
nir/opt_sink: do not sink inverse_ballot out of loops

Inverse_ballot result is undefined if the input is not dynamically uniform.
And sinking out of loops might make the input divergent.

Fixes: 18a0ff137ff ("nir: sink/move inverse_ballot like moves")

Reviewed-by: Daniel Schürmann <dan...@schuermann.dev>
Reviewed-by: Alyssa Rosenzweig <aly...@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30906>
(cherry picked from commit 91f8e32a85fa31afc37bb1308927f5b890410854)

- - - - -
618c4c12 by Rhys Perry at 2024-09-16T20:44:38+02:00
nir/opt_if: fix fighting between split_alu_of_phi and peel_initial_break

Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
Reviewed-by: Daniel Schürmann <dan...@schuermann.dev>
Fixes: 6b4b04473986 ("nir/opt_loop: add loop peeling optimization")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11822
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31002>
(cherry picked from commit 4f44a944bb2f671f9c7c83e91493c54e0f6f5b3c)

- - - - -
1e0d723c by Rhys Perry at 2024-09-16T20:44:39+02:00
nir/opt_loop: skip peeling if the break is non-trivial

If this nir_if contains continues or other breaks, we can't move it
outside the loop.

Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
Reviewed-by: Daniel Schürmann <dan...@schuermann.dev>
Fixes: 6b4b04473986 ("nir/opt_loop: add loop peeling optimization")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31002>
(cherry picked from commit af3b099e0aee49fe37e41698ec02d6ad74686a9f)

- - - - -
7f69a490 by Rhys Perry at 2024-09-16T20:44:40+02:00
nir/opt_loop: skip peeling if the loop ends with any kind of jump

Any kind of jump prevents us from moving it to the top of the loop, not
just breaks.

Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
Reviewed-by: Daniel Schürmann <dan...@schuermann.dev>
Fixes: 6b4b04473986 ("nir/opt_loop: add loop peeling optimization")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31002>
(cherry picked from commit 64ac601049042b4be3ca610a8d75aa79cf893fdc)

- - - - -
b73ffb6b by Konstantin Seurer at 2024-09-16T20:44:41+02:00
radv: Work around broken terrain in Warhammer III

Hiding storage support for depth formats forces the game to take a
different, working path for terrain height map initialization.

cc: mesa-stable

Reviewed-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31152>
(cherry picked from commit bacf9752f4dbfd0c11995bd4cce0050cb8c2a606)

- - - - -
4cb4dc1b by Lucas Stach at 2024-09-16T20:44:42+02:00
etnaviv: emit all PA shader attributes

While the rnndb fix increased the size of the driver internal
structures to be able to hold all data for the currently supported
number of varyings, it didn't change the state emission, so only
a subset of the PA shader attribute states was emitted.

Use the define from rnndb to avoid such inconsistencies.

Fixes: 11ffb20b7072 ("etnaviv: Update headers from rnndb")
Signed-off-by: Lucas Stach <l.st...@pengutronix.de>
Reviewed-by: Christian Gmeiner <cgmei...@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31032>
(cherry picked from commit a71003b1b88fa603a07f79b8038f52bd2fdd0f4a)

- - - - -
486539be by Dylan Baker at 2024-09-16T20:44:43+02:00
iris: Run checks that do not require resources before creating them

This avoids the need to free the resource if we decide to return early.

Fixes: c8df09ebd4f ("iris: More gracefully fail in 
resource_from_user_memory")
Reviewed-by: Nanley Chery <nanley.g.ch...@intel.com>
Reviewed-by: Rohan Garg <rohan.g...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30306>
(cherry picked from commit 0422eed255f0fa7bc2c33d7b61145e6070c2b5ac)

- - - - -
7e5192cb by Dylan Baker at 2024-09-16T20:51:46+02:00
anv: if queue is NULL in vm_bind return early

In the error handling path we end up creating a vk_sync and then later
we vk_sync_wait() on it. If that wait fails somehow we'll end up calling
vk_queue_set_lost(&queue->vk, ...) which would segfault if queue is
NULL.

If we end up in this situation (no queue), return directly whatever the
backend's vm_bind function returned, propagating the error up if
necessary.

Fixes: dd5362c78a1 ("anv/xe: try harder when the vm_bind ioctl fails")
Reviewed-by: Paulo Zanoni <paulo.r.zan...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31048>
(cherry picked from commit ed8d1d3c9b18172debae808820e6b6a371e7dbc3)

- - - - -
c489fe8d by llyyr at 2024-09-16T20:51:56+02:00
vulkan/wsi/wayland: fix suboptimal flag being ignored with explicit sync

Signed-off-by: llyyr <llyyr.pub...@gmail.com>
Fixes: 5f7a5a27ef1b ("wsi: Implement linux-drm-syncobj-v1")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31122>
(cherry picked from commit 5450306a36355327a1b1eedceeacd787482c08e0)

- - - - -
e961135e by David Heidelberg at 2024-09-16T20:52:05+02:00
ci/freedreno: move disabled a530 entries back to main gitlab-ci.yml

Fixes: 9442571664e5 ("ci: separate hiden jobs to -inc.yml files")
Signed-off-by: David Heidelberg <da...@ixit.cz>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31177>
(cherry picked from commit 52c014a453a3e6baf20444705f52d5cfcc1589e4)

- - - - -
54630d22 by Rohan Garg at 2024-09-16T20:52:34+02:00
intel/compiler: use the correct cache enum for loads and stores

Fixes: 74efde7 ('intel/brw/xehp+: Drop redundant arguments of 
lsc_msg_desc*()')

Signed-off-by: Rohan Garg <rohan.g...@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30742>
(cherry picked from commit daea7e1651dc1d43e645ac3b9d867767257e014d)

- - - - -
cab8b6df by Samuel Pitoiset at 2024-09-17T17:12:18+02:00
radv/rt: skip shaders cache for pipelines created with the capture/replay flag

Otherwise, if a pipeline is found in cache it will use a different
shader arena for allocation and the capture replay shader group handles
won't match.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31188>
(cherry picked from commit f88cf56087c07f6a3c2f530d140405368d7237cd)

- - - - -
4440f16c by Eric Engestrom at 2024-09-17T17:13:35+02:00
.pick_status.json: Update to 45377dc5c46c4f449307c7efc28a1b66a57cf6aa

- - - - -
2e32cdaf by Samuel Pitoiset at 2024-09-17T17:13:36+02:00
radv: fix lowering the view index to an input varying for FS

When multiview is used and the FS is compiled separately with GPL, the
view index still needs to be lowered, otherwise it's crashing later.

The lowering doesn't need to know the previous stage because ViewIndex
is a global thing (ie. it's neither a per-vertex or a per-primitive
varying).

This fixes recent
dEQP-VK.pipeline.pipeline_library.graphics_library.misc.other.view_index_from_device_index_*_pre_rasterization

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31192>
(cherry picked from commit 656d7e887ab1711c0a3f6606b53995cef878cad7)

- - - - -
a0da2bc1 by Tapani Pälli at 2024-09-17T17:13:37+02:00
iris: fix issues with memory object updates via glBufferSubData

Disable aysnc mapping in case we are updating a external memobj.

Fixes following Piglit tests:
   spec@ext_external_objects@vk-pix-buf-update-errors
   spec@ext_external_objects@vk-vert-buf-update-errors

Cc: mesa-stable
Signed-off-by: Tapani Pälli <tapani.pa...@intel.com>
Reviewed-by: José Roberto de Souza <jose.so...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29303>
(cherry picked from commit 0e02de5a50cbbd89db5715ecc534d3b4c546d882)

- - - - -
00c6a487 by Lionel Landwerlin at 2024-09-17T17:13:37+02:00
brw: use a builder of the size of the physical register for uniforms

Should avoid any partial write non-sense on Xe2+.

Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Fixes: 339630ab05 ("brw: enable A64 loads source rematerialization")
Reviewed-by: Sagar Ghuge <sagar.gh...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31010>
(cherry picked from commit c16b27f66f2711480694231022bd02f53aef7c0d)

- - - - -
0722d2a0 by Lionel Landwerlin at 2024-09-17T17:13:38+02:00
brw: fix vecN rebuilds

When loading a 64bit address from the push constants, we'll load a
vec2, so we need to allocate 2 GRFs and MOV each component.

Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11831
Fixes: 339630ab05 ("brw: enable A64 loads source rematerialization")
Reviewed-by: Sagar Ghuge <sagar.gh...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31010>
(cherry picked from commit 45377dc5c46c4f449307c7efc28a1b66a57cf6aa)

- - - - -
318f75ef by Eric Engestrom at 2024-09-18T10:25:47+02:00
.pick_status.json: Update to ad3e6bb06a8e598be2381dfe2f5947f872b76bcd

- - - - -
cb29f5e0 by David Rosca at 2024-09-18T10:25:50+02:00
radeonsi: Disable EFC on VCN 2.2

VCN 2.2 doesn't support EFC.

Cc: mesa-stable

Reviewed-by: Leo Liu <leo....@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31198>
(cherry picked from commit 009017c33cc6e20b98763eb23ef43beb8cbe34b4)

- - - - -
f35ed83b by Georg Lehmann at 2024-09-18T10:25:52+02:00
nir/instr_set: fix fp_fast_math

We can't just ignore the flags of the match, we need the union.

Fixes: 666647acaed ("nir: track some float controls bits per 
instruction")

Reviewed-by: Faith Ekstrand <faith.ekstr...@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31195>
(cherry picked from commit a3d6a770c0ca17e1d0ac69a614c945712ac8d4c1)

- - - - -
0a9bd166 by Samuel Pitoiset at 2024-09-18T10:25:53+02:00
radv,aco: fix legacy vertex attributes when offset >= stride on GFX6-7

The indexing needs to be adjusted and the best solution seems to
use soffset instead of const_offset, it's simpler and generate less
prologs than passing the vertex binding strides to the prolog.

Fixes dEQP-VK.pipeline.*.vertex_input.legacy_vertex_attributes.*stride_1*.

Fixes: 38cbc3c605f ("radv: advertise VK_EXT_legacy_vertex_attributes")
Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31209>
(cherry picked from commit 15b1790a1e9ef12bcfa0259dea370c3206de4c26)

- - - - -
b9fd84e9 by Samuel Pitoiset at 2024-09-18T10:28:07+02:00
radv: fix lowering VS inputs when offset >= stride on GFX6-7

This was supposed to be >=.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31209>
(cherry picked from commit ad3e6bb06a8e598be2381dfe2f5947f872b76bcd)

- - - - -
8a1843d3 by Eric Engestrom at 2024-09-18T18:28:24+02:00
docs: add release notes for 24.2.3

- - - - -
b235da67 by Eric Engestrom at 2024-09-18T18:30:19+02:00
VERSION: bump for 24.2.3

- - - - -
d7d41493 by Timo Aaltonen at 2024-09-19T09:29:06+03:00
Merge branch 'upstream-unstable' into debian-unstable

- - - - -
3505a6e9 by Timo Aaltonen at 2024-09-19T09:31:42+03:00
version bump

- - - - -
e2c687b0 by Timo Aaltonen at 2024-09-20T21:56:07+03:00
patches: Fix build on armel/armhf with llvm-19.

- - - - -
aa54c4ff by Timo Aaltonen at 2024-09-20T21:57:13+03:00
releasing package mesa version 24.2.3-1

- - - - -


1 changed file:

- .gitlab-ci/container/alpine/x86_64_build.sh


The diff was not included because it is too large.


View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/mesa/-/compare/4912411ee7efb6fe04d696ad37de52d653940af2...aa54c4ff4b5f2f7ac2c4a88b304840916d420773

-- 
View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/mesa/-/compare/4912411ee7efb6fe04d696ad37de52d653940af2...aa54c4ff4b5f2f7ac2c4a88b304840916d420773
You're receiving this email because of your account on salsa.debian.org.


Reply via email to