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


Commits:
334cba5e by Eric Engestrom at 2024-04-24T20:10:31+02:00
docs: add sha256sum for 24.0.6

- - - - -
b1145982 by Eric Engestrom at 2024-04-30T14:09:02+02:00
.pick_status.json: Update to 86281ef15fca378ef48bcb072a762168e537820d

- - - - -
e65cf539 by Eric Engestrom at 2024-04-30T14:09:21+02:00
.pick_status.json: Mark 0666a715c7210558017ce717f6b0b947c679a68e as denominated

- - - - -
e1332ee9 by Samuel Pitoiset at 2024-04-30T14:23:24+02:00
radv: fix image format properties with fragment shading rate usage

This was missing and this caused test failures for formats different
than VK_FORMAT_R8_UINT which is the only one supported for FSR.

Fixes recent
dEQP-VK.api.info.unsupported_image_usage.*.fragment_shading_rate_attachment.*.

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

- - - - -
5d0c48b8 by Kenneth Graunke at 2024-04-30T14:23:25+02:00
isl: Set MOCS to uncached for Gfx12.0 blitter sources/destinations

We were accidentally leaving XY_BLOCK_COPY_BLT's Source and Destination
MOCS fields set to 0 (Error: Reserved for Non-Use) on Gfx12.0 systems.
This was causing assert fails in debug builds, since we try to ensure
that we don't do that.  In theory, MOCS 0 is supposed to be equivalent
to MOCS 2 (all the caching), but...we probably ought to use MOCS 3
(uncached).  Every Gfx12.5+ platform requires it, so although there
isn't a note about Gfx12.0 needing that, it's possible that it does.
We're currently only using the blitter for DRI PRIME blits on Gfx12.0,
anyway, and I think we're flushing all the caches regardless.

This bug was somewhat obscure to hit:
- You need a hybrid graphics system with Gfx12.0 and some other GPU
- You have to be using "reverse PRIME", i.e. rendering on the 
integrated
  GPU and displaying on the discrete one.  This is not the common case.
- You have to be using a debug build.

No observable performance delta in GfxBench5 Car Chase (an arbitrary
program) when rendering on Alderlake GT1 and displaying on an Arc A770.

Fixes: 194afe84163 ("anv/iris/blorp: use the right MOCS values for each 
engine")
Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Reviewed-by: Rohan Garg <rohan.g...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28894>
(cherry picked from commit e6fb3ba03798fc2550bdb5ec6651690a34ac3509)

- - - - -
0b1d5f32 by Lionel Landwerlin at 2024-04-30T14:23:26+02:00
anv: disable dual source blending state if not used in shader

Fixing some simulation issues on Gfx9/11 with zink on anv running dual
source blending piglit tests like :

   ./bin/arb_blend_func_extended-dual-src-blending-discard-without-src1 -auto 
-fbo

Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Cc: mesa-stable
Reviewed-by: Tapani Pälli <tapani.pa...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28901>
(cherry picked from commit 68dfe17abcca6299951734df3f9758c401286b57)

- - - - -
714f7bd5 by Constantine Shablia at 2024-04-30T14:23:27+02:00
pan/bi: fix 1D array tex coord lowering

We were erroneously specifying Y for 1D arrays

Cc: mesa-stable
Suggested-by: Erik Faye-Lund <erik.faye-l...@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-l...@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezil...@collabora.com>
Reviewed-by: Mary Guillemard <mary.guillem...@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28899>
(cherry picked from commit 3139f8f62384901b02d1fdc516ff3989f8a1f339)

- - - - -
8f0d4074 by Daniel Schürmann at 2024-04-30T14:26:37+02:00
aco/ra: fix kill flags after renaming fixed Operands

Suggested-by: Rhys Perry <pendingchao...@gmail.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28876>
(cherry picked from commit be1e68b4ee97ed714417c8917182a5326f5b379f)

- - - - -
b13f4897 by Mike Blumenkrantz at 2024-04-30T14:26:38+02:00
zink: reconstruct features pnext after determining extension support

for extensions that require features/properties to enable support, this
avoids adding the feature struct to the device createinfo

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

cc: mesa-stable

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

- - - - -
8197d551 by Rohan Garg at 2024-04-30T14:26:39+02:00
anv: formatting fix when printing pipe controls

Fixes: abc4111 ('anv: pass steam output as argument for 
anv_dump_pipe_bits')
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/28931>
(cherry picked from commit b40675947996faea8c4455dc44492d003bc9f49f)

- - - - -
1ac05d04 by Iván Briano at 2024-04-30T14:26:40+02:00
anv: check requirements for VK_IMAGE_USAGE_FRAGMENT_SHADING_RATE

Somehow I missed this one in 164c0951a0825527244e999a261b8a4425ed1ebe

If the format the image is being created with doesn't have the FSR
format feature, report it as unsupported.

Also fixes future CTS tests: dEQP-VK.api.info.unsupported_image_usage.*

Cc: mesa-stable

Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28913>
(cherry picked from commit 8ebf07eccd1f7476033e0151b9eb19a51d871c51)

- - - - -
a983e8dc by Yiwei Zhang at 2024-04-30T14:26:48+02:00
venus: avoid client allocators for ring internals

There're many cases in which the ring submissions must succeed. We don't
worry about real oom since things would fail earlier. For simulated oom
from random intentional allocs, there isn't robust way to fail those
must succeeds. e.g. the commands that don't have return codes or valid
error return struct defaults. So real oom propagation is still at best
effort.

Cc: mesa-stable
Signed-off-by: Yiwei Zhang <zzyi...@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28914>
(cherry picked from commit 3e16d25d1a2f217aa0e6e9b8e7eec9f974e38e0b)

- - - - -
c2dc7eff by Boris Brezillon at 2024-04-30T14:26:51+02:00
panfrost: do not write outside num_wg_sysval

This array has 3 components, because it's meant to hold the X, Y and Z
components of the work-group size sysval. However, mir_pick_ubo assumes
vec4 for the push-uniforms, which ends up promoting this to 4
components.

So let's make sure we don't write that last component. It's not 
going to
do anything good.

In practice, this leads to the viewport descriptor being smashed, which
doesn't actually do any real-world harm, because this only happens in
compute batches where that descriptor is unused. However, writing
outside of arrays is undefined behavior, so we should fix it regardless.

Fixes: 50061670614 ("panfrost: Hook-up indirect dispatch support")
Reviewed-by: Erik Faye-Lund <erik.faye-l...@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28856>
(cherry picked from commit 186f7fa915b1d748f73a13f12c089af4e47b5c29)

- - - - -
695c875b by Erik Faye-Lund at 2024-04-30T14:26:52+02:00
panfrost: correct first-tracking for signature

If we unconditionally assign false to first *before* we use it, it's
never true when used. Instead, let's assign it *both* at the end *and*
when continuing.

Fixes: 4da88060d0a ("panfrost: Skip blit shader labelling if the buffer 
has no space")
CID: 1476270
Reviewed-by: Boris Brezillon <boris.brezil...@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28856>
(cherry picked from commit 9058d5ff6252a1bf340453551613c4717cb87f6c)

- - - - -
b4af8ee0 by Mike Blumenkrantz at 2024-04-30T18:33:13+02:00
glthread: check for invalid primitive modes in DrawElementsBaseVertex

fixes KHR-GLESEXT.draw_elements_base_vertex_tests.invalid_mode_argument

cc: mesa-stable

Reviewed-by: Marek Olšák <marek.ol...@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28903>
(cherry picked from commit 4660ee1deaace6457bf5fbf3fc8810e4a2453cb5)

- - - - -
4af94a82 by Mike Blumenkrantz at 2024-04-30T18:43:07+02:00
zink: prune zink_shader::programs under lock

it's possible for a shader to be precompiling its separate shader variants
during destruction, which requires that the programs set be iterated
under lock in order to prune every new variant as it is created without
crashing

fixes crashes in spec@arb_separate_shader_objects@400 combinations.*

cc: mesa-stable

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

- - - - -
0a174bb6 by Mike Blumenkrantz at 2024-04-30T18:43:10+02:00
zink: fully wait on all program fences during ctx destroy

optimized pipeline compile jobs may still be ongoing during ctx
destroy, and these must complete too or else crashes will occur

fixes shutdown crash with 
dEQP-EGL.functional.sharing.gles2.multithread.simple.images.texture_source.teximage2d_render

cc: mesa-stable

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

- - - - -
7ed240c6 by Lionel Landwerlin at 2024-04-30T18:45:05+02:00
intel/brw: fixup wm_prog_data_barycentric_modes()

Always select sample barycentric when persample dispatch is unknown at
compile time and let the payload adjustments feed the expected value
based on dispatch.

Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Cc: mesa-stable
Reviewed-by: Ivan Briano <ivan.bri...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27803>
(cherry picked from commit 1bbe2d9833518442a656a393a2219f7c756d09cb)

- - - - -
39e6ab24 by Konstantin Seurer at 2024-04-30T18:47:28+02:00
radv: Handle all dependencies of CmdWaitEvents2

The spec describes pDependencyInfos as an array with eventCount elements.

cc: mesa-stable

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10579
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28896>
(cherry picked from commit d6c9b1d03fd80935131dd93968312eec11a2f38e)

- - - - -
00513542 by Erik Faye-Lund at 2024-04-30T18:51:13+02:00
panvk: avoid dereferencing a null-pointer

If we're passed a memory-info, but no memory-prop, we'd end up
dereferencing a null-pointer here. Let's use a fallback struct instead,
similar to what RADV does.

Fixes: d970fe2e9d6 ("panfrost: Add a Vulkan driver for Midgard/Bifrost 
GPUs")
CID: 1496060
Reviewed-by: Boris Brezillon <boris.brezil...@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28856>
(cherry picked from commit 3b3df7b8a98c4171e402a7c4e7170b9d937aae09)

- - - - -
9ea069be by Yiwei Zhang at 2024-04-30T19:18:17+02:00
venus: fix to destroy all pipeline handles on early error paths

For early error returns, all pipeline handles have to be destroyed.
Otherwise the caller will treat those valid handles as successfully
created pipeline objects.

Cc: mesa-stable
Signed-off-by: Yiwei Zhang <zzyi...@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28944>
(cherry picked from commit 4ec84adbed1e7cc0b78af754294c4a2b254bc317)

- - - - -
db932b64 by David Rosca at 2024-04-30T19:18:19+02:00
radeonsi/vcn: Allocate session buffer in VRAM

It's never mapped so there's no reason for PIPE_USAGE_STAGING.
Improves encoding performance on dGPUs.

Tested with 7900XTX (before 1900fps => after 2100fps):

  ffmpeg -hide_banner -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 \
  -f lavfi -i testsrc=size=640x640,format=nv12 -vf hwupload -c:v av1_vaapi \
  -f null -

Cc: mesa-stable
Reviewed-by: Ruijing Dong <ruijing.d...@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28945>
(cherry picked from commit cc0df497f0d4579301dc853587aef7ca8aa679ea)

- - - - -
9f0f6df1 by David Rosca at 2024-04-30T19:18:21+02:00
radeonsi/vcn: Fix 10bit HEVC VPS general_profile_compatibility_flags

Cc: mesa-stable
Reviewed-by: Ruijing Dong <ruijing.d...@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28945>
(cherry picked from commit b144f501906dcb4a54e0aa8d699768c8d9d13bbb)

- - - - -
a9140ec2 by David Rosca at 2024-04-30T19:18:22+02:00
radeonsi/vcn: Only enable VBAQ with rate control mode

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10020
Reviewed-by: Ruijing Dong <ruijing.d...@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28945>
(cherry picked from commit bc72126cb4e425893918e2d17f0cc2a253096651)

- - - - -
4a04c47a by Mike Blumenkrantz at 2024-05-01T11:38:25+02:00
kopper: fix bufferage/swapinterval handling for non-window swapchains

if swapchain creation fails (e.g., insane cts swapchain configs), the
swapchain gets demoted to a non-window image that is still accessed by
the frontend. this image should not ever hit corresponding zink entrypoints
for swapchain-only images, which requires a flag to test swapchain-edness

cc: mesa-stable

Acked-by: Dave Airlie <airl...@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28904>
(cherry picked from commit a50c17802ab1f60d2fc707f05552f73f4b2d284a)

- - - - -
a24eb14f by Patrick Lerda at 2024-05-07T16:54:10+02:00
gallium/auxiliary/vl: fix typo which negatively impacts the src_stride 
initialization

Note: As a matter of fact, this change by itself makes vdpau on r600 works 
again.
Indeed, r600 sets the stride value with vertex_buffer_index as the r600 index;
vertex_buffer_index was set to zero at the vl_compositor/init_buffers() stage on
the three elements. As a consequence of this typo the stride value was 
overwritten
to zero. This was breaking vdpau.

Fixes: 76725452 ("gallium: move vertex stride to CSO")
Related: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10468
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10267
Signed-off-by: Patrick Lerda <patrick9...@free.fr>
Reviewed-by: Leo Liu <leo....@amd.com>
Reviewed-By: Mike Blumenkrantz <michael.blumenkra...@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28966>
(cherry picked from commit fe8fdc58db9cc364e7215b70f229cac3001a4676)

- - - - -
bf737eef by Eric Engestrom at 2024-05-07T16:54:10+02:00
.pick_status.json: Update to 603982ea802b3846e91a943b413a7baf430e875d

- - - - -
aad74e3c by Iván Briano at 2024-05-07T16:54:10+02:00
anv: fix casting to graphics_pipeline_base

The macro takes the type of the pipeline to check for, but the cast to
base checks for a full graphics pipeline, so if used on a library one it
fails.

Cc: mesa-stable

Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29011>
(cherry picked from commit 6223388c738e37a6d509ba54e2d179ee5773a4d6)

- - - - -
318711b8 by Yusuf Khan at 2024-05-07T16:54:10+02:00
nouveau: Fix crash when destination or source screen fences are null

Fixes: dEQP-EGL.functional.sharing.gles2.multithread.random_egl_sync.*,
one of them, its quite finiky, one may say random

Signed-off-by: Yusuf Khan <yusisameri...@gmail.com>
Reviewed-by: Karol Herbst <kher...@redhat.com>

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

- - - - -
90c4fa8a by Sviatoslav Peleshko at 2024-05-07T16:54:10+02:00
anv: Fix descriptor sampler offsets assignment

This seems to be a simple copy-paste mistake. It makes sense to or-assign
surface offsets because we clear the actual offset part with a mask first,
but sampler offsets should be just assigned instead.

Fixes: 7c76125d ("anv: use 2 different buffers for surfaces/samplers in 
descriptor sets")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10790
Signed-off-by: Sviatoslav Peleshko <sviatoslav.peles...@globallogic.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29019>
(cherry picked from commit 39c4de7e42a85a6871c552c2d55ddb7d3a1988ee)

- - - - -
c6aed975 by Gert Wollny at 2024-05-07T16:54:10+02:00
zink/kopper: Wait for last QueuePresentKHR to finish before acquiring for 
readback

When a job is submitted to the flush_queue the resource dt_idx is reset,
and if a readback is requested then we have to make sure that the
corresponding kopper_preset has finished before we can acquire the image
for readback, so wait for the according fence in this case.

This fixes the validation error UNASSIGNED-Threading-MultipleThreads-Write
    triggered by piglit "read-front" lavapipe.

    Fixes: 8ade5588e39d736bdeab9bdd8ffa7cbfb6a5191e
        zink: add kopper api

Signed-off-by: Gert Wollny <gert.wol...@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28127>
(cherry picked from commit 811ed6286590bed340a73d3115a283a027d9091b)

- - - - -
11a140b3 by Ian Romanick at 2024-05-07T16:54:10+02:00
intel/brw: Fix optimize_extract_to_float for i2f of unsigned extract

Fixes fs-uint-to-float-of-extract-int8.shader_test and
fs-uint-to-float-of-extract-int16.shader_test added by piglit!883.

No shader-db or fossil-db changes on any Intel platform.

v2: Expand the comment explaining the potential problem. Suggested by
Caio.

Fixes: 29ce110be6d ("i965/fs: Remove extract virtual opcodes.")
Reviewed-by: Caio Oliveira <caio.olive...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27891>
(cherry picked from commit bf5d82654ab9d3a67dacab4571d814066e0593c4)

- - - - -
0dfac8d7 by Georg Lehmann at 2024-05-07T16:54:10+02:00
radv, radeonsi: don't use D16 for f2f16_rtz

D16 rounds towards zero for fp32 -> fp16, but for fixed point it rounds to
nearest even in fp16. MIMG without D16 also rounds to nearest even, but in fp32.
This means D16 and f2f16_rtz(tex@32) can produce different results.

Sadly this also means we can never use d16 if fp16 rounding isn't undefined.

Cc: mesa-stable

Acked-by: Marek Olšák <marek.ol...@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28730>
(cherry picked from commit 3a35522c8a48bd19d37223c24d271e08ed5b1a34)

- - - - -
c5633dbb by Eric Engestrom at 2024-05-07T17:20:00+02:00
.pick_status.json: Update to 9666756f603f0285d8a93ef93db1c7ec702b671f

- - - - -
a351cbef by Mike Blumenkrantz at 2024-05-07T17:20:12+02:00
zink: slightly better swapinterval failure handling

retain the old mode and print an error

cc: mesa-stable

Acked-by: Dave Airlie <airl...@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28904>
(cherry picked from commit 19e8df39b62a26ae55273de7b4866c24d1657dda)

- - - - -
d4eaa3f7 by Mike Blumenkrantz at 2024-05-07T17:20:12+02:00
zink: clean up accidental debug print

Fixes: 19e8df39b62 ("zink: slightly better swapinterval failure 
handling")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29065>
(cherry picked from commit 13bd41386086b9d44684aea4813697333500db40)

- - - - -
4ce32b75 by Karol Herbst at 2024-05-07T18:11:33+02:00
nir: fix nir_shader_get_function_for_name for functions without names.

It's legal in SPIRV for functions to not have names, we have to take this
into account when calling into strcmp here.

Fixes: 2aa9eb497d0 ("nir: Add a helper for finding a function by 
name")
Signed-off-by: Karol Herbst <kher...@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29063>
(cherry picked from commit 569c2fcf952a3ec13ddf77c0058e769bf68f3aaf)

- - - - -
5c936038 by David Rosca at 2024-05-07T18:11:35+02:00
frontends/va: Fix AV1 slice_data_offset with multiple slice data buffers

The slice parameter data offset refers to offset in the submitted data buffer.
When multiple slice data buffers are submitted, the offsets of all slices needs
to be adjusted to be based from the start of the first data buffer.

Cc: mesa-stable
Reviewed-by: Leo Liu <leo....@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28960>
(cherry picked from commit 6746d4df6eac83d048e88c2d54aa19e7c1a0a696)

- - - - -
eb8f6e96 by David Rosca at 2024-05-07T18:11:36+02:00
Revert "radeonsi/vcn: AV1 skip the redundant bs resize"

Currently ffmpeg has a bug in VAAPI AV1 decode that in some cases
it submits the same slice data buffer as many times as there is tiles.
However, in other cases it behaves correctly and all slice data buffers
contain different parts of bitstream to decode which this change breaks.

Now that the va frontend is passing correct offsets, this fixes decoding
AV1-TEST-VECTORS/av1-1-b8-22-svc-L1T2 with ffmpeg.

This reverts commit e6701f723147c45798584ba77da7095f2317684c.

Cc: mesa-stable
Reviewed-by: Leo Liu <leo....@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28960>
(cherry picked from commit 88dfe04b08d5a1279dbde042b2e79ca2e7a530a6)

- - - - -
c849ee43 by Tapani Pälli at 2024-05-07T18:11:37+02:00
iris: change stream uploader default size to 2MB

Patch bumps up the size to the 2MB alignment, this fixes rendering
issues with Star Wars KOTOR when VBO's are not used (which is the
default setting).

Fixes: 0b6693a3a14 ("iris: Align fresh BO allocations to 2MB in size")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10863
Signed-off-by: Tapani Pälli <tapani.pa...@intel.com>
Reviewed-by: Kenneth Graunke <kenn...@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28974>
(cherry picked from commit cbe2630f19e86638229f65fb1ee1992f71889c2a)

- - - - -
2c3d8d76 by Boris Brezillon at 2024-05-07T18:11:38+02:00
panfrost: Add the BO containing fragment program descriptor to the batch

On pre-Valhall HW, the fragment shader metadata was part of the RSD
(renderer state descriptor), which was emitted at draw time, but
Valhall introduces a shader program descriptor containing only the
shader information, and this one is emitted at shader preparation
time.

If we don't add the FS state BO to batch, we might end up with a batch
being executed after the shader object has been destroyed, leading to
page faults when the GPU tries to access the shader program descriptor.

We make the panfrost_batch_add_bo() unconditional since it gracefully
handles the NULL case (which will happen on v7-).

Fixes: 087b63cb0771 ("panfrost: Allow uploading fragment SPDs")
Signed-off-by: Boris Brezillon <boris.brezil...@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-l...@collabora.com>
Reviewed-by: Antonino Maniscalco <antonino.manisca...@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28926>
(cherry picked from commit 2cc317763ccc2f33bbff0920bb0833d09300f60c)

- - - - -
ea8729bc by Boris Brezillon at 2024-05-07T18:11:38+02:00
pan/kmod: Make default allocator thread-safe

Allocations targeting a pan_kmod_dev can happen concurrently, so we
need the pan_kmod_dev allocator to be thread-safe.

ralloc() is not thread-safe, and we don't really need a hierarchical
allocator in this context anyway, so let's just switch to calloc/free
instead.

Fixes: d95ec56f8c68 ("panfrost: Abstract kernel driver operations")
Reported-by: Eric Smith <eric.sm...@collabora.com>
Signed-off-by: Boris Brezillon <boris.brezil...@collabora.com>
Tested-by: Eric Smith <eric.sm...@collabora.com>
Reviewed-by: Eric Smith <eric.sm...@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-l...@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28926>
(cherry picked from commit 4c74d1473054ca3cc609bae6e31028063bd531bf)

- - - - -
8aa5d5ca by Constantine Shablia at 2024-05-07T18:11:39+02:00
panfrost: report correct MAX_VARYINGS

Fixes packing-varying piglit failures

Cc: mesa-stable
Reviewed-by: Erik Faye-Lund <erik.faye-l...@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezil...@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29017>
(cherry picked from commit 81f42d82edef8b3617cc504bfc1bbfc381e52f3b)

- - - - -
9037c102 by Mike Blumenkrantz at 2024-05-07T20:13:45+02:00
zink: add a tu flake

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

- - - - -
bd3a6fae by Eric Engestrom at 2024-05-08T14:38:34+02:00
.pick_status.json: Update to b8e79d2769b4a4aed7e2103cf0405acc5bdadb86

- - - - -
e76bce30 by Karol Herbst at 2024-05-08T14:38:36+02:00
rusticl: use stream uploader for cb0 if prefered

Using the same buffer without a barrier actually can lead to data races as
drivers might not properly synchronize the content. Using the stream
uploader is a neat fix which prevents us from having to use a barrier but
still keep high throughput when launching kernels back-to-back.

Fixes: 5ff33f99058 ("rusticl: use real buffer for cb0 for drivers 
prefering")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27666>
(cherry picked from commit 8da8c6c2d8bf9b9b04ee030df68d7d44146fc877)

- - - - -
1b8bd9dd by Eric Engestrom at 2024-05-08T15:28:38+02:00
docs: add release notes for 24.0.7

- - - - -
cc175010 by Eric Engestrom at 2024-05-08T15:28:59+02:00
VERSION: bump for 24.0.7

- - - - -


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/c659c7e6607213abafaee3b4aed19823feab91ca...cc175010c5d9c60b02c2b22d60564e8fb2fc0a55

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


Reply via email to