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


Commits:
03a23fad by Dylan Baker at 2022-04-21T21:31:09-07:00
docs: Add sha256sums for 22.0.2

- - - - -
15b40c03 by Dylan Baker at 2022-04-21T21:40:18-07:00
.pick_status.json: Update to 5e84335fb578f03938468bb8ac0029f68349d330

- - - - -
149694a5 by Mike Blumenkrantz at 2022-04-21T21:47:53-07:00
wgl: support GL 4.6

somehow we never supported anything above 4.5?

cc: mesa-stable

Reviewed-by: Jesse Natalie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16085>
(cherry picked from commit f8f5b5455ae17160fb979c6a16f5304461333ad5)

- - - - -
30db77e0 by Paulo Zanoni at 2022-04-21T21:47:53-07:00
iris: fix race condition during busy tracking

The Iris code that deals with implicit tracking is protected by
bufmgr->bo_deps_lock. Before this patch, we hold this lock during
update_batch_syncobjs() but don't keep it held until we actually
submit the batch in the execbuf ioctl. This can lead to the following
race condition:

  - Context C1 generates a batch B1 that signals syncobj S1.
  - Context C2 generates a batch B2 that depends on something that B1
    from C1 is using, so we mark B2 as having to wait syncobj S1.
  - C2 calls submit_batch() before C1 does it.
  - The Kernel detects it was told to wait on syncobj S1 that was
    never even submitted, so it returns EINVAL to the execbuf ioctl.
  - We run abort() at the end of _iris_batch_flush().
    - If DEBUG is defined, we also print:
      iris: Failed to submit batchbuffer: Invalid argument

I couldn't figure out a way to reproduce this issue with real
workloads, but I was able to write a small reproducer to trigger this.
Basically it's a little GL program that has lots of contexts running
in different threads submitting compute shaders that keep using the
same SSBOs. I'll submit this as a piglit test. Edit: Tapani found a
dEQP test case which fails intermintently without this fix, so I'm not
sure a new Piglit is worth it now.

The solution itself is quite simple: just keep bo_deps_lock held all
the way from update_batch_syncobjs() until ioctl(). In order to make
that easier we just call update_batch_syncobjs() a little later. We
have to drop the lock as soon as the ioctl returns because removing
the references on the buffers would trigger other functions to try to
grab the lock again, leading to deadlocks.

Thanks to Kenneth Graunke for pointing out this issue.

This has also been confirmed to fix a dEQP test that was giving
intermittent failures:
  dEQP-EGL.functional.sharing.gles2.multithread.random.images.copyteximage2d.12

v2: Move decode_batch() out, just to be safe (Jason).
v3: Do it all after assembling validation_list (Ken).

Cc: mesa-stable
Fixes: 89a34cb8450a ("iris: switch to explicit busy tracking")
Tested-by: Tapani Pälli <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Signed-off-by: Paulo Zanoni <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14964>
(cherry picked from commit 3532c374de2de1655b7d56aca69588c3f5de19ee)

- - - - -
580983bb by Mike Blumenkrantz at 2022-04-21T21:47:53-07:00
zink: fix tcs control barriers for use without vk memory model

these are translated into memory+control barriers in nir, and only
the control barrier needs to be handled

these semantics match what glslang does, so they must be right

cc: mesa-stable

Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15959>
(cherry picked from commit 55baf0c676a33a29aa8fb26e506e44eed598c091)

- - - - -
a90ab003 by Mike Blumenkrantz at 2022-04-21T21:47:53-07:00
zink: fix semantics mask for compute control barriers

cc: mesa-stable

Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15959>
(cherry picked from commit 5e931cd0e18e91d896d7cb428cbe6c4f142bc51b)

- - - - -
891a34bc by Lionel Landwerlin at 2022-04-21T21:47:53-07:00
nir/divergence: handle load_global_block_intel

Signed-off-by: Lionel Landwerlin <[email protected]>
Fixes: dd39e311b336 ("nir: Add 
nir_intrinsic_{load,store}_deref_block_intel")
Reviewed-by: Timur Kristóf <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16075>
(cherry picked from commit 9f44a264623461c98368185b023d99446676e039)

Conflicts:
        src/compiler/nir/nir_divergence_analysis.c

- - - - -
40f84c4b by Filip Gawin at 2022-04-21T21:49:43-07:00
r300: Print warning when stubbing derivatives

Fixes: e1c640c3a43d741719864b35cbf855aa82be0611
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14669>
(cherry picked from commit d48c10fab38217264045064b3f48ecac0c24b7bb)

Stable changes:
 - log*_once doesn't exist in the stable branch so log* was used instead

- - - - -
1a0a361b by Dylan Baker at 2022-04-24T21:02:50-07:00
.pick_status.json: Update to a6a4bf0f1eae36cb68d5c67653ac013fe0fbde8a

- - - - -
03b9ee9e by Mike Blumenkrantz at 2022-04-24T21:03:20-07:00
zink: add synchronization for buffer clears

cc: mesa-stable

Reviewed-by: Erik Faye-Lund <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16098>
(cherry picked from commit fbece25a451bb7915891851ee5c72724974ae5e2)

- - - - -
7713235e by Pierre-Eric Pelloux-Prayer at 2022-04-24T21:03:20-07:00
ac/surface: adjust gfx9.pitch[*] based on surf->blk_w

This is the same as 8275dc1ed57, but since gfx9.pitch[...] is
used for linear surfaces since 86262b6eac0 we need to update
it as well.

Fixes: 86262b6eac0 ("radeonsi,radv: fix usages of surf_pitch")
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16053>
(cherry picked from commit fcc499d5e1deac76126de7fd0c3297298322db07)

- - - - -
3ff4eb0c by Marek Olšák at 2022-04-24T21:03:20-07:00
nir: fix an uninitialized variable valgrind warning in nir_group_loads

pass_flags is only initialized for grouped loads, so change the order

Fixes: 33b4eb149ea - nir: add new SSA instruction scheduler grouping loads into 
indirection groups

Reviewed-by: Timur Kristóf <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16090>
(cherry picked from commit f7a77ff9005fdb1af7678d80dac6dcf16b328c21)

- - - - -
ea7d41c6 by Marek Olšák at 2022-04-24T21:03:20-07:00
ac/surface: fix an addrlib race condition on gfx9

Addrlib calls GetMetaEquation, which generates and saves address equations
in a global table that is not thread safe.

Fixes: df2cbdd2e32 - amd/addrlib: expose DCC address equations to drivers
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6361

Reviewed-by: Pierre-Eric Pelloux-Prayer 
<[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16091>
(cherry picked from commit c4ca059dee4c902c1a736b3f77bd938679411c0d)

- - - - -
e03df722 by Jason Ekstrand at 2022-04-24T21:03:20-07:00
util/set: Respect found in search_or_add_pre_hashed

Fixes: 491e7decad0f "util/set: add the found param to search_or_add"
Reviewed-By: Mike Blumenkrantz <[email protected]>
Reviewed-by: Connor Abbott <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13184>
(cherry picked from commit 21a7b0f1abbfc3ed0ebf1194ef530ca2497616e5)

- - - - -
75ff7478 by Mike Blumenkrantz at 2022-04-24T21:03:20-07:00
mesa/st: clamp GL_RENDERBUFFER to GL_TEXTURE_2D for sparse queries

this is a legal query that cts uses, so don't just abort

Fixes: b1c32a6c8c2 ("mesa: add ARB_sparse_texture query in 
glGetInternalformativ")

Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Qiang Yu <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16097>
(cherry picked from commit 272f6ede0d828f95549f26c0c47c24f08d6a6174)

- - - - -
86d6875f by Mike Blumenkrantz at 2022-04-24T21:03:20-07:00
glsl/nir: set new_style_shadow for sparse tex ops as necessary

this needs the sparse result type, which is not the ir type

Fixes: f4a972b7483 ("glsl/nir: convert sparse ir_texture to nir")

Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Qiang Yu <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16097>
(cherry picked from commit a6a4bf0f1eae36cb68d5c67653ac013fe0fbde8a)

- - - - -
34b21fd2 by Konstantin Seurer at 2022-04-25T04:07:28+00:00
radv: Fix barriers with cp dma

We need to wait for cp dma if VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT or
VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT are set.

Closes: #5911
Fixes: 4b9bc4791b5 ("radv: only sync CP DMA for transfer operations or 
bottom pipe")

Signed-off-by: Konstantin Seurer <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
(cherry picked from commit bbdf22ce136a7f02a8bd6c7e646d12a7e10db18d)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16126>

- - - - -
812c15d7 by Samuel Pitoiset at 2022-04-26T12:50:56+00:00
radv: only apply enable_mrt_output_nan_fixup for 32-bit float MRTs

This is incorrect for 32-bit integer MRTs which are clamped to the
maximum value of the format, and returning 0 can break some shaders.

This fixes a rendering issue with RAGE2.

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4329
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16103>

- - - - -
bd19460a by Dylan Baker at 2022-04-26T09:26:14-07:00
.pick_status.json: Update to ef9d97ec1f9d9834db3066b5a7ec67ce6d4ecd86

- - - - -
363882d5 by Samuel Pitoiset at 2022-04-26T09:26:17-07:00
aco: fix load_barycentric_at_{sample,offset} on GFX6-7

The computation was wrong.

Fixes 
dEQP-GLES31.functional.shaders.multisample_interpolation.interpolate_at_offset.*
with Zink on GFX6 (Pitcairn).

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Rhys Perry <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16099>
(cherry picked from commit 6873da0e42182520a38a6f88abb3717eea12d774)

- - - - -
20d96879 by Samuel Pitoiset at 2022-04-26T09:26:17-07:00
nir: fix marking XFB varyings as always active IO

Components need to be handled, otherwise if a shader has two XFB
varyings at the same location, only one will be marked as always active.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timothy Arceri  <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16092>
(cherry picked from commit 26f74f17d9be014e70f297a0af4143970347008e)

- - - - -
2bd9b5c3 by Samuel Pitoiset at 2022-04-26T09:26:17-07:00
nir: mark XFB varyings as unmoveable to prevent them to be remapped

XFB varyings are considered as always active IO to prevent them to
be removed or compacted. Though, if the NIR linker doesn't mark XFB
varyings as unmoveable it still possible to remap other varyings to
the same location/component.

Fixes KHR-Single-GL46.enhanced_layouts.xfb_override_qualifiers_with_api
with Zink and a bunch of other dEQP XFB tests.

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6301
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timothy Arceri  <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16092>
(cherry picked from commit 4ebb5391acf1d0bcd24947af84ce8930a9429894)

Conflicts:
        src/gallium/drivers/zink/ci/zink-radv-fails.txt

- - - - -
20e3c2c7 by Lionel Landwerlin at 2022-04-26T09:26:17-07:00
intel: fixup number of threads per EU on XeHP

Computations for indexing in-memory data structures for ray queries
depend on this.

Signed-off-by: Lionel Landwerlin <[email protected]>
Fixes: 4f9141607f40 ("intel: Add device info for DG2")
Acked-by: Tapani Pälli <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15925>
(cherry picked from commit 107acf5a4a4d742df283b45fbbe5f65bef0883fd)

- - - - -
f2b642df by Lionel Landwerlin at 2022-04-26T09:26:17-07:00
anv: fix acceleration structure descriptor template writes

Signed-off-by: Lionel Landwerlin <[email protected]>
Fixes: d258b0bf0e07 ("anv: Add support for binding acceleration 
structures")
Reviewed-by: Tapani Pälli <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16058>
(cherry picked from commit b7828f56ba9fb885b998da55ada38d9c038bc8a5)

- - - - -
c4d038e3 by Konstantin Seurer at 2022-04-26T09:26:17-07:00
radv: Fix lowering ignore_ray_intersection

Fixes dEQP-VK.ray_tracing_pipeline.misc.report_intersection_result

Fixes: c3d82a9 ("radv: Add pass to lower anyhit shader into an 
intersection shader.")
Signed-off-by: Konstantin Seurer <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16056>
(cherry picked from commit 4080f18163f4ea8cd9a7be7905752f609d6a9b77)

- - - - -
99c6b69a by Mike Blumenkrantz at 2022-04-26T09:26:17-07:00
zink: fix group memory barrier emission

same as glslang

cc: mesa-stable

Reviewed-by: Daniel Schürmann <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16108>
(cherry picked from commit ce02eeecf4930e38b4042c02ebf61bac2be19dd0)

- - - - -
3c905965 by Lionel Landwerlin at 2022-04-26T09:26:18-07:00
anv: skip acceleration structure in binding table emission

With mutable descriptor types, we can end up in a situation where a
binding can be, for instance, both a UBO and an acceleration
structure.

While we can promote the UBO to a binding table entry and the shader
can use it, this isn't true of acceleration structures that have no
surface state. In that case just skip the entry. The shader is already
compiled to use the descriptor entry.

In the non mutable case, the entry will not be created by
anv_nir_apply_pipeline_layout.

Signed-off-by: Lionel Landwerlin <[email protected]>
Fixes: 63e91148b7fe ("anv: Enable VK_VALVE_mutable_descriptor_type")
Reviewed-by: Rohan Garg <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15969>
(cherry picked from commit fe413962b4dd89ec5be539b13e7cbf7f871dd04a)

- - - - -
6ed6a28f by Marek Olšák at 2022-04-26T09:26:18-07:00
winsys/amdgpu: fix a mutex deadlock when we fail to create pipe_screen

Fixes: 2eb067db0fe - winsys/amdgpu: add a new winsys for the new kernel driver

Reviewed-by: Pierre-Eric Pelloux-Prayer 
<[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16112>
(cherry picked from commit 4a982aa5421780a90b812e7654d4d32459d9bdbd)

- - - - -
8f8ec897 by Pavel Ondračka at 2022-04-26T09:26:18-07:00
r300: set PIPE_BIND_CONSTANT_BUFFER for const_uploader

Fixes constant uploads with nine.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5966
CC: mesa-stable
Signed-off-by: Pavel Ondračka <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16125>
(cherry picked from commit e01f86c67b0bd955758366827cb8322aa1bec263)

- - - - -
74f39aee by Mike Blumenkrantz at 2022-04-26T09:26:18-07:00
vulkan: bump layer api versions to current vk header version

should probably try to keep these in sync? maybe?

cc: mesa-stable

Reviewed-by: Jason Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16138>
(cherry picked from commit f5bc062ffdd34f66a9c65de5e02c0c8490d576db)

- - - - -
98fb3bf9 by Jason Ekstrand at 2022-04-26T09:26:18-07:00
nir: Lower all bit sizes of usub_borrow

It's not clear why this is restricted to 32-bit besides that being the
only bit size where GLSL has an intrinsic for this.  All drivers that
set this probably want it lowered for all bit sizes as far as I can
tell.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6353
Fixes: 8a3e3441802c ("nir/opt_algebraic: Fix some expressions with 
ambiguous bit sizes")
Reviewed-by: Emma Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16146>
(cherry picked from commit 17557303625d95fc30b24d15b45e41d9b747aee6)

- - - - -
54045780 by Sviatoslav Peleshko at 2022-04-26T09:26:18-07:00
anv: workaround apps that assume full subgroups without specifying it

Without this we might choose 8 or 16 width, while the app assumes 32.
With subgroup operations it may cause wrong calculations and thus bugs.

Examples of such games are Aperture Desk Job and DOOM Eternal.

v2: Make it a driconf option instead of applying unconditionally, move
    from brw_required_dispatch_width to brw_compile_cs
v3: Rename allow_assuming_full_subgroups -> assume_full_subgroups.
    Include assume_full_subgroups value in anv_pipeline_hash_compute().
v4: Move actual workaround code from brw_fs.c -> anv_pipeline.c.

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6171
Signed-off-by: Sviatoslav Peleshko <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Marcin Ślusarz <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15708>
(cherry picked from commit 28ca5636f6519f70cede02742f5ba0e00e6afcd3)

- - - - -
23930f4b by Jason Ekstrand at 2022-04-26T09:26:18-07:00
vulkan: Set signals[i].stageMask = ALL_COMMANDS for QueueSubmit2 wrapping

My understanding of the signal masks is that they control what stages
must complete before the semaphore is signaled.  Using 0 theoretically
means the semaphore could be signaled immediately without waiting on
anything.  Use ~0 instead to say it depends on everything.

Fixes: 97f0a4494b97 ("vulkan: implement legacy entrypoints on top of 
VK_KHR_synchronization2")
Reviewed-by: Iago Toral Quiroga <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16145>
(cherry picked from commit 02fea6c179b00bd9dad179638ee1491c1acea65a)

- - - - -
3906daee by Jason Ekstrand at 2022-04-26T09:26:18-07:00
spirv: Handle Op*MulExtended for non-32-bit types

Fixes: 58bcebd987b7 ("spirv: Allow [i/u]mulExtended to use new nir 
opcode")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6306
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16060>
(cherry picked from commit ef9d97ec1f9d9834db3066b5a7ec67ce6d4ecd86)

- - - - -
d0c08779 by Dylan Baker at 2022-04-27T12:31:13-07:00
.pick_status.json: Update to f17d3a125126dd7e0f1c2072545976cec1eeb1c8

- - - - -
48ddac7e by Yevhenii Kolesnikov at 2022-04-27T12:31:49-07:00
nir: Remove single-source phis before opt_if_loop_last_continue

We might have some single-source phis leftover after prior optimizations. We
want to get rid of them before merging the blocks.

Fixes: 5921a19d4b0 ("nir: add if opt opt_if_loop_last_continue()")

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6312

Signed-off-by: Yevhenii Kolesnikov <[email protected]>
Reviewed-by: Danylo Piliaiev <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16095>
(cherry picked from commit 65caf46b3b827f4cf5a32972ca5844c69e598aa6)

- - - - -
7231f624 by Samuel Pitoiset at 2022-04-27T12:31:49-07:00
radv: fix handling divisor == 0 with dynamic vertex input state

When the divisor is 0, the compiler should generate a different VS
prolog instead of re-using a previous prolog that uses nontrivial
divisors. This is because divisor == 0 and divisor > 1 should use
a different path to guarantee that the index is correctly computed.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Rhys Perry <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16009>
(cherry picked from commit f525706e7725345e187f076118feb3937dfb8c43)

- - - - -
6f3be0ff by Dylan Baker at 2022-04-28T10:02:43-07:00
.pick_status.json: Update to 1dc697942af7254798f83583f5788e1abf136d27

- - - - -
586d8e22 by Dylan Baker at 2022-04-28T10:02:44-07:00
.pick_status.json: Mark d5870c45ae82c091e72f1258920aa54974e19a36 as denominated

- - - - -
c378ba06 by Dylan Baker at 2022-04-28T10:02:45-07:00
.pick_status.json: Mark f348103fce4484b891a58bf3147b71e3a3558135 as denominated

- - - - -
32b7ee09 by Dylan Baker at 2022-04-28T10:02:46-07:00
.pick_status.json: Mark a4f502de3228ec37dfcaa38225077ec3709d74ea as denominated

- - - - -
4814cc1e by Dylan Baker at 2022-04-28T10:02:46-07:00
.pick_status.json: Mark 1d250b7b959d2a206280e4f83db05780a83e0927 as denominated

- - - - -
f8b4a7a5 by Dylan Baker at 2022-04-28T10:02:47-07:00
.pick_status.json: Mark 4eca6e3e5d2b9426d6357e9af1514a0c942638f0 as denominated

- - - - -
63c8cddd by Dylan Baker at 2022-04-28T10:02:47-07:00
.pick_status.json: Mark 3dcb80da9d6d34e567680ef7fecd24aab4537e8a as denominated

- - - - -
2ce0d866 by Dylan Baker at 2022-04-28T10:02:48-07:00
.pick_status.json: Mark dd078d13cb6b445ad02087a3e80433ef053b7490 as denominated

- - - - -
598e5105 by Dylan Baker at 2022-04-28T10:02:48-07:00
.pick_status.json: Mark bbdf22ce136a7f02a8bd6c7e646d12a7e10db18d as denominated

- - - - -
7677d80c by Dylan Baker at 2022-04-28T10:02:49-07:00
.pick_status.json: Mark 8806f444a5c005d20cd4ec4ed42e508ffd9cb1da as denominated

- - - - -
29b6cf1c by Dylan Baker at 2022-04-28T10:02:50-07:00
.pick_status.json: Mark 373c8001d6615d70d112c7526ea4f4953257b6b9 as denominated

- - - - -
65534e3c by Dylan Baker at 2022-04-28T10:02:51-07:00
.pick_status.json: Mark a056cbc691843861da417b5bcea9f871fdceeb19 as denominated

- - - - -
19e858bb by Dylan Baker at 2022-04-28T10:02:51-07:00
.pick_status.json: Mark fc5edf9b68159288baa22c055e471de958812312 as denominated

- - - - -
48b3577c by Dylan Baker at 2022-04-28T10:02:52-07:00
.pick_status.json: Mark e509598470c000498c3e1328e012142d9047e292 as denominated

- - - - -
95f5d373 by Icecream95 at 2022-04-28T10:04:30-07:00
panfrost: Fix pack_32_2x16 implementation

Fixes: 6f0eff548c1 ("pan/bi: Implement packing ops between 32-bit vec1 and 
16-bit vec2")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16181>
(cherry picked from commit 76cea8e27b3bb16cf752962ca53da42ab4bf51e4)

Conflicts:
        src/panfrost/bifrost/bifrost_compile.c

- - - - -
a5c5421f by Dave Airlie at 2022-05-03T10:06:43-07:00
llvmpipe: add user memory resources to the debug global list.

Otherwise things will crash on destruction.

Reviewed-by: Mike Blumenkrantz <[email protected]>
Fixes: 9a57dceeb760 ("llvmpipe: add support for user memory pointers")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16207>
(cherry picked from commit b4bbf9d1acf04debb0abd2c3ebeac21fe389cf83)

- - - - -
fee14d84 by Jordan Justen at 2022-05-03T10:06:43-07:00
vulkan/wsi/x11: Use atomic_int with sent_image_count

Without this being atomically incremented and decremented, I observed
this assert triggering in debug builds:

  src/vulkan/wsi/wsi_common_x11.c:x11_present_to_x11_dri3():

  assert(chain->sent_image_count <= chain->base.image_count);

I think this was happening since,

  src/vulkan/wsi/wsi_common_x11.c:x11_handle_dri3_present_event()

which decrements chain->sent_image_count may be run in a separate
thread.

Fixes: d0bc1ad3776 ("vulkan/wsi/x11: add sent image counter")
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Adam Jackson <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15908>
(cherry picked from commit 212fb25b267120c6cc8eead21a7eb016f2b58f2a)

- - - - -
05b5eb66 by Tapani Pälli at 2022-05-03T10:06:43-07:00
isl: disable mcs (and mcs+ccs) for color msaa on DG2

Fixes lots of various test failures in:
   dEQP-VK.pipeline.multisample.min_sample_shading_disabled.*
   dEQP-GLES3.functional*multisample.*
   KHR-GL*sample_variables.*

Cc: mesa-stable
Signed-off-by: Tapani Pälli <[email protected]>
Acked-by: Kenneth Graunke <[email protected]>
Acked-by: Nanley Chery <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13991>
(cherry picked from commit d3ef3657b280b3c273957641183e64d388804d08)

- - - - -
e807a912 by Nanley Chery at 2022-05-03T10:06:43-07:00
Revert "anv: Disable CCS_E for some 8/16bpp copies on TGL+"

This reverts commit d68b2db89ca38f3f6c0d3ebd65945c471d864d58.

With this change, no regressions have been observed with the
dEQP-VK.synchronization* test group. There are regressions with
dEQP-VK.drm_format_modifiers.export_import.*, but those have been
root-caused to be test issues (see 3575).

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6125
Fixes: 57445adc891 ("anv: Re-enable CCS_E on TGL+")
Reviewed-by: Tapani Pälli <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15420>
(cherry picked from commit e2f0c859c2b8092bef58ee396ab1d5b6f18d5eb5)

- - - - -
99c80c35 by Dylan Baker at 2022-05-03T10:06:43-07:00
.pick_status.json: Update to 53a94fbdd57acbbe2bc745901cbfeca968e25273

- - - - -
569f1b93 by Dave Airlie at 2022-05-03T10:06:43-07:00
vulkan/wsi: keep allocate queue families in image, just don't fill them

This changes the code so that it only looks at the passed in families
when concurrent, otherwise it always allocates one.

Fixes: 48b3ef625e19 ("vulkan/wsi: handle queue families properly for 
non-concurrent sharing mode.")
Acked-by: Bas Nieuwenhuizen <[email protected]>
Acked-by: Jason Ekstrand <[email protected]>
Tested-by: Mike Lothian <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15331>
(cherry picked from commit 85a94be0fec1dad9b22ee346383a4abb46a6e990)

- - - - -
31e62cc1 by Juan A. Suarez Romero at 2022-05-03T10:06:43-07:00
mesa: unref syncobj after wait_sync

Before returning the wait_sync() function, the sync object must be
unreferenced.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6377
Fixes: 0af7c1e385b ("mesa/st: merge the syncobj code from st into 
mesa")
Signed-off-by: Juan A. Suarez Romero <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16242>
(cherry picked from commit a47375d4dabc2552e4866ba5b7d8c62d4cd4b904)

- - - - -
5186ec49 by Erik Faye-Lund at 2022-05-03T10:06:43-07:00
meson: remove unused defines

These defines are no longer used since we removed libmesa_classic.

Fixes: e030d5ba8ac ("mesa: Delete libmesa_classic")
Reviewed-by: Adam Jackson <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16213>
(cherry picked from commit 36250e839b2b54944511b245100622ab352d5879)

- - - - -
7bb8a784 by Erik Faye-Lund at 2022-05-03T10:06:43-07:00
gallium/xlib: fix stale comment

We haven't been doing what the comment says for about a decade, it's
about time to update the comment!

Fixes: 5f60a00743f ("st/glx: remove STENCIL_BITS, 
DEFAULT_SOFTWARE_DEPTH_BITS")
Reviewed-by: Adam Jackson <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16213>
(cherry picked from commit 82b681db997a6ee01114cdc14593e5d20933b052)

- - - - -
6aff6d31 by Erik Faye-Lund at 2022-05-03T10:06:43-07:00
mesa: add missing error-path

The ARB_shader_objects spec says the following:

> The error INVALID_VALUE is generated by any command that takes one or
> more handles as input, and one or more of these handles are not an
> object handle generated by OpenGL.

And a long, long time ago, we used do to just that for
glDeleteObjectARB... Until 9ac9605de15, all the way back in February 2006,
where the error condition was removed without explanation.

Let's restore it, because it should really be there.

This was noticed by running the tests that are in the mesa-demos
repository, that actually tested this condition.

Reviewed-by: Marek Olšák <[email protected]>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16211>
(cherry picked from commit ba9c917149e883b3e2b117de41e5a54dd6f9d0cc)

- - - - -
b96fa062 by Lionel Landwerlin at 2022-05-03T10:06:43-07:00
anv: fix clflush usage on utrace copy batch

Signed-off-by: Lionel Landwerlin <[email protected]>
Fixes: cc5843a573bd ("anv: implement u_trace support")
Reviewed-by: Marcin Ślusarz <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15780>
(cherry picked from commit 44e93b4c6fdce90a72be51cc96be9f6b34051d5d)

- - - - -
8836a7ab by Gert Wollny at 2022-05-03T10:06:43-07:00
r600: Allow eight bit, three channel formats for vertex buffers

While using three component texture formats results in CTs failures,
three component vertex attributes are fine, and not allowing them
results in significant performance regressisons.

Fixes: e41958e344cb4b15d01008140a1ee08817104334
   r600: Disable eight bit three channel formats

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6399

v2: rename function to is_buffer_format_supported (Emma)

Signed-off-by: Gert Wollny <[email protected]>
Reviewed-by: Emma Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16267>
(cherry picked from commit 4a2ff9eb86acdc0b5cc35ca2c2f6ec5cfe9671a9)

- - - - -
18d686c0 by Dylan Baker at 2022-05-03T10:06:43-07:00
.pick_status.json: Update to 2505afc430c6b151e7e4243503953ba0b0a2c842

- - - - -
ab77ed52 by Samuel Pitoiset at 2022-05-03T10:06:43-07:00
radv: enable radv_disable_sinking_load_input_fs for Grid Autosport

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4228
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Rhys Perry <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16165>
(cherry picked from commit e6bcdc763c9e228aea9a767c35dbd63bb1a5689e)

- - - - -
ddee3db2 by Nanley Chery at 2022-05-03T10:06:43-07:00
iris: Return a 64B stride for clear color plane

Although modifiers which use a clear color plane specify that the
plane's pitch should be ignored, some kernels have been found to require
64-byte alignment.

Cc: mesa-stable
Fixes: db475c81b7c ("iris: Return non-zero stride for clear color 
plane")
Reported-by: Dongwon Kim <[email protected]>
Suggested-by: Jordan Justen <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14521>
(cherry picked from commit 2bc8c61fd00b2877319f54afeaba3d606fd8532c)

- - - - -
a68fe5f2 by Jordan Justen at 2022-05-03T10:06:43-07:00
iris: Fix assertion meant to only target the clear-color stride

Fixes: 2bc8c61fd00 ("iris: Return a 64B stride for clear color plane")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6398
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Nanley Chery <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16241>
(cherry picked from commit 33456ae5a48c809cee251ca6d70f2b7f5941bc87)

- - - - -
78142c52 by Jordan Justen at 2022-05-03T10:06:43-07:00
iris: Fix assertion meant to only target the clear-color stride

Fixes: 2bc8c61fd00 ("iris: Return a 64B stride for clear color plane")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6398
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Nanley Chery <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16241>
(cherry picked from commit 33456ae5a48c809cee251ca6d70f2b7f5941bc87)

- - - - -
9f062ad7 by Iván Briano at 2022-05-03T10:06:43-07:00
vulkan/wsi/wayland: Fix double free on error condition

If wsi_configure_native_image() fails, it will call
wsi_destroy_image_info() itself, so let's try to not call it again from
wsi_wl_swapchain_destroy().

Fixes the CTS tests:
dEQP-VK.wsi.wayland.swapchain.simulate_oom.*

Fixes: b626a5be43d ("vulkan/wsi/wayland: Split image creation")

Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16257>
(cherry picked from commit bf04be17f7f7cb41ef90176a8bc1fad587206046)

- - - - -
fab8d87e by Chia-I Wu at 2022-05-03T10:06:43-07:00
util: Keep quiet NaNs quiet when converting to half float.

We don't want to be throwing exceptions and changing float values later by
emitting a signaling binary16 nan.

If we don't do this, then when we convert back to f32 in NIR constant
expression evaluation, the signaling NaN can end up giving NaN for
fmax(NaN, 0.0), instead of 0.0.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5933
Cc: mesa-stable
Reviewed-by: Emma Anholt <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16233>
(cherry picked from commit 27e33d5c963f13a47c4b9276378db913d8ecb189)

- - - - -
73fb76d2 by Timothy Arceri at 2022-05-03T10:06:43-07:00
nir: fix sorting before assigning varying driver locations

We need to make sure we also properly sort varyings sharing a single
slot otherwise we can end up assigning earlier components to the next
slot if we have already processed later components.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6392

Fixes: 1e93b0caa10d ("mesa/st: add support for NIR as possible driver 
IR")

Reviewed-by: Emma Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16208>
(cherry picked from commit 180398f7851a01d9cb2879a426f3cf1b4686c917)

- - - - -
bde330be by Mike Blumenkrantz at 2022-05-03T10:06:43-07:00
llvmpipe: disable compute statistics queries if queries are disabled

cc: mesa-stable

Reviewed-by: Emma Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16278>
(cherry picked from commit 4a4adb65cec466ca7861856922f84b95bfd0fac1)

- - - - -
2a2a309b by Lionel Landwerlin at 2022-05-03T10:06:43-07:00
anv: fix invalid utrace memcpy l3 config on gfx < 11

device->l3_config is only valid on Gfx11+

This only fixes using GPU_TRACE=1

Signed-off-by: Lionel Landwerlin <[email protected]>
Fixes: 02a4d622ed0 ("anv: expose a couple of emit helper to build utrace 
buffer copies")
Reviewed-by: Tapani Pälli <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16291>
(cherry picked from commit 4efc99747247520f186365c530a4f955cbc1fb79)

- - - - -
c9d574ba by Mike Blumenkrantz at 2022-05-03T10:42:54-07:00
llvmpipe: disable statistic queries during draw if queries are disabled

cc: mesa-stable

fixes (zink):
spec@ext_transform_feedback@generatemipmap prims_generated

Reviewed-by: Emma Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16278>
(cherry picked from commit a36c3f6f6a41d84961b5633a627cd90feaa4d18d)

Conflicts:
        src/gallium/drivers/zink/ci/zink-lvp-fails.txt

- - - - -
cb892581 by Dylan Baker at 2022-05-04T15:17:44-07:00
docs: add release notes for 22.0.3

- - - - -
58ad6e52 by Dylan Baker at 2022-05-04T15:18:04-07:00
VERSION: bump for 22.0.3

Signed-off-by: Dylan Baker <[email protected]>

- - - - -
395bd246 by Timo Aaltonen at 2022-05-06T11:49:24+03:00
Merge branch 'upstream-unstable' into debian-unstable

- - - - -
1efe5c02 by Timo Aaltonen at 2022-05-06T11:49:45+03:00
bump the version

- - - - -
f693b5ad by Timo Aaltonen at 2022-05-06T11:53:37+03:00
release to sid

- - - - -


0 changed files:



The diff was not included because it is too large.


View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/mesa/-/compare/d8af261af5645cb19640dbcbac1cf23d4e66542f...f693b5ad8dc83e179c727ebf4acb2f8324a2a037

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


Reply via email to