Caio Oliveira
aec516ead6
util: Remove size from linear_parent creation
...
None of the callsites took advantage of this, so remove
the feature. This will help to a next change that will
add an opaque type to represent a linear parent.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25280 >
2023-09-25 17:26:17 +00:00
Caio Oliveira
4519421db5
util: Use linear parent to (r)allocated extra nodes
...
Instead of making all the nodes children of the same original
ralloc_ctx, use that context just for the first node (which
is the linear parent). The remaining nodes are (r)allocated
using the first one.
With that change, to free/steal, it is sufficient to apply the
operation to the first node, which uses the underlying linked
list between the nodes at ralloc level. And we can remove
the 'next' pointer in linear_header, now unused.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25280 >
2023-09-25 17:26:17 +00:00
Caio Oliveira
6764689e0e
util: Remove ralloc_parent from linear_header
...
We can reach the ralloc parent from the linear parent, since
it is what was used to allocate the linear parent in the first
place.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25280 >
2023-09-25 17:26:17 +00:00
Samuel Pitoiset
53d9312a5b
radv/ci: skip dEQP-VK.robustness.* on Vangogh due to weird GPU hangs
...
For very weird reasons, this subset hangs on VanGogh only. It took a
while to figure out that and I can't reproduce on my Steam Deck. Skip
the whole subset for now until the issue is figured out to avoid
blocking the CTS update.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24947 >
2023-09-25 15:53:51 +00:00
Samuel Pitoiset
a217c5c58c
ci: update to vulkan-cts-1.3.6.3
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24947 >
2023-09-25 15:53:51 +00:00
Konrad Dybcio
f4fecdad72
freedreno: Include speedbin fallback in 730 chipid to fix probing
...
The kernel exposes CHIP_ID, which consists of:
[63:48] const 0 / reserved
[47:32] speedbin (default 0xffff)
[31:0 ] actual gpu chip ID
Fix the 730 chip id to make it probe correctly.
Keep the existing entry for the downstream KGSL driver.
This is essentially the same as Commit 6067aba9e6 ("freedreno: Include
speedbin fallback in 740 chipid to fix probing"), except for the older
core.
Fixes: cd3719be7d ("freedreno: Fully define a730 and a740 device properties")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25375 >
2023-09-25 15:00:58 +00:00
Rhys Perry
21db2e7017
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 <pendingchaos02@gmail.com >
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev >
Fixes: c778803d67 ("aco/assembler: change prefetch mode on GFX10.3+ during loops if beneficial")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25312 >
2023-09-25 14:18:46 +00:00
Lionel Landwerlin
1c21b3a62a
intel/ds: avoid dropping traces when running out of shared memory
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Acked-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24744 >
2023-09-25 13:05:45 +00:00
Lionel Landwerlin
00b65c75ad
anv/utrace: trace CPU on timestamp buffer readiness
...
Acked-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24744 >
2023-09-25 13:05:45 +00:00
Lionel Landwerlin
7d30b1e28f
intel/ds: track number of tracepoint timestamp copies
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Acked-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24744 >
2023-09-25 13:05:45 +00:00
Lionel Landwerlin
64769bc5b2
util/u_trace: count number of tracepoints
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Acked-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24744 >
2023-09-25 13:05:45 +00:00
Lionel Landwerlin
a5f58e5f85
intel/ds: lock submissions to u_trace_context
...
This allows for submissions to be outside the global anv_device mutex.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Acked-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24744 >
2023-09-25 13:05:45 +00:00
Lionel Landwerlin
a851dc5e3c
intel: don't assume Linux minor dev node
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Cc: mesa-stable
Acked-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24744 >
2023-09-25 13:05:45 +00:00
Lionel Landwerlin
6857497be6
anv: enable utrace timestamp buffer copies on compute engine
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Acked-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24744 >
2023-09-25 13:05:45 +00:00
Lionel Landwerlin
a334fb005b
anv: move utrace flush out of backends
...
The next patch is going to introduce some locking that needs to happen
before the submission to the backend.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Acked-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24744 >
2023-09-25 13:05:45 +00:00
Lionel Landwerlin
08e0c063cf
anv: move simple shaders code to its own object
...
We would like to call those function from anv_utrace.c
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Acked-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24744 >
2023-09-25 13:05:45 +00:00
Lionel Landwerlin
7a35113455
anv: add simple shader support without a command buffer
...
Limited to compute for now. Annoyingly Gfx9 requires a binding table
block.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Acked-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24744 >
2023-09-25 13:05:45 +00:00
Lionel Landwerlin
2cc5b3b1e0
anv: add a memcpy compute internal kernel
...
We'll use this memcpy utrace timestamp data.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Acked-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24744 >
2023-09-25 13:05:45 +00:00
Lionel Landwerlin
e0f420c334
anv: fix utrace timestamp buffer copies
...
Fixes: 521c216efc ("anv: use COMPUTE_WALKER post sync field to track compute work")
Acked-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24744 >
2023-09-25 13:05:45 +00:00
David Rosca
dd2ef9a0e4
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 <ruijing.dong@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25355 >
2023-09-25 12:21:59 +00:00
David Rosca
c970a9b663
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 <ruijing.dong@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25355 >
2023-09-25 12:21:59 +00:00
Eric Engestrom
49e471de70
docs: add calendar for 23.3
...
Normally the branchpoint would have been on Oct 11, but this is the week
before XDC and everyone will be busy so let's try not to add the
branchpoint pressure on top. Let's instead branch off on the week
_after_ XDC, on Oct 25.
Besides, 23.2 has been delayed by multiple factors, so it wouldn't make
sense to rush 23.3.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25122 >
2023-09-25 11:49:10 +00:00
Martin Roukala (né Peres)
cf3fb0fee7
radv/ci: add more tests to the navi21 vkcts flake list
...
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25325 >
2023-09-25 11:27:31 +00:00
Martin Roukala (né Peres)
0a065b5cf5
radv/ci: increase the parallelism of the vkcts-navi21 job
...
The vkcts-navi21 job currently take ~13 minutes each, but we are about
to start running the VK_EXT_shader_object tests which should
significantly increase our runtime and thus would exceed the 15 minutes.
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25325 >
2023-09-25 11:27:31 +00:00
Juan A. Suarez Romero
bf32199386
v3d/shim: include new ioctl parameters
...
Some new parameters added recently were missed in the DRM shim.
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9880
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25370 >
2023-09-25 10:47:58 +00:00
Samuel Pitoiset
219a14d093
radv: enable cache counters for RGP on GFX11
...
This was the last missing RGP feature on GFX11 compared to older chips.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25271 >
2023-09-25 09:05:58 +02:00
Samuel Pitoiset
70a4290e28
radv: add SPM support for GFX11
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25271 >
2023-09-25 09:05:58 +02:00
Samuel Pitoiset
301c402bd8
ac/spm: add support for GFX11
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25271 >
2023-09-25 09:05:58 +02:00
Samuel Pitoiset
26c710b7c4
ac/spm: add new segment types for GFX11
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25271 >
2023-09-25 08:34:31 +02:00
Samuel Pitoiset
97d87a431a
ac/gpu_info: define AMD_MAX_WGP
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25271 >
2023-09-25 08:34:31 +02:00
Dave Airlie
129e27a46e
llvmpipe/linear: move to nir inputs
...
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Reviewed-by: Brian Paul <brianp@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24436 >
2023-09-25 13:23:07 +10:00
Dave Airlie
90c4468ed0
llvmpipe/linear: convert to using nir for output.
...
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Reviewed-by: Brian Paul <brianp@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24436 >
2023-09-25 13:23:07 +10:00
Dave Airlie
8477b97f1b
llvmpipe/fs: start converting dervied state to nir based.
...
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Reviewed-by: Brian Paul <brianp@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24436 >
2023-09-25 13:23:07 +10:00
Dave Airlie
b72e77bd97
llvmpipe/fs: start converting interp/input paths to nir.
...
This input_usage_mask is going to take a bit more thinking
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Reviewed-by: Brian Paul <brianp@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24436 >
2023-09-25 13:23:07 +10:00
Dave Airlie
2b09d2d715
llvmpipe/nir: call gather info to update inputs read properly
...
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Reviewed-by: Brian Paul <brianp@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24436 >
2023-09-25 12:06:39 +10:00
Dave Airlie
5827034dfc
gallivm: drop tgsi aos paths.
...
These were only used by the linear code, and that doesn't use
tgsi anymore
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Reviewed-by: Brian Paul <brianp@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24436 >
2023-09-25 12:06:37 +10:00
Dave Airlie
e9a41875da
llvmpipe/linear: drop tgsi path.
...
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Reviewed-by: Brian Paul <brianp@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24436 >
2023-09-25 12:05:50 +10:00
David Heidelberg
1f3446499f
ci/freedreno: disable broke cheza (Adreno 630) runners
...
Revert ASAP as `google-freedreno-cheza` gets running again.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25365 >
2023-09-25 02:04:28 +05:30
Gert Wollny
a57cc0ae0c
r600/sfn: Fix use of scheduled_shader vs shader
...
Thanks to Vitaliy Kuzmin for pointing this out.
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25364 >
2023-09-24 19:52:36 +02:00
Gert Wollny
34a068de6f
r600/sfn: sort the uniforms of the right shader
...
Thanks to Vitaly Kuzmin for pointing this out.
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25364 >
2023-09-24 19:52:36 +02:00
Faith Ekstrand
c04f313cc5
r600: Use nir_builder helpers for load/store_shared_r600
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24762 >
2023-09-24 17:30:03 +00:00
Faith Ekstrand
28137a187b
r600: Use more auto-generated nir_builder helpers
...
Use nir_umad24 instead of rolling our own. Also, all system values
already have NIR builder helpers and we don't need to be manually
building intrinsics or rolling our own helpers.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24762 >
2023-09-24 17:30:03 +00:00
Karmjit Mahil
feafb8a256
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: aa791961a8 ("pvr: Add support for dynamic buffers descriptors")
Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com >
Reviewed-by: Frank Binns <frank.binns@imgtec.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25320 >
2023-09-24 14:00:57 +00:00
Karmjit Mahil
bf17e4fe33
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: 060c3db4ef ("pvr: Complete pvr_generate_custom_mapping()")
Reported-by: James Glanville <james.glanville@imgtec.com >
Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com >
Reviewed-by: Frank Binns <frank.binns@imgtec.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25321 >
2023-09-24 13:44:19 +00:00
Faith Ekstrand
47b481cace
nvk: Set GUARDBAND_Z_SCALE_1 when Z-clipping
...
This fixes most of the remaining dEQP-VK.*.inverted_depth_range.* tests.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25359 >
2023-09-23 13:01:52 -05:00
Faith Ekstrand
d7f3fdc262
nvk: Enable dynamic clip/clamp enable
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25356 >
2023-09-23 14:58:22 +00:00
Faith Ekstrand
07091f0f94
nvk: Fix depth clipping parameters
...
This is a pretty complete overhaul which I think may actually be correct
and there are now comments explaining why various parameters were
chosen.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25356 >
2023-09-23 14:58:22 +00:00
Faith Ekstrand
e317ba373b
nvk: Clean up viewport math
...
This should make everything a bit easier to read
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25356 >
2023-09-23 14:58:22 +00:00
David Heidelberg
17dfbc25d2
iris: do not mention specifically clover for OpenCL support
...
It's confusing, when rusticl is used.
Acked-by: Karol Herbst <kherbst@redhat.com >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25287 >
2023-09-23 05:04:29 +00:00
David Heidelberg
a4e4bf8ccd
ci/venus: add fragment.32B_in_memory_with_vec4_s32 flake
...
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25349 >
2023-09-23 04:44:37 +00:00