Job Noorman
b5c99e6f57
ir3/cp: swap back correct srcs when swap failed
...
While making the swapping code generic, the swap-back path was left as
is causing the wrong sources to be swapped.
Signed-off-by: Job Noorman <jnoorman@igalia.com >
Fixes: 00656526d8 ("ir3/cp: extract common src swapping code")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32920 >
2025-01-07 12:14:14 +00:00
Danylo Piliaiev
ac2046c5b0
tu/perfetto: Add app and engine names to the command buffer tracepoint
...
Makes possible to understand which app submitted a command buffer.
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31550 >
2025-01-07 11:44:41 +00:00
Danylo Piliaiev
5ae03b4aea
tu/perfetto: Always emit submission event and time it
...
We previously missed submissions that don't sync timestamps.
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31550 >
2025-01-07 11:44:41 +00:00
Boris Brezillon
e55de285cc
panfrost: Kill panfrost-job.h
...
It's empty now, so we don't need to include it from the packer headers.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32899 >
2025-01-07 11:10:55 +00:00
Boris Brezillon
c0f3bac826
panfrost: Move MAX_{MIP_LEVELS,IMAGE_PLANES} to pan_texture.h
...
This is where those macros are used, and those are the last two
definitions preventing us from dropping panfrost-job.h.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32899 >
2025-01-07 11:10:55 +00:00
Boris Brezillon
e48f2da7da
panfrost: Move MALI_EXTRACT_INDEX to pan_format.h
...
Move MALI_EXTRACT_INDEX to pan_format.h where all format-related macros
live and kill the unused MALI_EXTRACT_TYPE and MALI_FORMAT_COMPRESSED
macros.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32899 >
2025-01-07 11:10:55 +00:00
Boris Brezillon
2fdbdc270b
panfrost: Kill the uXX typedefs
...
We use uintXX_t most of the time, so let's be consistent and use the
stdint types everywhere instead of their shorter uXX variants.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32899 >
2025-01-07 11:10:55 +00:00
Boris Brezillon
63fc0a2de9
panfrost: Kill the mali_ptr typedef
...
mali_ptr is no shorter than uint64_t, and we already have a few places
where we use uint64_t to store GPU virtual addresses in src/panfrost, so
let's just kill this typedef and use uint64_t types everywhere.
That's one step towards panfrost-job.h removal.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32899 >
2025-01-07 11:10:55 +00:00
Feng Jiang
701600fb11
radv/rt: Fix memleak in radv_init_header()
...
Fixes: f8b584d ("vulkan/runtime,radv: Add shared BVH building framework")
Signed-off-by: Feng Jiang <jiangfeng@kylinos.cn >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32887 >
2025-01-07 09:49:56 +00:00
Samuel Pitoiset
c5fe9dcf16
ac/descriptors: fix configuring NBC views on GFX12
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32892 >
2025-01-07 09:15:12 +00:00
Boris Brezillon
ae76a6a045
panvk: Pack push constants
...
We're about to add more sysvals, and the more we add, the bigger the
sysvals region gets, which increases the amount of memory we have to
allocate when push_uniforms are dirty.
Instead of allocating FAUs for all sysvals/push_constants, track FAU
usage per-shader, and pack those. This implies emitting an FAU buffer
per stage instead of trying to share it, but that's an acceptable
trade-off.
While at it, automate the sysval dirty tracking a bit.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32415 >
2025-01-07 08:15:19 +00:00
Boris Brezillon
aa78fe7683
panvk: Pass a cmdbuf to blend_emit_descs()
...
Now that panvk_cmd_buffer.h is accessible from
src/panfrost/vulkan/panvk_vX_xxx.c files, there's no reason to pass
a gazillon arguments to blend_emit_descs(). We can just pass a cmdbuf
and let the helper extract the other parameters from there. It also
allows for extra automation, like dirtying the push_uniform buffer
when the new blend config reads the blend constant.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32415 >
2025-01-07 08:15:19 +00:00
Boris Brezillon
ed55ab17db
panvk: Factor-out the sysvals initialization logic
...
We're about to make the sysval logic a bit more complication when
introducing push constant packing. Let's first factor-out the sysvals
handling so the JM/CSF backend don't have to duplicate the thing.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32415 >
2025-01-07 08:15:19 +00:00
Boris Brezillon
a6319f8951
panvk: Don't lower load_blend_const_color_rgba
...
We use blend shaders, so load_blend_const_color_rgba should
not be present in the fragment shader. We might want to re-introduce
this code if we decide to specialize fragment shaders when the
blend configuration is static, but let's drop it for now.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32415 >
2025-01-07 08:15:19 +00:00
Boris Brezillon
2af6e4beeb
pan: Don't pretend we support load_{vertex_id_zero_base,first_vertex}
...
load_vertex_id_zero_base() is supposed to return the zero-based
vertex ID, which is then offset by load_first_vertex() to get
an absolute vertex ID. At the same time, when we're in a Vulkan
environment, load_first_vertex() also encodes the vertexOffset
passed to the indexed draw.
Midgard/Bifrost have a sligtly different semantics, where
load_first_vertex() returns vertexOffset + minVertexIdInIndexRange,
and load_vertex_id_zero_base() returns an ID that needs to be offset
by this vertexOffset + minVertexIdInIndexRange to get the absolute
vertex ID. Everything works fine as long as all the load_first_vertex()
and load_vertex_id_zero_base() calls are coming from the
load_vertex_id() lowering. But as mentioned above, that's no longer
the case in Vulkan, where gl_BaseVertexARB will be turned into
load_first_vertex() and expect a value of vertexOffset in an
indexed draw context.
We thus need to fix the mismatch by introducing two new
panfrost-specific intrinsic so we can stop abusing load_first_vertex()
and load_vertex_id_zero_base().
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32415 >
2025-01-07 08:15:19 +00:00
Boris Brezillon
54033bc052
panvk: Fix first_vertex/base_instance types
...
gl_Base{VertexARB,Instance} are signed integers, so reflect that in
the types we declare in the sysval struct.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32415 >
2025-01-07 08:15:19 +00:00
Boris Brezillon
19173dfa40
panvk: Don't lower load_base_vertex
...
load_base_vertex is coming from SYSTEM_VALUE_BASE_VERTEX which should
only exist in GL. In Vulkan, gl_BaseVertex is translated to
SYSTEM_VALUE_FIRST_VERTEX, which is turned into load_first_vertex
instructions.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32415 >
2025-01-07 08:15:19 +00:00
Boris Brezillon
bbfcd473f9
pan/bi: Fix mem_access_size_align_cb() for push constants
...
bit_size should be at least 32, and alignment at least 4 bytes.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32415 >
2025-01-07 08:15:19 +00:00
Boris Brezillon
2611dc106a
pan/bi: Disallow non-zero .{range,base} on load_push_constant instructions
...
There seems to be several lowering pass that don't take the base/range
into account, like nir_lower_mem_access_bit_sizes(). This caused
issues when we tried using it on push_constants to make sure accesses
are 32-bit aligned, so let's make sure the frontend is propagating the
base to the offset, and assigns range to zero (AKA undefined).
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32415 >
2025-01-07 08:15:19 +00:00
Boris Brezillon
8496159885
pan/mi: Don't pretend we support push constants
...
This code was probably added when we were considering supporting
Vulkan on Midgard, but we don't handle the
nir_intrinsic_load_push_constant, so it make little sense to
lower push constant IOs in this backend.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32415 >
2025-01-07 08:15:19 +00:00
Boris Brezillon
8166a218ee
pan/indirect: Don't use .base to pass the push_constant offset
...
We're about to assert when .base != 0 in the Bifrost backend,
but we first make sure all push_constant users stop passing
the offset through .base.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32415 >
2025-01-07 08:15:19 +00:00
Boris Brezillon
22bbc8f87b
panvk: Don't define push_constant range/base when we don't have to
...
We just removed a lowering pass making use of these because base/range
are not updated by some other lowering passes, so let's not encourage
future use of base/range by keeping them set to zero.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32415 >
2025-01-07 08:15:19 +00:00
Boris Brezillon
3e473a9d4c
pan/bi: Get rid of bi_lower_load_push_const_with_dyn_offset()
...
The vulkan driver is now lowering push constant dynamic indexing to
global loads, so we can get rid of this pass.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32415 >
2025-01-07 08:15:19 +00:00
Boris Brezillon
0361c1ca08
panvk: Lower load_push_constant with dynamic offset to global loads
...
The csel-ladder we have in bi_lower_load_push_const_with_dyn_offset()
is not great, and is relying on base/range being valid. It turns out
nir_lower_mem_access_bit_sizes(), which we rely on to make push constant
accesses 32-bit aligned, doesn't preserve those when splitting accesses.
Let's simplify the thing by lowering push constant accesses with a
dynamic offset to global loads.
We also reset the base and offset values in the lowering pass, to make
sure the backend doesn't rely on them for other things.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32415 >
2025-01-07 08:15:19 +00:00
Boris Brezillon
58d8d4ce7b
panvk: Lower dynamic push_constant loads in desc_copy logic
...
We're about to drop the dynamic push_constant lowering pass,
but first we must patch all the bits relying on it.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Acked-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32415 >
2025-01-07 08:15:19 +00:00
Boris Brezillon
3d5ddaaffa
panvk: Automate sysval access from NIR shaders
...
Emitting nir_load_push_constant() calls with the right base/range/offset
for sysvals is tedious and error prone. Provide syntactic sugar macros
to automate that.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32415 >
2025-01-07 08:15:19 +00:00
Boris Brezillon
cb20cb7b2f
panvk: Stop using magic values for the sysval push constant offset/range
...
The sysval base comes from the amount of FAU words we reserve for user
push constants, and the range is capped by the sysval struct size.
Add macros to express that instead of using magics values.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32415 >
2025-01-07 08:15:19 +00:00
Boris Brezillon
258979d69c
panvk: Wrap our descriptor lowering passes in NIR_PASS()
...
This allows us to do the validation after each step instead of once at
the end.
Since validation is done in nir_lower_descriptors(), we no longer
need to do it panvk_lower_nir(), and we don't need to return
progress information either. So adjust the prototype of
nir_lower_descriptors() accordingly.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32415 >
2025-01-07 08:15:18 +00:00
Valentine Burley
6564f56a55
ci: Uprev vkd3d-proton to b121e6d746341e0aaba7663e3d85f3194e8e20e1
...
Fixes a regression affecting drivers that lack support for sparse
binding, introduced in version 2.14.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32860 >
2025-01-07 07:35:26 +00:00
Sagar Ghuge
385977955b
intel: Set correct maxComputeSharedMemorySize for Xe3+
...
For Xe3+, set preferred SLM and SLM per threadgroup size.
Bspec: 73211
Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com >
Reviewed-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32872 >
2025-01-07 07:06:09 +00:00
Rob Clark
64d76bbab2
freedreno/a6xx: Fix timestamp emit
...
I guess this worked accidentially before due to suballocation. But we
can't rely on that.
Fixes: 8609d62e4d ("freedreno/a6xx: Drop "hardpin" support")
Signed-off-by: Rob Clark <robdclark@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32908 >
2025-01-07 06:36:31 +00:00
Marek Olšák
3800f0af41
nir/algebraic: optimize pack_split(unpack(a).x, unpack(a).y) -> a
...
This is required to optimize FP64 and Int64 shaders generated by
virglrenderer. It generates pack/unpack around every 64-bit op,
which NIR currently can't eliminate. This fixes that.
There is a new constraint ".y", which means that the use of an instruction
should have swizzle.y. This allows us to add patterns that have Y swizzle
on results of instructions.
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32172 >
2025-01-07 05:47:52 +00:00
Marek Olšák
b1bc691b0f
nir/algebraic: add and improve pack/unpack patterns
...
Some duplicated patterns are removed.
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32172 >
2025-01-07 05:47:52 +00:00
Marek Olšák
ebec182b04
nir/algebraic: use is_used_once for comparison patterns
...
otherwise we are just creating new instructions while not removing any
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32172 >
2025-01-07 05:47:52 +00:00
Deborah Brouwer
3c441191d9
ci: pipeline_message: reset empty errors
...
Currently marge will ignore an error message if it is just the word
"error" without any further information. However, if she never finds a
more informative message, then she will just print that meaningless
error message.
Instead of an empty error message, just leave the message blank.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32773 >
2025-01-07 05:08:10 +00:00
Deborah Brouwer
011a867fbe
ci: pipeline_message: parse fatal messages
...
Currently marge only parses a failed job log for error messages, which can
cause her to miss fatal messages.
Example:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32557#note_2696196
https://gitlab.freedesktop.org/mesa/mesa/-/pipelines/1327177
If a `fatal` message is in the error log, add it to the pipeline message.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32773 >
2025-01-07 05:08:09 +00:00
Deborah Brouwer
3bcb29cfcc
ci: pipeline_message: ignore generated errors
...
Currently marge does not ignore the word `generated` when she is searching
the logs for a relevant error message. So, marge's comments on a failed
pipeline say something unhelpful like "errors generated"
Example:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32687#note_2706792
https://gitlab.freedesktop.org/mesa/mesa/-/pipelines/1332129
Ignore the word `generated` so marge will provide more useful comments.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32773 >
2025-01-07 05:08:09 +00:00
Deborah Brouwer
6dc094decd
ci: pipeline_message: ignore harmless build logs
...
Currently marge gets confused when parsing a build log and mistakes
innocuous lines that have the word "error" in them as actual issues.
Example:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31093#note_2705442
https://gitlab.freedesktop.org/mesa/mesa/-/pipelines/1331453
Ignore lines with the word `error` in them that are not actual issues,
so that marge can provide more useful comments.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32773 >
2025-01-07 05:08:09 +00:00
Deborah Brouwer
2a477f7df2
ci: pipeline_message: ignore error_type errors
...
Currently marge only ignores `error_type` when the type is None.
But other error_types are equally uninteresting e.g. `error_type: Jobs`.
Example:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32677#note_2711470
https://gitlab.freedesktop.org/mesa/mesa/-/pipelines/1333563
Ignore the phrase `error_type` so marge will provide more useful comments.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32773 >
2025-01-07 05:08:09 +00:00
Deborah Brouwer
6ad2abc661
ci: pipeline_message: add test to parse error logs
...
If marge doesn't find deqp-runner results or trace errors, she will parse
a failed job log for error messages. The parsing ignores certain phrases
in an attempt to find more relevant errors.
Add a test to check marge's error log parsing to make sure that we don't
create regressions when adding new phrases to ignore.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32773 >
2025-01-07 05:08:09 +00:00
Deborah Brouwer
4039043f72
ci: pipeline_message: improve job list formatting
...
If marge can't find an error in a failed-job log, the formatting of her
pipeline message has extra spaces between the jobs.
Example:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32577#note_2699071
https://gitlab.freedesktop.org/mesa/mesa/-/pipelines/1328702
Add a line break after jobs even if marge can't find an error message,
so that the job list is easier to read.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32773 >
2025-01-07 05:08:09 +00:00
Deborah Brouwer
819f9f8425
ci: pipeline_message: catch module loading errors
...
Currently, if the pipeline_message script runs in an an env missing the
aiohttp package, the pipeline_message script will throw a
ModuleNotFoundError and crash marge.
Make sure to catch and ignore these errors since the pipeline message
should never interfere with a merge request.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32773 >
2025-01-07 05:08:09 +00:00
Chia-I Wu
1f333ac9fa
hk: remove calibrated timestamp support
...
We don't advertise KHR_calibrated_timestamps yet. When we do, we can
use the common implementation.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32689 >
2025-01-07 03:39:29 +00:00
Chia-I Wu
491b785fed
nvk: use common calibrated timestamp support
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32689 >
2025-01-07 03:39:29 +00:00
Chia-I Wu
33ca377fab
tu: use common calibrated timestamp support
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32689 >
2025-01-07 03:39:29 +00:00
Chia-I Wu
f6332ca650
radv: use common calibrated timestamp support
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32689 >
2025-01-07 03:39:29 +00:00
Chia-I Wu
dd0f8cc7de
hasvk: use common calibrated timestamp support
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32689 >
2025-01-07 03:39:29 +00:00
Chia-I Wu
83dec767da
anv: use common calibrated timestamp support partially
...
Use the common GetPhysicalDeviceCalibrateableTimeDomainsKHR.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32689 >
2025-01-07 03:39:29 +00:00
Chia-I Wu
aff78757a6
vulkan: add common GetCalibratedTimestampsKHR
...
The calibrate domain and the device domain period are determined in
vk_device_init. With them known, and with the vk_time_max_deviation
helper, GetCalibratedTimestampsKHR is straightforward.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32689 >
2025-01-07 03:39:29 +00:00
Chia-I Wu
f7791e1901
vulkan: add common GetPhysicalDeviceCalibrateableTimeDomainsKHR
...
VK_TIME_DOMAIN_DEVICE_KHR is always supported. Host time domains are
checked by vk_device_get_timestamp.
This is not used when the driver does not advertise
VK_{KHR,EXT}_calibrated_timestamps.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32689 >
2025-01-07 03:39:28 +00:00