URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=49a47f187e1de48794a9641821ab1e952814969c
Author: Dylan Baker <[email protected]>
Date: Thu Sep 28 14:08:15 2023 -0700
VERSION: update to 23.2.1
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ddc41d4652c61e1815f772ea02dd9a8e798a4943
Author: Dylan Baker <[email protected]>
Date: Thu Sep 28 14:08:15 2023 -0700
docs: add release notes for 23.2.1
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=844168b3325bfe6d96ca87253966e55adb7922a1
Author: Dylan Baker <[email protected]>
Date: Thu Sep 28 14:08:12 2023 -0700
docs: truncate new_features.txt
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f28940fea3d65db04a12795ba997cde2826a9ef
Author: Paulo Zanoni <[email protected]>
Date: Fri Sep 8 14:50:17 2023 -0700
iris: assert(bo->deps) after realloc()
Iris in general doesn't really like checking the return value of its
allocations, but in some places it does assert that those pointers are
non-NULL. We've recently investigated a bug that could have been
coming from a failed bo->deps realloc(), so add the assert() here to
help give us more confidence over things the next time we're debugging
issues.
Reviewed-by: José Roberto de Souza <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Signed-off-by: Paulo Zanoni <[email protected]>
(cherry picked from commit 7c538b5ad8ef7b86164080c1639d993b7d7bdfb9)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25404>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e4c04864a09404e390926efd788b73ef9ff1c94
Author: Paulo Zanoni <[email protected]>
Date: Fri Sep 8 14:29:51 2023 -0700
iris: avoid stack overflow in iris_bo_wait_syncobj()
Keep most cases using the stack as it's cheaper, but fall back to the
heap when the size gets too big.
This should fix a stack overflow reported by @rhezashan for a case
where we had lots of iris_screens.
Credits to Matt Turner and José Roberto de Souza for their work on
this issue, which led us to find its root cause.
Cc: mesa-stable
Reported-by: rheza shandikri (@rhezashan in gitlab)
Credits-to: José Roberto de Souza <[email protected]>
Credits-to: Matt Turner <[email protected]>
Reviewed-by: José Roberto de Souza <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Signed-off-by: Paulo Zanoni <[email protected]>
(cherry picked from commit 3cec15dd142b47c33b9e266a9b9f8e2c6540fa99)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25404>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a257694f6adfba5aa85dea5d6e51bd70f9da28f
Author: Paulo Zanoni <[email protected]>
Date: Thu Sep 7 17:48:05 2023 -0700
iris: assert bufmgr->bo_deps_lock is held
This is the only place that touches bo->deps but does not explicitly
lock it and is not a setup/teardown function where locking won't help
anything.
I'm confident we won't hit this assertion, but I've recently had this
lock as the suspect of a bug and had to check the callers to see if we
could be calling from any unlocked place. Having the assert helps
increasing our confidence.
Reviewed-by: José Roberto de Souza <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Signed-off-by: Paulo Zanoni <[email protected]>
(cherry picked from commit 762b9aad01c9bdc78e10f7bf53d750942322b289)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25404>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3fd835f6fd72b2388893d562558eff92c335dbbd
Author: Ian Romanick <[email protected]>
Date: Thu Jun 22 19:03:25 2023 -0700
intel/fs: Constant fold OR and AND
The path taken in fs_visitor::swizzle_nir_scratch_addr for DG2 generates
some AND and OR instructions before the SHL. This commit folds those so
the whold calculation becomes a constant (like on older platforms).
v2: Fix return type of src_as_uint. Noticed by Marcin.
shader-db results:
DG2
total instructions in shared programs: 23190475 -> 23179540 (-0.05%)
instructions in affected programs: 36026 -> 25091 (-30.35%)
helped: 7 / HURT: 0
total cycles in shared programs: 841196807 -> 841142563 (<.01%)
cycles in affected programs: 1660670 -> 1606426 (-3.27%)
helped: 7 / HURT: 0
No shader-db changes on any older Intel platforms.
fossil-db results:
DG2
Totals:
Instrs: 197780372 -> 197773966 (-0.00%)
Cycles: 14066410782 -> 14066399378 (-0.00%); split: -0.00%, +0.00%
Subgroup size: 8438104 -> 8438112 (+0.00%)
Send messages: 8049445 -> 8049446 (+0.00%)
Scratch Memory Size: 14263296 -> 14264320 (+0.01%)
Totals from 9 (0.00% of 668055) affected shaders:
Instrs: 24547 -> 18141 (-26.10%)
Cycles: 1984791 -> 1973387 (-0.57%); split: -0.98%, +0.40%
Subgroup size: 88 -> 96 (+9.09%)
Send messages: 867 -> 868 (+0.12%)
Scratch Memory Size: 69632 -> 70656 (+1.47%)
No fossil-db changes on any older Intel platforms.
Reviewed-by: Kenneth Graunke <[email protected]>
(cherry picked from commit cb0de0a1d3420ddf9da56b24b5dd09205b8574ea)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25377>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=41fe60cf3e4b09c80a43e6cf2ae5ff7430fb94f3
Author: Ian Romanick <[email protected]>
Date: Fri Nov 13 19:11:56 2020 -0800
intel/fs: Constant fold SHL
This is a modified version of a commit originally in !7698. This version
add the changes to brw_fs_copy_propagation. If the address passed to
fs_visitor::swizzle_nir_scratch_addr is a constant, that function will
generate SHL with two constant sources.
DG2 uses a different path to generate those addresses, so the constant
folding can't occur there yet. That will be addressed in the next
commit.
What follows is the commit change history from that older MR.
v2: Previously this commit was after `intel/fs: Combine constants for
integer instructions too`. However, this commit can create invalid
instructions that are only cleaned up by `intel/fs: Combine constants
for integer instructions too`. That would potentially affect the
shader-db results of each commit, but I did not collect new data for
the reordering.
v3: Fix masking for W/UW and for Q/UQ types. Add an assertion for
!saturate. Both suggested by Ken. Also add an assertion that B/UB types
don't matically come back.
v4: Fix sources count. See also ed3c2f73dbb ("intel/fs: fixup sources
number from opt_algebraic").
v5: Fix typo in comment added in v3. Noticed by Marcin. Fix a typo in a
comment added when pulling this commit out of !7698. Noticed by Ken.
shader-db results:
DG2
No changes.
Tiger Lake, Ice Lake, and Skylake had similar results (Ice Lake shown)
total instructions in shared programs: 20655696 -> 20651648 (-0.02%)
instructions in affected programs: 23125 -> 19077 (-17.50%)
helped: 7 / HURT: 0
total cycles in shared programs: 858436639 -> 858407749 (<.01%)
cycles in affected programs: 8990532 -> 8961642 (-0.32%)
helped: 7 / HURT: 0
Broadwell and Haswell had similar results. (Broadwell shown)
total instructions in shared programs: 18500780 -> 18496630 (-0.02%)
instructions in affected programs: 24715 -> 20565 (-16.79%)
helped: 7 / HURT: 0
total cycles in shared programs: 946100660 -> 946087688 (<.01%)
cycles in affected programs: 5838252 -> 5825280 (-0.22%)
helped: 7 / HURT: 0
total spills in shared programs: 17588 -> 17572 (-0.09%)
spills in affected programs: 1206 -> 1190 (-1.33%)
helped: 2 / HURT: 0
total fills in shared programs: 25192 -> 25156 (-0.14%)
fills in affected programs: 156 -> 120 (-23.08%)
helped: 2 / HURT: 0
No shader-db changes on any older Intel platforms.
fossil-db results:
DG2
Totals:
Instrs: 197780415 -> 197780372 (-0.00%); split: -0.00%, +0.00%
Cycles: 14066412266 -> 14066410782 (-0.00%); split: -0.00%, +0.00%
Totals from 16 (0.00% of 668055) affected shaders:
Instrs: 16420 -> 16377 (-0.26%); split: -0.43%, +0.17%
Cycles: 220133 -> 218649 (-0.67%); split: -0.69%, +0.01%
Tiger Lake, Ice Lake and Skylake had similar results. (Ice Lake shown)
Totals:
Instrs: 153425977 -> 153423678 (-0.00%)
Cycles: 14747928947 -> 14747929547 (+0.00%); split: -0.00%, +0.00%
Subgroup size: 8535968 -> 8535976 (+0.00%)
Send messages: 7697606 -> 7697607 (+0.00%)
Scratch Memory Size: 4380672 -> 4381696 (+0.02%)
Totals from 6 (0.00% of 662749) affected shaders:
Instrs: 13893 -> 11594 (-16.55%)
Cycles: 5386074 -> 5386674 (+0.01%); split: -0.42%, +0.43%
Subgroup size: 80 -> 88 (+10.00%)
Send messages: 675 -> 676 (+0.15%)
Scratch Memory Size: 91136 -> 92160 (+1.12%)
Reviewed-by: Kenneth Graunke <[email protected]>
(cherry picked from commit 61c786bad51c48759ea4d2e8c405e5f99abb69a7)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25377>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=201782d0fa66fccda8bd925b83405f412d823f9d
Author: Ian Romanick <[email protected]>
Date: Thu May 26 10:58:10 2022 -0700
intel/fs: Always do opt_algebraic after opt_copy_propagation makes progress
opt_copy_propagation can create invalid instructions like
shl(8) vgrf96:UD, 2d, 8u
These instructions will be cleaned up by opt_algebraic. The irony is
opt_algebraic converts these to simple mov instructions that
opt_copy_propagation should clean up. I don't think we want a loop like
do {
progress = false;
if (OPT(opt_copy_propagation)) {
OPT(opt_algebraic);
OPT(dead_code_eliminate);
}
} while (progress);
But maybe we do?
Maybe this would be sufficient:
while (OPT(opt_copy_propagation))
OPT(opt_algebraic);
OPT(dead_code_eliminate);
No shader-db or fossil-db changes (yet) on any Intel platform. This is
expected.
v2: Do opt_algebraic immediately after every call to
opt_copy_propagation instead of being clever. Suggested by Lionel.
Tested-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
(cherry picked from commit 56e6186dcf0b664e1595eaee7878a40c65857010)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25377>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6395f22216b38ca60b8c8d8197fbd94f659b4164
Author: Matt Turner <[email protected]>
Date: Thu Aug 10 14:12:24 2023 -0400
Revert "intel/fs: only avoid SIMD32 if strictly inferior in throughput"
This reverts commit 6b494745be0900a67004d6f3e4b730c3cd67da79.
The logic is not entirely correct: the comparison is between two
static-analysis estimates of a dynamic system with variables that aren't
captured by the shader source, so using ">" will always have greater
potential
to cause regressions whenever the performance difference between the two
builds
is something not captured by the static model, no matter how much the model
is
improved.
Reference: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9262
(cherry picked from commit d142c845d05732f7858839493e0dba6a1fa5d6c0)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25377>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a2005ce2e3d4f5327192f69e11536a65141e5a04
Author: Lionel Landwerlin <[email protected]>
Date: Wed Aug 16 11:28:24 2023 +0300
iris: ensure stalling pipe control before fast clear
Signed-off-by: Lionel Landwerlin <[email protected]>
Fixes: 87149cc545 ("blorp: update and move fast clear PIPE_CONTROLs to
drivers")
Reviewed-by: Nanley Chery <[email protected]>
(cherry picked from commit aebe58458611e0bb585a5bce8e16c1175783f3cc)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25377>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4788aec2f349f27a315085d4d7e0e8b27f803fce
Author: Lionel Landwerlin <[email protected]>
Date: Thu Jun 8 08:52:28 2023 +0300
blorp: update and move fast clear PIPE_CONTROLs to drivers
Before this patch, when updating the indirect clear color, BLORP only
invalidated the texture cache on gfx11. The hardware docs state that
the texture cache invalidation is also needed on gfx12 however. Add
this invalidation for gfx12 and move the fast-clear related cache
invalidations to the drivers for clarity and performance.
Signed-off-by: Lionel Landwerlin <[email protected]>
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5850
Reviewed-by: Nanley Chery <[email protected]>
(cherry picked from commit 87149cc545afdacb339a933d47ded5c1adf8f429)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25377>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=efe981f50ee9069c654f3be96d47c9de5cb3e52b
Author: Lionel Landwerlin <[email protected]>
Date: Thu Jul 27 20:54:25 2023 +0300
blorp: switch blorp_update_clear_color to early return
Avoid even going to the function if we don't need to.
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Nanley Chery <[email protected]>
(cherry picked from commit c94bd5611438fe8b5af9386d7a6511136c80b126)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25377>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=42cef07fb0998e97dc8ac1b09003c574a022b8c6
Author: Dylan Baker <[email protected]>
Date: Mon Sep 25 12:59:24 2023 -0700
zink/ci: mark unexpcted pass as expected
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=265a822e9d8dae03e464cf775d286ed4f2cd39c2
Author: Rhys Perry <[email protected]>
Date: Wed Sep 20 19:27:39 2023 +0100
aco: reset prefetch in the correct block after removing the exit
fossil-db (navi31):
Totals from 279 (0.35% of 79332) affected shaders:
(no stat changes)
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Daniel Schürmann <[email protected]>
Fixes: c778803d673f ("aco/assembler: change prefetch mode on GFX10.3+
during loops if beneficial")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25312>
(cherry picked from commit 21db2e701746fca5d5be0b7135a1bd6c7345e789)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=94d14d477f02a4c51f7de32c420a51ca737f60fc
Author: Lionel Landwerlin <[email protected]>
Date: Fri Aug 25 23:42:17 2023 +0300
intel: don't assume Linux minor dev node
Signed-off-by: Lionel Landwerlin <[email protected]>
Cc: mesa-stable
Acked-by: Emma Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24744>
(cherry picked from commit a851dc5e3c08763151d110aab5f58949e9ce4d3f)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=739d44b0fca5a786346b319b4e1c05b7372dfc22
Author: Lionel Landwerlin <[email protected]>
Date: Fri Aug 25 23:15:29 2023 +0300
anv: fix utrace timestamp buffer copies
Fixes: 521c216efc ("anv: use COMPUTE_WALKER post sync field to track
compute work")
Acked-by: Emma Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24744>
(cherry picked from commit e0f420c3348417d980d3bed27b20debafd5b6aef)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d5d8757e1887ac4d0ab1943ad051c9685ced61c
Author: David Rosca <[email protected]>
Date: Sat Sep 23 15:49:55 2023 +0200
frontends/va: Set default rate control values once when creating encoder
Move setting the default values from getEncParamPresetH264/5 as this
function is called on each frame which would result in overwriting
values set by application.
This fixes setting HRD parameters and max_qp/min_qp when
PIPE_VIDEO_CAP_ENC_QUALITY_LEVEL is not supported.
Cc: mesa-stable
Reviewed-by: Ruijing Dong <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25355>
(cherry picked from commit dd2ef9a0e4c706e3139f48d16fc8a617e58717d0)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=136be4a64d4c2f454553461b27d1b2298e995c65
Author: David Rosca <[email protected]>
Date: Sat Sep 23 13:11:57 2023 +0200
frontends/va: Process VAEncSequenceParameterBufferType first in
vaRenderPicture
The encoder is created in handleVAEncSequenceParameterBufferType and it
also sets some default parameters, so we need to make sure to handle
this buffer first because application may have already set those
parameters from earlier buffers.
This fixes setting HRD parameters with gstreamer vah264enc/vah265enc
when PIPE_VIDEO_CAP_ENC_QUALITY_LEVEL is supported.
Cc: mesa-stable
Reviewed-by: Ruijing Dong <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25355>
(cherry picked from commit c970a9b6634d22d8b9b7567aff8708dc58ba9e81)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=52fbebd9d89da6e2fd2149cabced7c71ad40521a
Author: Karmjit Mahil <[email protected]>
Date: Tue Sep 19 13:35:50 2023 +0100
pvr: Fix dynamic desc offset storage
The index at which the dynamic descriptor offsets were being
stored was incorrect, leading to some offsets not being stored and
thus `0` being applied as the offset to the descriptors instead.
dEQP test fixed:
dEQP-VK.binding_model.shader_access.{primary,secondary}_cmd_buf
.uniform_buffer_dynamic
.{vertex,fragment,compute,vertex_fragment}
.multiple_discontiguous_descriptor_sets
.*_descriptor.offset_view_{,non}zero_dynamic_nonzero
Fixes: aa791961a82e ("pvr: Add support for dynamic buffers descriptors")
Signed-off-by: Karmjit Mahil <[email protected]>
Reviewed-by: Frank Binns <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25320>
(cherry picked from commit feafb8a256b67d816c1cb8fdf258c75a29245c3f)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=14783f1d4f0f60a9a17b3e6817b39929df39901b
Author: Karmjit Mahil <[email protected]>
Date: Mon Sep 18 15:36:29 2023 +0100
pvr: Fix `for` loop itarator usage
The `i` iteration variable was being used instead of `k` when
appending new mappings, and getting the current source rect.
dEQP test fixed:
dEQP-VK.pipeline.monolithic.image.suballocation.sampling_type
.combined.view_type.3d.format.*.count_1.
.{3x3x3,5x5x5,...(odd dimensions)}
Fixes: 060c3db4efd6 ("pvr: Complete pvr_generate_custom_mapping()")
Reported-by: James Glanville <[email protected]>
Signed-off-by: Karmjit Mahil <[email protected]>
Reviewed-by: Frank Binns <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25321>
(cherry picked from commit bf17e4fe330379408ebaed7a2509cd603edd8917)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ab94478a1f5b8b6e5aa20f7636a023db6a9ebb02
Author: Mike Blumenkrantz <[email protected]>
Date: Wed Aug 16 06:41:48 2023 -0400
zink: always trace_screen_unwrap in acquire
it's possible for acquire to be called from the frontend, in which
case the screen will still be trace-wrapped
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25288>
(cherry picked from commit 207b37bfd9b773043819c2cea6eaf57557bba57d)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e3f799bb95eb57ed8676c4e1321fabb22f16359
Author: Mike Blumenkrantz <[email protected]>
Date: Tue Sep 19 08:53:42 2023 -0400
zink: avoid UAF on wayland async present with to-be-retired swapchain
wayland surfaces are likely to become unlinked in WSI implementations upon
retiring a swapchain, requiring the pending present to complete
in order to avoid invalid access
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25288>
(cherry picked from commit aaabb5b0f209dfad32ff108a49f39871e688444f)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=34ae85f587ee9f28bb12132c4c5a3a34e7034d34
Author: Mike Blumenkrantz <[email protected]>
Date: Tue Sep 19 09:01:45 2023 -0400
zink: move swapchain fence to swapchain object
this is more accurate in terms of usage/ownership and avoids potential
illegal fence usage in the scenario where multiple async presents are
in flight
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25288>
(cherry picked from commit 2b7b1059e418359c6445833e12dea27842810cc6)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e65fc1236c47fc1a24b9925f29b97a1e91933e5b
Author: Dylan Baker <[email protected]>
Date: Mon Sep 25 09:37:54 2023 -0700
.pick_status.json: Update to f4fecdad724edf8187d22928ed844af7fd84654d
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=99f8655d50b7602902167d179d52c4fe848f32fb
Author: Konstantin Seurer <[email protected]>
Date: Tue Aug 15 14:55:10 2023 +0200
aco/spill: Make sure that offset stays in bounds
If a shader spills a lot, the offset can be above the HW limit.
cc: mesa-stable
Reviewed-by: Rhys Perry <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24652>
(cherry picked from commit 24555cdbbd93cd0eb56d7da7cc60dc43adc9b9f1)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=20de808c327c543c4a5aeca2d5b75f9592296c53
Author: Pierre-Eric Pelloux-Prayer <[email protected]>
Date: Thu Sep 21 09:42:53 2023 +0200
radeonsi: emit framebuffer state after allocating cmask
tex->cmask_base_address_reg and tex->cb_color_info are used in
si_emit_framebuffer_state so we have to re-emit the state when
they're modified.
It's not done in si_alloc_separate_cmask because it cannot
update framebuffer.dirty_cbufs.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9830
Cc: mesa-stable
Reviewed-by: Yogesh Mohan Marimuthu <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25317>
(cherry picked from commit 60a7c9688cfb184f45ce7bcc132dc2da286ef95e)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a6ddfd65e1bce7219dd6d4246e5a0489b484771
Author: lorn10 <[email protected]>
Date: Thu Mar 2 11:51:27 2023 +0000
docs: Update Clover's env variable documentation
Fixes: 981bc603b46c ("clover: implement CLOVER_DEVICE_TYPE like
RUSTICL_DEVICE_TYPE")
Signed-off-by: David Heidelberg <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21657>
(cherry picked from commit 00aa8816a1a9f501515a40d63c7d0b4c4dda3e31)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e4faebcc3e34c2f4efeea2ef0114d5d01e08a3ef
Author: Tapani Pälli <[email protected]>
Date: Tue Sep 12 13:35:31 2023 +0300
crocus: avoid issues with undefined clip distance
Cc: mesa-stable
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Sagar Ghuge <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25177>
(cherry picked from commit c773794943e950cb64b06c86d331298093ed61d3)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f35d00a75ae70fb17f5abb11f9460b23aae5be93
Author: Tapani Pälli <[email protected]>
Date: Tue Sep 12 12:45:47 2023 +0300
iris: avoid issues with undefined clip distance
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9797
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Sagar Ghuge <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25177>
(cherry picked from commit d6d73aae4f833d1e5d7c1bef68a8db3915ec666b)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=32ff84911bea391841956ae5d954528d95091801
Author: Yiwei Zhang <[email protected]>
Date: Sat Sep 16 14:57:52 2023 -0700
vulkan/android: add missing AHARDWAREBUFFER_USAGE_GPU_DATA_BUFFER usage
An AHB backing a Vkbuffer requires AHARDWAREBUFFER_USAGE_GPU_DATA_BUFFER
usage bit, which is missed from the original ANV and RADV Android
frontends as well as the common VK Android refactor.
Cc: mesa-stable
Signed-off-by: Yiwei Zhang <[email protected]>
Reviewed-by: Chia-I Wu <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25263>
(cherry picked from commit cd0b86fce1fa8cef655a42bfc873dac2633c4615)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=28642b50e52bb32f5275fb9a5299ee5f5e5e52fb
Author: Rhys Perry <[email protected]>
Date: Fri Sep 15 12:06:48 2023 +0100
aco: remove unused p_logical_end check when optimizing branching sequence
I don't see why a p_logical_end is expected or required. It might not be
present in some situations, which causes an assertion failure:
s2: %19646:s[0-1] = p_reload %19701:v[8], 11
s2: %0:exec, s1: %8817:scc = s_andn2_b64 %19646:s[0-1], %0:exec
s2: %8818:s[20-21] = p_cbranch_z %0:exec BB1116, BB1114
No fossil-db changes (gfx1100).
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Timur Kristóf <[email protected]>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25244>
(cherry picked from commit 6dd751b3b94599f9948e86ec78e2c08163353f96)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d5a468dc361437b3ac43d215478c4399592b61bf
Author: Rhys Perry <[email protected]>
Date: Fri Sep 15 12:05:34 2023 +0100
aco: check logical_phi_info at p_logical_end when eliminating exec writes
This is when the copies actually happen, not at the branch.
fossil-db (gfx1100):
Totals from 1 (0.00% of 79332) affected shaders:
Instrs: 424 -> 423 (-0.24%)
CodeSize: 2172 -> 2168 (-0.18%)
Latency: 2899 -> 2896 (-0.10%)
Copies: 24 -> 23 (-4.17%)
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Timur Kristóf <[email protected]>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25244>
(cherry picked from commit 8d5bd3ca48d9aa5dfe42a7a7c079d25478c005a2)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=17ad8d42984038e5a3e13b9c749c2196cb2d9bdb
Author: Rhys Perry <[email protected]>
Date: Thu Sep 14 14:22:29 2023 +0100
aco/optimizer_postRA: check overwritten_subdword in is_overwritten_since()
Fixes crash for
dEQP-VK.mesh_shader.ext.in_out.with_f16.permutation_0.mesh_only and
similar tests on GFX11.
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Timur Kristóf <[email protected]>
Fixes: 3d29779a25a9 ("aco/optimizer_postRA: Distinguish overwritten
untrackable and subdword.")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25223>
(cherry picked from commit ac48334ecd307054bb4176089898c6e19e32fc6f)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=de15f2aeb383138abcdadbd3796e9dbcd8b2b588
Author: Pierre-Eric Pelloux-Prayer <[email protected]>
Date: Wed Sep 13 16:28:12 2023 +0200
st/mesa: check renderbuffer before using it
rb being NULL is only checked for in the caller if no-error isn't
used.
cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9747
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25209>
(cherry picked from commit 63a3a9b23b0a042fb751ed8f4e31bda25cf2ee23)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=72ab9d28e96703fa4dadfb3f756c6b3a0ec4a9d5
Author: Samuel Holland <[email protected]>
Date: Tue Jun 20 12:32:07 2023 -0700
Android.mk: Only link LLVM for radeonsi, not amd_vk
When building for Android, avoid the LLVM dependency if possible.
Cc: mesa-stable
Acked-by: Mauro Rossi <[email protected]>
Reviewed-by: Roman Stratiienko <[email protected]>
Change-Id: Idda03f954b4b5326e23a848e541411b60fcef063
Signed-off-by: Samuel Holland <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24007>
(cherry picked from commit 497aecb210094d83f3b3be3a59f7210f610c33a6)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f4f86a9b6d20bd8e3f4cbe34b6837bfb28ef3eb
Author: Samuel Holland <[email protected]>
Date: Tue Jun 20 12:27:12 2023 -0700
Android.mk: Explicitly enable/disable LLVM support
The AMD Vulkan driver uses LLVM by default, but it is possible to build
the driver without the LLVM dependency. In this case, we must explicitly
disable LLVM support, or else meson will die after failing to find LLVM.
The Android build system already knows when to link libLLVM, so forward
that information to meson.
Cc: mesa-stable
Acked-by: Mauro Rossi <[email protected]>
Reviewed-by: Roman Stratiienko <[email protected]>
Change-Id: I7489d3811625b390aaaf2e84e666b4a8d98328b0
Signed-off-by: Samuel Holland <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24007>
(cherry picked from commit ec32619cb0475016b6d3519b999461e17acdf04c)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=35a67658e5dafac842271985dcec7c0163a48eaf
Author: Samuel Holland <[email protected]>
Date: Tue Jun 20 12:24:33 2023 -0700
Android.mk: Allow building only Vulkan drivers
Android bundles ANGLE for implementing OpenGL ES and EGL on top of
Vulkan. When using ANGLE, mesa is only needed for its Vulkan drivers.
Cc: mesa-stable
Acked-by: Mauro Rossi <[email protected]>
Reviewed-by: Roman Stratiienko <[email protected]>
Change-Id: I034a0af52f9216bc5f1322f584bc591c90222327
Signed-off-by: Samuel Holland <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24007>
(cherry picked from commit 599f47f11c6d38849e51d1680f08351d348ffe2e)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ad008b8a31b4ed26aa8bd961bb571b87f743f297
Author: Mike Blumenkrantz <[email protected]>
Date: Mon Sep 11 11:30:35 2023 -0400
zink: propagate rp_tc_info_updated across unordered blits
this otherwise breaks rp optimizing
Fixes: 3a9f7d70383 ("zink: implement unordered u_blitter calls")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25121>
(cherry picked from commit 267b997abf11fa4ef02d9ee11c1f2fc39f86c1c7)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=80b09c3bec5fe17486e4e06899801c7e6e696b14
Author: Mike Blumenkrantz <[email protected]>
Date: Fri Sep 15 09:29:49 2023 -0400
tu: handle unused color attachments without crashing
if the format is not set then this attachment must be ignored
Fixes: 97da0a77341 ("tu: Rewrite to use common Vulkan dynamic state")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25121>
(cherry picked from commit 047213fcbaffda7e769ed982bb1113c4383b5ee2)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d86619a49829537957ab28ab13de415ff4cfc529
Author: Connor Abbott <[email protected]>
Date: Thu Sep 14 16:24:22 2023 +0200
tu: Fix assert in FDM state emission
Making the sub_cs not writeable switches the BO we're emitting to, which
causes an assert failure in tu_cs_end_sub_stream() because it looks like
we have a mismatched start/end. Just make it not writeable later.
Fixes: 97da0a77341 ("tu: Rewrite to use common Vulkan dynamic state")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25225>
(cherry picked from commit 64ed3576993f407425b8f37d1e2299959f9962a7)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ddfe6b743113e227172906b19ecf131abf5e146
Author: Connor Abbott <[email protected]>
Date: Wed Sep 6 18:57:01 2023 +0200
tu: Fix per-view viewport state propagation
We no longer use viewport::per_view_viewport, it's part of the program
state instead, but we forgot to delete it and rewrite all users.
Fixes: 97da0a77341 ("tu: Rewrite to use common Vulkan dynamic state")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25225>
(cherry picked from commit 749e1de9d33694d7be5190f03fe11a204694e4f4)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9eb180b3108ca6ceeb491f26703eb978017be39a
Author: Sviatoslav Peleshko <[email protected]>
Date: Thu Sep 7 13:15:41 2023 +0300
intel/fs: Check if the whole ubo load range is in the push const range
Before this, we were checking only the beginning of the ubo range, so
partially overlapping loads were trying to load undefined data.
Fixes: b2da1238 ("i965: Use pushed UBO data in the scalar backend.")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9748
Signed-off-by: Sviatoslav Peleshko <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25111>
(cherry picked from commit b1a63d5418f80d3db33f009d14729286f1877ce6)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b1d78da21374838ebb9d04f80fb7deb515f4ff4
Author: Mike Blumenkrantz <[email protected]>
Date: Thu Sep 14 16:29:10 2023 -0400
lavapipe: clamp cache uuid size
cc: mesa-stable
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25232>
(cherry picked from commit dd6a7a8e61524ea1b933ca56c54bc49cb3306185)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c6638a4bc3b14f2024877f664d0cc6ea47ba754
Author: Mike Blumenkrantz <[email protected]>
Date: Thu Sep 14 11:42:35 2023 -0400
zink: flag db maps as unsynchronized
these otherwise can be created using the wrong slab
Fixes: 98c411a2a19 ("zink: add PERSISTENT for db buffer maps")
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25227>
(cherry picked from commit b73ebc6bfc3ab6efa2d2ae497d155e8326fad542)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7932c7a0900473e5e756e99a44b02d531bb15547
Author: Mike Blumenkrantz <[email protected]>
Date: Thu Sep 14 11:41:42 2023 -0400
aux/tc: don't use pipe_buffer_create_with_data() for rp-optimized subdata
this function doesn't use the correct tc map flags, which causes
drivers to (potentially) use the wrong slab for transfer allocation
and then crash
Fixes: 51ad269198e ("aux/tc: handle stride mismatch during rp-optimized
subdata")
Acked-by: Marek Olšák <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25227>
(cherry picked from commit a5be0385c7c7f3eb380c4677b17b012ab9640ce0)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3fac6fa023c422d58fe309df0aef2ed7f634dcde
Author: Mike Blumenkrantz <[email protected]>
Date: Thu Sep 14 11:40:29 2023 -0400
aux/tc: fix rp info handling around tc_sync calls
if a set_framebuffer_state call has occurred but no draws have been
triggered, the rp info must be preserved for the driver to (eventually)
use after the sync
Fixes: 07017aa137b ("util/tc: implement renderpass tracking")
Acked-by: Marek Olšák <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25227>
(cherry picked from commit 81dd39de0198d1cd4497c7553da5e2347528e2a2)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c617870e8feaa763d84ad78515946ac72560df03
Author: Ruijing Dong <[email protected]>
Date: Wed Sep 13 15:03:17 2023 -0400
radeonsi/vcn: change max_poc to fixed value for hevc encoder.
problem: max_poc means the number of bits used in poc lsb
in slice header, and it should not be related to GOP
size. When large GOP size used, it could generate
corrupted video, as the POC could not be correctly
decoded.
solution: use fixed value of max_poc (16) for now.
Cc: mesa-stable
Reviewed-by: Boyuan Zhang <[email protected]>
Signed-off-by: Ruijing Dong <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25214>
(cherry picked from commit fb0f51bc642be3d7d96fa0a582185e46f2649f37)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e6c9dd71ac8dd49755a60390dcea76de4e6e608
Author: Daniel Schürmann <[email protected]>
Date: Mon Sep 4 09:46:25 2023 +0200
aco/insert_exec_mask: set Exact mode after p_discard_if when necessary
Fixes: 5e9df85b1a4504c5b4162e77e139056dc80accc6 ('aco: optimize discard_if
when WQM is not needed afterwards')
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25038>
(cherry picked from commit 0907b53740a456d769d7ad26f071d7610abb9918)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b614a22f241ef3e1eddd7d8b72a460c08b18246
Author: Samuel Pitoiset <[email protected]>
Date: Mon Sep 11 11:20:08 2023 +0200
radv: set THREAD_TRACE_MARKER_ENABLE for mesh/task draws
PAL does that.
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25144>
(cherry picked from commit 312103e0ffb6129427feee2ece1db81fc57862a6)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=41cee21f6205405b5fe34c14ff67279578a5ed9a
Author: Dave Airlie <[email protected]>
Date: Tue Sep 12 12:24:54 2023 +1000
radv/video: take db alignment into account when allocating images.
Make sure to take the db alignment into account when sizing the underlying
images.
Fixes a 360p sample from Lynne.
Cc: mesa-stable
Acked-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Lynne <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25168>
(cherry picked from commit 3740b6f599b098b1cd3fddaec9938af681e8378c)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=814b8bf593ec08e487b3d43432eb58b63eab8b3e
Author: Mike Blumenkrantz <[email protected]>
Date: Mon Sep 11 09:41:37 2023 -0400
aux/tc: fix renderpass tracking fb state clobber scenario
in a stream like:
* set fb state (A)
* flush
* set fb state (B)
* draw -> driver query
* flush
the "driver query" should return the tc info corresponding to the most
recent fb state (B). previously this would increment to C because
the flag for incrementing at the start of a batch was set
Fixes: 07017aa137b ("util/tc: implement renderpass tracking")
Acked-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25206>
(cherry picked from commit 9399165bd4e01d7842440d306d82351b83f1b0a9)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc504299b80a026dee634fc4ee4b1108ed7092bc
Author: Sil Vilerino <[email protected]>
Date: Wed Sep 13 07:38:43 2023 -0400
aux/tc: Add ASSERTED to unreferenced release build variable
Fixes MSVC build error
src/gallium/auxiliary/util/u_threaded_context.c(3184): error C4189: 'size':
local variable is initialized but not referenced
Fixes: 51ad269198e ("aux/tc: handle stride mismatch during rp-optimized
subdata")
Reviewed-By: Mike Blumenkrantz <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25203>
(cherry picked from commit d48f2469bea263e114ae125abb742a7422ce8f71)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2bc31ef058ea10ab54e3bab2ffdfb6e614eac554
Author: Erik Faye-Lund <[email protected]>
Date: Mon Sep 11 12:29:48 2023 +0200
panfrost: delete stale editorconfig file
We no longer use 8-space indent in panfrost, so let's remove the
needless .editorconfig, and instead inherit the 3-space indent from the
toplevel .editorconfig.
Fixes: 0afd691f296 ("panfrost: clang-format the tree")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25147>
(cherry picked from commit 210f1e14d5a1f3c9cb6979c42452b72c65488cf2)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=62c008d231c3a82333c164d9ea67e4f7e25199f6
Author: Mike Blumenkrantz <[email protected]>
Date: Wed Sep 6 10:08:35 2023 -0400
glsl: check for xfb setting xfb info
this otherwise hits the default buffer=0 path, which is invalid
for drivers which don't support xfb
fixes #9763
cc: mesa-stable
Reviewed-by: Timothy Arceri <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25082>
(cherry picked from commit 06af083b9301216f0d764e1753406e8fb66b3277)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d3b688005c2027474f8e71a305257304d8edfacf
Author: Dave Airlie <[email protected]>
Date: Mon Sep 11 16:53:55 2023 +1000
spirv: use a pointer sized int type for opencl event_t
llvm16 + opaque pointers uses a ptr to event for the opaque type,
llvm 17 fixes this properly, but the fix doesn't look too backportable.
Cc: mesa-stable
Reviewed-by: Karol Herbst <[email protected]>
Reviewed-by: Jesse Natalie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25165>
(cherry picked from commit f423d91790a2341c14909a63e7083ac9b51076db)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ac453ea150f2a04ef9c6ca1848b691c03b0666c
Author: Caio Oliveira <[email protected]>
Date: Fri Sep 1 10:14:13 2023 -0700
compiler/types: Use right hash for function types
No bug really materialized since function types
aren't currently being used.
Fixes: 26f456203ca ("compiler/types: Use hash table pre-hashed functions
for type caching")
Reviewed-by: Emma Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25160>
(cherry picked from commit 247f940d3735b6532d4487cd7ff8c0729fb9ea37)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=af918215793d2e26e7a1572fd008e61727654f87
Author: Dave Airlie <[email protected]>
Date: Tue Sep 12 13:30:12 2023 +1000
radv: don't emit event code on video queues.
I don't know if these can be done properly, but for now just don't
emit the standard cp stuff since it hangs the GPU.
"Fixes" dEQP-VK.video.synchronizat*
Cc: mesa-stable
Reviewed-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25170>
(cherry picked from commit 147c17c28c38f57ea91d2bde1198d783dae1424d)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6c8285296d5a53a47d3233f18d49f1660be6b3e1
Author: Hans-Kristian Arntzen <[email protected]>
Date: Tue Sep 12 14:28:18 2023 +0200
wsi/x11: Fix potential deadlock in present ID.
If we observe IDLE before COMPLETE, another queued image may have
presented with present ID 0 which would break the check fixed in this
commit. The original fix for present_id / signal_present_id split
forgot to take this into account.
Fixes: 32f7ff2c204b ("Fix present ID signal when IDLE comes before
COMPLETE").
Signed-off-by: Hans-Kristian Arntzen <[email protected]>
Reviewed-by: Mike Blumenkrantz <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25178>
(cherry picked from commit 08fee190aa0b504c3730cc335b02d7bb86bf8208)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ca144b9bf0f8e242224711d669c63e99be99ddf
Author: Yiwei Zhang <[email protected]>
Date: Tue Sep 12 01:36:50 2023 -0700
venus: fix a device memory report leak
Fixes: f70a08bc60f ("venus: handle device memory report requests")
Signed-off-by: Yiwei Zhang <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25176>
(cherry picked from commit da16a76fe7dafa210c6191c968b29854a87e805b)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=684ce43507509d247f4b34cb6705e37e3f58e651
Author: Illia Polishchuk <[email protected]>
Date: Mon Sep 11 16:10:57 2023 +0300
nir: fix invalid sampler search by texture id
Sampler id cannot be mapped to a uniform object location
Fixes: 1a8dd84ec61 ("nir: Propagate the type sampler type change to the
used variable.")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9793
Reviewed-By: Mike Blumenkrantz <[email protected]>
Signed-off-by: Illia Polishchuk <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25145>
(cherry picked from commit b8a54c50a6a425e95a3ce72986a32b630729814a)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=66e20bb8240094d2b8f187b17a8de83b735227a5
Author: Illia Polishchuk <[email protected]>
Date: Mon Sep 11 16:08:31 2023 +0300
zink: move find_sampler_var from zink to nir core
Avoid code duplication because it need to be used in following commits
Fixes: 1a8dd84ec61 ("nir: Propagate the type sampler type change to the
used variable.")
Reviewed-By: Mike Blumenkrantz <[email protected]>
Signed-off-by: Illia Polishchuk <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25145>
(cherry picked from commit 5a7044d0bc9376aa67d74b735aab425790d8a935)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c20252635bd2ca17d5935eda5198b1985ea4cff
Author: Mike Blumenkrantz <[email protected]>
Date: Tue Sep 12 08:49:52 2023 -0400
aux/tc: fix address calc for segmented texture subdata
this fixes all dimension/array uses for the rp tracking path
Fixes: 51ad269198e ("aux/tc: handle stride mismatch during rp-optimized
subdata")
Acked-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25180>
(cherry picked from commit 5f73b8976bb21f8673c4696294c36a14534b345e)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d7b7927ff8b7b3b769202055b002d1283f4cb11
Author: Mike Blumenkrantz <[email protected]>
Date: Tue Sep 12 08:48:48 2023 -0400
aux/tc: fix staging buffer sizing for texture_subdata
this is the size of the src data, not the dst data
Fixes: 51ad269198e ("aux/tc: handle stride mismatch during rp-optimized
subdata")
Acked-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25180>
(cherry picked from commit b6bc1f85f45d1fea9e8a674dbfa1766b03ad5a9d)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=75b7526185c9590fb8895b59ec76f4360fd418dd
Author: Samuel Pitoiset <[email protected]>
Date: Tue Sep 12 09:05:48 2023 +0200
radv: fix capturing RGP on RDNA3 with more than one Shader Engine
PKT3_RESET_FILTER_CAM_S seems required on GFX11. Otherwise, capturing
with more than on SE can hang.
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25156>
(cherry picked from commit 2cc981a0cd548ecce1be16a92275d7a2a111e0fc)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c36f3c4a0b1810207e6200f56e997decb0d7d91
Author: Samuel Pitoiset <[email protected]>
Date: Mon Sep 11 20:09:45 2023 +0200
radv: fix emitting SQTT userdata when CAM is needed
The third parameter of PKT3 is the predicate bit and this was wrong.
PAL sets the RESET_FILTER_CAM bit when emitting SQTT userdata.
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25158>
(cherry picked from commit 6caae898dd40a4d986aad2eb6b3b705c989c95d9)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2537864f9002b0ccebf93c9a6f50c428ae40cac0
Author: Xaver Hugl <[email protected]>
Date: Mon Oct 17 18:40:13 2022 +0200
vulkan wsi: add support for PresentOptionAsyncMayTear
This commit adds tearing support for Xwayland
Signed-off-by: Xaver Hugl <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19125>
(cherry picked from commit 0a1ccd4a9a6c85bce2013d8ff843e96d151288c9)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a6043c6322e8c2f124429f40c514a03c7dba689
Author: Erico Nunes <[email protected]>
Date: Sun Sep 3 23:45:01 2023 +0200
lima: fix plbu block stride calculation
For some specific texture sizes, notably some texture sizes with width
4096, block stride calculation could end up calculating stride 256 which
is an invalid value.
In those specific cases, this could cause rendering artifacts or
application/driver crashes.
Cc: mesa-stable
Signed-off-by: Erico Nunes <[email protected]>
Reviewed-by: Vasily Khoruzhick <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25084>
(cherry picked from commit cb1c88d41f6dc213533f33f34e9224706f564849)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6cfb05190dd7a83aadfefec4d1458b702e6848c1
Author: Mike Blumenkrantz <[email protected]>
Date: Tue Sep 5 12:37:29 2023 -0400
nir/inline_uniforms: fix oob access with nir_find_inlinable_uniforms
the array dimensionality needs to match nir_add_inlinable_uniforms even if
only the first member is used
Fixes: 0c0fb216dd6 ("nir/inline_uniforms: Allow possibility of more than
one UBO")
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25063>
(cherry picked from commit 39fca243bb914cea853e9d3502f1f38e6bf96ad4)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8a6a489777a9a07f26e0434c32f0a9ca5f1fbeb6
Author: Jordan Justen <[email protected]>
Date: Tue Sep 5 23:26:22 2023 -0700
intel/dev: Update device string for MTL PCI ID 0x7d55
Ref: bspec 55420
Cc: mesa-stable
Signed-off-by: Jordan Justen <[email protected]>
Acked-by: Tapani Pälli <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25073>
(cherry picked from commit ddc3c18e4aaa5b068e1c53147ba0cc1005f3cc68)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ad390aa585576aa7411689a6c1eb29d72aad5864
Author: Mike Blumenkrantz <[email protected]>
Date: Tue Aug 29 09:41:36 2023 -0400
zink: set is_xfb=false for all i/o variables
this can affect streamout generation, even though it so far hasn't
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24950>
(cherry picked from commit e87b24719f0b50fc1f012569b41651f06bbb88c4)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c5fab24c5c3f4460473faa692321e2905ac9ead8
Author: Konstantin Seurer <[email protected]>
Date: Sat Sep 2 22:33:58 2023 +0200
radv: Don't use the depth image view for depth bias emission
If the application records a secondary command buffer that inherits
a render pass without specifying a framebuffer, we should still be able
to emit the depth bias state properly.
Fixes: 266b2cf ("radv: implement VK_EXT_depth_bias_control")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9588
Reviewed-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25018>
(cherry picked from commit 28e1e33c32bd1c58ff20c7c9b5801f6c56a5734b)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e1469b8aea361012a81e9fb473a7d5af6648998a
Author: David Rosca <[email protected]>
Date: Thu Sep 7 21:11:47 2023 +0200
frontends/va: Flush after unmapping VAImageBufferType
If application changed image data we need to flush on unmap to make the
changes visible. This will also flush if the mapping was used only for
reading, but we can't know that as vaMapBuffer doesn't have a parameter
to specify if read or write is requested.
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9774
Reviewed-by: Ruijing Dong <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25102>
(cherry picked from commit d6299ec258d4e991855f8c7bd0ee71f3c286234a)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=864a206398c4f0839744c22f97c3692616915dcc
Author: Georg Lehmann <[email protected]>
Date: Sat Sep 2 17:55:57 2023 +0200
nir/opt_algebraic: remove broken fddx/fddy patterns
These patterns are broken in the following scenario:
%1 = f2fmp %0
%2 = fddx %1
%3 = ... // non quad uniform
if %3 {
%4 = f2f32 %2
...
}
Which would turn into
%3 = ...
if %3 {
%4 = fddx %0
...
}
Yet another example that shows why derivative instructions should be
be intrinsics, not alu.
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Emma Anholt <[email protected]>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25014>
(cherry picked from commit 136a6982515f527a82bfbdeb19c6f5c9d7ce3cf2)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=01019b9577447a235f27770f7eaabfe08e235ab5
Author: Dave Airlie <[email protected]>
Date: Fri Sep 8 11:59:53 2023 +1000
llvmpipe: enable f16 paths on aarch64.
Karol noticed luxmark didn't work, and this seems to fix it.
Cc: mesa-stable
Reviewed-by: Karol Herbst <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25104>
(cherry picked from commit 109a99e6914b124563dca7bb3b8c5eb276a1ad59)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6bc350389e58e6a5df8ec137fff2b4c31da84bb2
Author: Mike Blumenkrantz <[email protected]>
Date: Wed Sep 6 15:46:23 2023 -0400
zink: always add a per-prog ref for gpl libs
previously non-separable progs had their libs owned exclusively by
the shaders, which meant it was possible for a background compile job
to crash while the context was being destroyed when accessing libs
which no longer had active shaders
fixes #9234
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25088>
(cherry picked from commit fd297ecf98ee14f3eba08c0e1e2aa0f277e2aaac)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=47b531ce42eed357a0a8a12de35fe429998c6f94
Author: Dylan Baker <[email protected]>
Date: Sun Sep 24 13:55:47 2023 -0700
.pick_status.json: Mark fa6562b239f00f9f72c988459e252bdee072fd73 as
denominated