Lionel Landwerlin
fe19405c46
vulkan/runtime: handle new dynamic states for attachment remapping
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27307 >
2024-01-29 08:24:14 +00:00
Samuel Pitoiset
0105cfd93c
radv/ci: enable RADV_PERFTEST=shader_object for vkcts-polaris10-valve
...
This now runs +571k tests for ESO in ~34 minutes compared to ~30 minutes
without shader_object support. Definitely acceptable for a manual job.
Note that the next VKCTS uprev will reduce the number of ESO tests by
a lot because most of them weren't useful for coverage.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27139 >
2024-01-29 07:50:39 +00:00
Samuel Pitoiset
c68f96878c
radv: fix segfault when getting device vm fault info
...
pFaultInfo can be NULL.
Fixes: 8097becc7f
("radv: add initial VK_EXT_device_fault support")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27292 >
2024-01-29 07:26:28 +00:00
Eric Engestrom
e39fed5737
Revert "bin/ci: Add GitLab basic token validation"
...
This validation code has 2 bugs, the main one being that it is wrong and
is refusing perfectly valid codes. Let's remove this until we come up
with a valid check.
This reverts commit cd8b546205
.
Fixes: cd8b546205
("bin/ci: Add GitLab basic token validation")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27312 >
2024-01-29 01:44:43 +00:00
Hans-Kristian Arntzen
2f4d6df372
wsi/common: Allow KHR_present_wait on WL.
...
The fallback in place ensures a good enough solution.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no >
Reviewed-by: Joshua Ashton <joshua@froggi.es >
Reviewed-by: Sebastian Wick <sebastian.wick@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27275 >
2024-01-28 23:14:36 +00:00
Hans-Kristian Arntzen
0d51cd4808
wsi/wl: Improve fallback for present_wait.
...
When presentation feedback protocol is not supported,
fallback to using frame callbacks.
In some sense, frame callbacks functions like
present complete + latch delay, so it's a reasonable approach, given the
alternative.
Xwl uses frame callback for COMPLETE events, so it's not a new approach.
To guard against lack of forward progress guarantee,
add a timeout for present complete to avoid deadlocking applications.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no >
Reviewed-by: Joshua Ashton <joshua@froggi.es >
Reviewed-by: Sebastian Wick <sebastian.wick@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27275 >
2024-01-28 23:14:36 +00:00
Hans-Kristian Arntzen
1af7f41174
wsi/wl: Refactor out code to update current present ID.
...
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no >
Reviewed-by: Joshua Ashton <joshua@froggi.es >
Reviewed-by: Sebastian Wick <sebastian.wick@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27275 >
2024-01-28 23:14:36 +00:00
Gert Wollny
820859a6ab
r600: lower dround_even also on hardware that supports fp64
...
Fixes: aed6a39c10
glsl: Retire dround lowering.
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27329 >
2024-01-28 22:33:30 +00:00
David Heidelberg
324ddd0919
ci: Valve farm (Keywords location) works again
...
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27328 >
2024-01-28 21:45:18 +01:00
David Heidelberg
4a23b28623
ci/VK-GL-CTS: add patches to fix dEQP-VK.glsl.derivate crashes
...
Acked-by: Rob Clark <robdclark@chromium.org >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27324 >
2024-01-28 20:41:37 +01:00
David Heidelberg
299aebaa55
ci: bump libdrm to 2.4.120
...
Acked-by: Rob Clark <robdclark@chromium.org >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27324 >
2024-01-28 20:41:37 +01:00
David Heidelberg
7965483b4c
ci: disable Valve farm in Keywords
...
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27326 >
2024-01-28 20:36:20 +01:00
Max R
68b3b1573b
d3d10umd: Fix compilation
...
Commit eb20ef92
changed signature of cso_set_vertex_buffers.
But this change wasn't reflected in d3d10umd.
Update call to cso_set_vertex_buffers to fix it.
Fixes: eb20ef927
("gallium: remove unbind_trailing_count from set_vertex_buffers")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27238 >
2024-01-27 18:18:35 +00:00
Faith Ekstrand
55413e33dc
nvk: Disable all cbufs in nvk_queue_init_context_draw_state()
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27320 >
2024-01-27 17:54:19 +00:00
Faith Ekstrand
35bd36c1b0
nvk: Whitespace fixes
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27320 >
2024-01-27 17:54:19 +00:00
Faith Ekstrand
c4254f374f
nvk: Do a second submit to check for errors in the sync case
...
With NVK_DEBUG=push_sync, we signal and immediately wait on a syncobj
to better detect whitch push failed and then print it. However, the
syncobj wait itself isn't enough to check for errors. We have to try
pushing again. Adding an empty push lets us get errors immediately and
print the actually failing pushbuf to stderr.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27320 >
2024-01-27 17:54:19 +00:00
Thomas H.P. Andersen
38aba351f1
docs: update features.txt for nvk
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27297 >
2024-01-27 17:38:58 +00:00
Thomas H.P. Andersen
614e4269cf
nvk: promote load_store_op_none to KHR
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27297 >
2024-01-27 17:38:58 +00:00
Thomas H.P. Andersen
132b3a79f4
nvk: promote VK_EXT_line_rasterization to KHR
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27297 >
2024-01-27 17:38:58 +00:00
Thomas H.P. Andersen
da910fc2fd
nvk: promote VK_EXT_index_type_uint8 to KHR
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27297 >
2024-01-27 17:38:58 +00:00
Echo J
32babbc416
nvk: Set ICD version to 1.3
...
This should complete the Vulkan 1.3 puzzle
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27319 >
2024-01-27 16:19:10 +00:00
Sebastian Wick
c467a87e06
radeonsi: Destroy queues before the aux contexts
...
Otherwise the queue might access the already destroyed aux contexts
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27300 >
2024-01-27 14:59:11 +00:00
Faith Ekstrand
a0a453e43f
nvk: Advertise Vulkan 1.3
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27317 >
2024-01-27 06:30:08 +00:00
Faith Ekstrand
25d40e8e2c
nvk: Stop requiring dedicated allocations
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27317 >
2024-01-27 06:30:08 +00:00
Juston Li
305256e344
venus: handle empty resolved query feedback list
...
On the off chance the combined list resolves to empty due to resets,
skip adding query feedback by not increasing the total cmd buffer
count for query feedback.
Signed-off-by: Juston Li <justonli@google.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27163 >
2024-01-26 23:40:52 +00:00
Juston Li
df1cd20096
venus: recycle linked query feedback immediately during submission
...
Instead of just recyling 1 linked query feedback cmd for use and
defering the actualy recycle, recycle all linked cmds found when
setting up submission immediately.
Signed-off-by: Juston Li <justonli@google.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27163 >
2024-01-26 23:40:52 +00:00
Juston Li
decc5d4539
venus: add comments for query feedback batch free list
...
Signed-off-by: Juston Li <justonli@google.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27163 >
2024-01-26 23:40:52 +00:00
Juston Li
e2c4bafccc
venus: free query batches for VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT
...
When a pool is reset with VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT,
free up all query batches in the pool.
Signed-off-by: Juston Li <justonli@google.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27163 >
2024-01-26 23:40:52 +00:00
Juston Li
aceda1f5f6
venus: acquire mutex when recycling query feedback cmds
...
Fixes: 5b24ab91e4
("venus: switch to unconditionally deferred query feedback")
Signed-off-by: Juston Li <justonli@google.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27163 >
2024-01-26 23:40:52 +00:00
Juston Li
c3417c5bb8
venus: refactor query feedback cmds
...
The list free_query_feedback_cmds for recycling query feedback cmds was
only used in vn_command_pool when it was a vn_feedback_cmd_pool.
For clarity, refactor and store this list in vn_feedback_cmd_pool
instead and introduce a new struct vn_query_feedback_cmd that references
the feedback cmd and the feedback cmd pool for tracking.
Refactor out the allocation portion of query feedback cmds into its own
function for allocating the new vn_query_feedback_cmd struct.
Fixes: 5b24ab91e4
("venus: switch to unconditionally deferred query feedback")
Signed-off-by: Juston Li <justonli@google.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27163 >
2024-01-26 23:40:52 +00:00
Eric Engestrom
7bc5646609
ci: bump the image tags to rebuild all the deqp variants
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27250 >
2024-01-26 21:49:05 +00:00
Eric Engestrom
52b784dbc5
ci/deqp: only keep the mustpass lists that are relevant to the build
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27250 >
2024-01-26 21:49:05 +00:00
Eric Engestrom
e0c564dd0b
ci/deqp: only compile the test binaries that are relevant to the build
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27250 >
2024-01-26 21:49:05 +00:00
Eric Engestrom
969b430a23
ci/deqp: only compile EGL tests in GL builds, not VK builds
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27250 >
2024-01-26 21:49:05 +00:00
Eric Engestrom
d9833b89a2
ci/deqp: drop the implicit DEQP_TARGET; explicitly set default
in VK builds
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27250 >
2024-01-26 21:49:05 +00:00
Eric Engestrom
fb326ef27f
ci/deqp: split vk and gl builds
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27250 >
2024-01-26 21:49:05 +00:00
Eric Engestrom
24161160e5
ci/deqp: move editable part to the top of the file
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27250 >
2024-01-26 21:49:05 +00:00
Eric Engestrom
86bf197bf7
ci/deqp: avoid storing the huge list of vk tests on android builds
...
Same as we do with GL mustpass lists.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27250 >
2024-01-26 21:49:05 +00:00
Eric Engestrom
3cc1c71148
ci/deqp: simplify version log dump
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27250 >
2024-01-26 21:49:05 +00:00
Eric Engestrom
115ab467c6
ci/deqp: fix default target check when target is not specified
...
Fixes: 27a1b4e4f3
("ci/deqp: ensure that in `default` builds, wayland + x11 + xcb are all built")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27250 >
2024-01-26 21:49:05 +00:00
Lionel Landwerlin
3b9466dd51
anv: fix transfer barriers flushes with compute queue
...
Transfer operation are implemented differently on the compute engine
and require a different kind of cache flush.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Cc: mesa-stable
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27233 >
2024-01-26 20:47:18 +00:00
Ryan Neph
9f99685c1b
virgl: use PIPE_MAX_SAMPLERS in bind_samplers_states
...
Fix incorrect use of PIPE_MAX_SHADER_SAMPLER_VIEWS in
virgl_bind_samplers_states.
Signed-off-by: Ryan Neph <ryanneph@google.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27251 >
2024-01-26 18:20:13 +00:00
Javier Martinez Canillas
5275df0cfe
gallium: Add ssd130x to the list of kmsro drivers
...
Add an entry point for the ssd130x modesetting driver, to expose a _dri.so
and allow Solomon panels to display the contents rendered by a GPU driver.
Suggested-by: Erico Nunes <nunes.erico@gmail.com >
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com >
Reviewed-by: Erico Nunes <nunes.erico@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27135 >
2024-01-26 17:52:45 +00:00
Lionel Landwerlin
9d31680e79
anv: retain ccs image binding address
...
Memory can be free before images it is bound to. When unmapping the
CCS range in the AUX-TT, we cannot rely on the anv_bo::offset field
because the anv_bo might have been freed.
Just save the mapping address/size and use those values at unmapping
time.
Fixes an assert on CI with :
dEQP-VK.synchronization.internally_synchronized_objects.pipeline_cache_graphics
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Fixes: e519e06f4b
("anv: add missing alignment for AUX-TT mapping")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27304 >
2024-01-26 17:29:31 +00:00
Lionel Landwerlin
eead86ad8e
anv: rename aux_tt image field
...
We'll add more to the sub-struct
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Jianxun Zhang <jianxun.zhang@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27304 >
2024-01-26 17:29:31 +00:00
Lionel Landwerlin
fdc2f0a52e
anv: factor out aux-tt binding logic for future reuse
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Jianxun Zhang <jianxun.zhang@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27304 >
2024-01-26 17:29:30 +00:00
Faith Ekstrand
6260fa47ff
nak: Loop to ensure we get accurate shader clocks
...
Even though CS2R can fetch a whole 64 bits at a time, that doesn't mean
it does so atomically. Instead, we need to loop, alternating high and
low until we fetch the same high value twice.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27303 >
2024-01-26 16:55:50 +00:00
Faith Ekstrand
48ebfeba34
nak: Add a source barrier intrinsic
...
This just inserts a GPU stall until the given source is available. We
need this in order to properly implement shader clock.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27303 >
2024-01-26 16:55:50 +00:00
Faith Ekstrand
d57c79846d
nak: Choose S2R vs CS2R based on sysval index
...
CS2R is only allowed for SV_CLOCK
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27303 >
2024-01-26 16:55:50 +00:00
Lionel Landwerlin
e121d873bd
anv/hasvk: don't report error when intel_get_device_info_from_fd fails
...
A side effect of the previous change is that we started getting
failures from that function but that only says the device is not
supported, so silently fail and return.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Fixes: 3fd44345c4
("intel: Skip ioctls for querying device info when hardware is unsupported")
Reviewed-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27294 >
2024-01-26 16:30:25 +00:00