Mike Blumenkrantz
085c9efbf3
zink: move memoryTypeIndex selection down in general bo allocation
...
no functional changes
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22479 >
2023-04-16 23:55:30 +00:00
Erico Nunes
fdf746cb2b
Revert "ci: disable lima farm, currently out-of-space, needs to be fixed"
...
This reverts commit 78644c9bb0 .
Fixes: 78644c9bb0 ("ci: disable lima farm, currently out-of-space, needs to be fixed")
Signed-off-by: Erico Nunes <nunes.erico@gmail.com >
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22513 >
2023-04-16 23:03:47 +00:00
Eric Engestrom
8ebc5cbe2b
v3dv/ci: drop fixed failure from fails.txt
...
Fixes: 8976d8280f ("wsi: remove get_sorted_vk_formats duplication")
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22514 >
2023-04-16 20:49:05 +01:00
David Heidelberg
74525f8576
ci: uninstall libdrm from the GL and VK containers
...
Occasionally causing troubles on -valve jobs.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22255 >
2023-04-16 17:28:52 +00:00
David Heidelberg
74e4235916
ci: polish deqp-runner a bit
...
Plus cosmetics adjustments to pass more of shellcheck.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22255 >
2023-04-16 17:28:52 +00:00
David Heidelberg
2933976e78
ci/freedreno: fix the a530_piglit job and switch to Weston
...
If we count devices which running a530 with mainline kernel and Mesa,
it's probably mostly phones and tablets running on Wayland. Adapt to it.
Fixes: 83c2b26acf ("ci/freedreno: Switch the piglit job to using a deqp-runner suite.")
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22255 >
2023-04-16 17:28:52 +00:00
David Heidelberg
f84aee451d
ci/freedreno: update a530 flakes, fails and skips
...
Add multiple skips for the:
- KHR-GLES31.core.pixelstoragemodes.teximage2d
- KHR-GLES31.core.pixelstoragemodes.teximage3d
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8837
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22255 >
2023-04-16 17:28:52 +00:00
David Heidelberg
2092f95975
ci/freedreno: a530 behaves stable in 6.3
...
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22255 >
2023-04-16 17:28:52 +00:00
David Heidelberg
1fcfcaf008
ci: drop overriding new a530 firmware due to preemption issues with older kernel
...
Fixes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8825
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22255 >
2023-04-16 17:28:52 +00:00
David Heidelberg
cad794594b
ci/freedreno: do not restrict to 2 cpus on a530
...
Not needed for modern kernels (6.3+ for sure).
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22255 >
2023-04-16 17:28:52 +00:00
David Heidelberg
a925c59f83
ci: bump kernel to the 6.3, support HDK 888 based on sm8350
...
- uprev to kernel 6.3-rc6
- add sm8350 support (needed for HDK 888)
- add missing patch for Asurada functionality
- enable CONFIG_ARM_SMMU_QCOM, since we dropped specific patch
worarounding need for it
Acked-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Reviewed-by: Emma Anholt <emma@anholt.net >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22255 >
2023-04-16 17:28:52 +00:00
Emma Anholt
f3e8aeb2e9
tu/perfetto: s/MRTs/attachment_count/ in traces.
...
MRTs usually means >1 color buffers, so seeing "2" is surprising when
you're expecing just color and depth. Makes the output look more Vulkan.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22278 >
2023-04-16 15:50:49 +00:00
Emma Anholt
947f5d4d7a
tu/perfetto: Drop unused arg to send_descriptors().
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22278 >
2023-04-16 15:50:49 +00:00
Emma Anholt
020baed66e
tu/perfetto: Use tu_CmdBeginDebugUtilsLabelEXT as a stage event in perfetto.
...
This lets zink mark points of interest (particularly its barriers and
blits) with some useful data, for presenting in perfetto traces.
Closes : #8487
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22278 >
2023-04-16 15:50:49 +00:00
Emma Anholt
69bff073ca
tu/perfetto: Clean up an extra token paste to just use the arg being passed.
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22278 >
2023-04-16 15:50:49 +00:00
Emma Anholt
b4b18e4165
tu/perfetto: Refactor code out of the macro, to stage_end.
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22278 >
2023-04-16 15:50:49 +00:00
Karol Herbst
60cfe15d79
rusticl/event: drop work item before updating status
...
This fixes some CTS compiler tests where they relied on the cl_kernel
object to be released in time so it can recompile a program without
throwing CL_INVALID_OPERATION due to still having active kernel objects.
Fixes: 47a80d7ff4 ("rusticl/event: proper eventing support")
Signed-off-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22510 >
2023-04-15 21:07:01 +00:00
Emma Anholt
00b9685d96
symbol_table: Prehash the key on insert, and reuse the entry on shadowing.
...
Mostly saves computing the hash twice, but while we're here there's no
need for shadowing to walk the table again.
Release Mesa build runtime of
KHR-Single-GL46.arrays_of_arrays_gl.SizedDeclarationsPrimitive -4.19869%
+/- 3.20231%
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22451 >
2023-04-15 18:33:25 +00:00
Emma Anholt
46498abbac
symbol_table: Don't bother resetting the key on popping scope.
...
If you made a same-name symbol, then its name was just the name from the
parent scope anyway.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22451 >
2023-04-15 18:33:25 +00:00
Emma Anholt
0a400f933f
symbol_table: Don't maintain the HT as we're destroying the table.
...
Release Mesa build runtime of
KHR-Single-GL46.arrays_of_arrays_gl.SizedDeclarationsPrimitive -5.05801%
+/- 3.41206% (n=12)
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22451 >
2023-04-15 18:33:25 +00:00
Emma Anholt
6db7d72b4b
symbol_table: Store the symbol name in the same allocation as the symbol entry.
...
Saves an extra malloc. Release Mesa build runtime of
KHR-Single-GL46.arrays_of_arrays_gl.SizedDeclarationsPrimitive (which is a
lot of GLSL 4.60 builtin vars symbol table setup) -5.15821% +/- 3.19636%
(n=13).
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22451 >
2023-04-15 18:33:25 +00:00
David Heidelberg
c690644842
ci/amd: update checksums after DXVK 2.1 update
...
Heaven got fixed with DXVK 2.1.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22447 >
2023-04-15 10:57:06 +00:00
David Heidelberg
5cf3b92661
ci/dxvk: uprev to 2.1
...
Major uprev, requires VK 1.3 now.
Acked-by: Martin Roukala <martin.roukala@mupuf.org >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22447 >
2023-04-15 10:57:06 +00:00
David Heidelberg
0dcb3994a5
ci/amd: 4/5 runners TPad-C13 runners are online, restore most of the tests
...
Partial revert of 590959057c ("ci/amd: raven is currently downgraded
to 2 machines only, adapt")
Test which remains disabled: radeonsi-raven-va:amd64 (VAAPI testing).
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22447 >
2023-04-15 10:57:06 +00:00
Lionel Landwerlin
a787728906
anv: enable blorp query reset for performance queries
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Felix DeGrood <felix.j.degrood@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22480 >
2023-04-15 12:25:57 +03:00
Michel Dänzer
20c330e95d
ci: Drop executable permissions from backend compiler wrapper script
...
Not needed anymore, since the frontend scripts just source the backend
script now.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22438 >
2023-04-15 01:55:12 +00:00
Michel Dänzer
1ec3c16c54
ci: Remove shebang from backend compiler wrapper script
...
Not needed anymore, since the frontend scripts just source the backend
script now.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22438 >
2023-04-15 01:55:12 +00:00
Michel Dänzer
21b190bf44
ci: Use set -e in frontend compiler wrapper scripts.
...
I doubt the shebang line in the backend script has any effect now,
since the frontend scripts just source it directly.
v2:
* Use "set -e" instead of adding -e to shebang (Eric Engestrom)
v3:
* Apply to the clang wrapper scripts as well (Eric Engestrom)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22438 >
2023-04-15 01:55:12 +00:00
Michel Dänzer
1915185648
ci: Explicitly test for meson feature checks in compiler wrapper
...
The previous indirect method was more complicated and still error prone.
v2:
* Use "grep -E" (Eric Engestrom)
* Exclude spaces and slashes in the grep pattern, to avoid accidentally
matching across unrelated compiler arguments.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22438 >
2023-04-15 01:55:12 +00:00
Jesse Natalie
2fbedd442a
util: Delete Offset() macro from u_memory.h
...
Reviewed-by: Giancarlo Devich <gdevich@microsoft.com >
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22494 >
2023-04-15 00:54:16 +00:00
Caio Oliveira
7706d1cc33
spirv/tests: Add test for single-block loop
...
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22509 >
2023-04-15 00:17:15 +00:00
Jesse Natalie
5672b6cb02
dzn: Remove #if D3D12_SDK_VERSION blocks now that 610 is required
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22504 >
2023-04-14 23:59:33 +00:00
Jesse Natalie
290bb7a706
microsoft/clc: Remove #if D3D12_SDK_VERSION blocks now that 610 is required
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22504 >
2023-04-14 23:59:33 +00:00
Jesse Natalie
27c304be2e
d3d12: Remove #if D3D12_SDK_VERSION blocks now that 610 is required
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22504 >
2023-04-14 23:59:33 +00:00
Luc Ma
b5a9021708
meson: keep Mako version checking in accord with build msg
...
Fixes: 52194ae4df ("meson: Ensure that mako is >= 0.8.0")
Signed-off-by: Luc Ma <luc@sietium.com >
Reported-by: Terry Zhang <terry@sietium.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22499 >
2023-04-14 23:16:01 +00:00
Sathishkumar S
8f0da0851f
radeonsi/vcn: engage all jpeg engines on gfx940 for mjpeg decode
...
engage all available jpeg engines to decode mjpeg video frames
Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@amd.com >
Reviewed-by: Leo Liu <leo.liu@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22388 >
2023-04-14 22:30:44 +00:00
Sathishkumar S
87a44c44b4
radeonsi/vcn: enable RGBP format on gfx940 jpeg
...
decode output format conversion to RGBP is supported on gfx940 jpeg.
Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@amd.com >
Reviewed-by: Leo Liu <leo.liu@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22388 >
2023-04-14 22:30:44 +00:00
Sathishkumar S
bdb7f36aa8
frontends/va: add support for RGBP rt_format
...
check and enable RGBP rt_format and support VaImage creation for the RGBP/ARGB.
Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@amd.com >
Reviewed-by: Leo Liu <leo.liu@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22388 >
2023-04-14 22:30:44 +00:00
Sathishkumar S
23580b09a3
util/format: add planar3 r8_g8_b8_unorm pipe format
...
add pipe format to represent three plane 8bit RGB format
Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@amd.com >
Reviewed-by: Leo Liu <leo.liu@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22388 >
2023-04-14 22:30:44 +00:00
Felix DeGrood
33886e5ef2
docs: add INTEL_MEASURE=cpu
...
Update documentation about INTEL_MEASURE=cpu
Reviewed-by: Mark Janes <markjanes@swizzler.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21505 >
2023-04-14 21:57:50 +00:00
Felix DeGrood
b661149921
iris: Enable INTEL_MEASURE=cpu
...
Reviewed-by: Mark Janes <markjanes@swizzler.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21505 >
2023-04-14 21:57:50 +00:00
Felix DeGrood
0417cfd7a0
anv: Enable INTEL_MEASURE=cpu
...
Reviewed-by: Mark Janes <markjanes@swizzler.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21505 >
2023-04-14 21:57:50 +00:00
Felix DeGrood
55ba4575be
intel: INTEL_MEASURE cpu mode
...
INTEL_MEASURE normally measures timing of GPU events. However, it
is sometimes useful to instead measure when these gfx API calls
were requested of the driver. INTEL_MEASURE cpu can be used in
in conjunction with other driver debug capabilities, like
INTEL_DEBUG=pc for analyzing stalls/flushes or when debugger is
attached, to track which frame you're currently on or where in
the frame you're at.
Initial commit, without plumbing into anv/iris.
"INTEL_MEASURE=cpu" will collect a cpu timestamp for each
INTEL_MEASURE event instead of GPU timestamps.
Reviewed-by: Mark Janes <markjanes@swizzler.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21505 >
2023-04-14 21:57:50 +00:00
Felix DeGrood
c45dee34aa
anv: split INTEL_MEASURE multi events
...
Measure performance of each draw separately in multi_draw event.
Previously, we measured duration of the sum of all draws launched
per multi_draw. This should provide more detailed data for
multi_draws.
Reviewed-by: Mark Janes <markjanes@swizzler.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21505 >
2023-04-14 21:57:49 +00:00
Felix DeGrood
50bda45d15
anv: Add flush reason to NEEDS_END_OF_PIPE_SYNC
...
cs_stall gets inserted if both flushes and invalidates are required.
This cs_stall reason was not called out explicitly, until now.
Reviewed-by: Mark Janes <markjanes@swizzler.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21505 >
2023-04-14 21:57:49 +00:00
Felix DeGrood
bdeb849e25
anv: Add flush reasons to raytracing flushes
...
Reviewed-by: Mark Janes <markjanes@swizzler.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21505 >
2023-04-14 21:57:49 +00:00
Felix DeGrood
9a30493ccb
anv: Add END_OF_PIPE_SYNC reporting to INTEL_DEBUG=pc
...
Reviewed-by: Mark Janes <markjanes@swizzler.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21505 >
2023-04-14 21:57:49 +00:00
David (Ming Qiang) Wu
bfce57c7a5
radeonsi/vcn: add an exception of field case for h264 decoding
...
This is an error case where the I field has no reference, however
the reference list contains some reference, which resulting in
not be able to find its reference, and it is a correct behavior,
should not enter the correction code. Just add this exception to
prevent such a case, if more exceptions found, they will
be treated indiviually in the future.
Cc: mesa-stable
closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8740
Signed-off-by: Ruijing Dong <ruijing.dong@amd.com >
Signed-off-by: David (Ming Qiang) Wu <David.Wu3@amd.com >
Reviewed-by: Leo Liu <leo.liu@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22485 >
2023-04-14 21:03:43 +00:00
Roland Scheidegger
f23d54cfaa
llvmpipe: fix some corner cases with line rendering
...
Some comparisons were wrong depending on swapped endpoints and
the bottom_edge_rule (if the endpoint was exactly touching
pixel center), hence the code assuming a line endpoint which
should be drawn according to diamond exit rules would already be
drawn (so not adjusting the endpoint) when in reality it was not,
in which case the line would end up one pixel too short.
Note that this is still not fully correct - the logic as such
should be correct now, however these comparisons can give wrong
results due to float math vs. fixed point planes (an endpoint very
close to a pixel center might be exactly at pixel center in fixed
point), but this should do for now. (Also, the logic is still
completely wrong for state trackers not using half_pixel_center
setting, but this is only really a concern for dx9 state tracker.)
Reviewed-by: Brian Paul <brianp@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22481 >
2023-04-14 20:41:09 +00:00
Roland Scheidegger
9b6abe4206
llvmpipe: minor cleanups in line rendering code
...
Use float constants, some code deduplication, no functional change.
Reviewed-by: Brian Paul <brianp@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22481 >
2023-04-14 20:41:09 +00:00