Collabora's Gfx CI Team
1d35b2f343
Uprev Piglit to 4a62c26721a47552a96416a134b789a813dd51a6
...
582f5490a1...4a62c26721
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30254 >
2024-08-05 10:45:38 +00:00
Rhys Perry
8f3d0fbad7
aco: don't transform v_interp_p2_f32 with constant into fma
...
Since v_interp_p2_f32 with constant operands only happens on GFX11.5, this
should actually be fine in all cases where this is currently possible
(GFX11.5+ allows DPP with scalar src1). However, it does fail validation
because we haven't updated that yet.
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com >
Fixes: bee487df48
("aco/gfx11.5+: use vinterp for fddx/fddy")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30477 >
2024-08-05 09:32:24 +00:00
Rhys Perry
911fdce0b6
aco: fix validation of v_s_ opcodes
...
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com >
Fixes: 284b9965e8
("aco/gfx11.5+: allow sgpr dst for trans ops and use pseudo scalar ops on gfx12")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30477 >
2024-08-05 09:32:24 +00:00
Karol Herbst
b3e925a21b
rusticl/kernel: properly respect device thread limits per dimension
...
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30504 >
2024-08-04 23:00:08 +00:00
Karol Herbst
b2225b9437
zink: lower 8/16 bit alu ops vk spirv doesn't allow
...
Cc: mesa-stable
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30504 >
2024-08-04 23:00:08 +00:00
Karol Herbst
39ec184db6
zink: lower 64 bit find_lsb, ufind_msb and bit_count
...
Cc: mesa-stable
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30504 >
2024-08-04 23:00:08 +00:00
Eric Engestrom
9155e0a887
ci/deqp-runner: fix --fraction-start in non-parallel jobs
...
`CI_NODE_INDEX` is only defined in `parallel:` jobs.
Without this, we end up with `--fraction-start --fraction 1`, which is
obviously invalid but somehow it hasn't blown up (yet).
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30462 >
2024-08-04 20:40:26 +00:00
David Heidelberg
366e7e2ddc
freedreno: drop dEQP hacks
...
Not necessary since ceece45b2b
("freedreno: drop hack for old dEQP").
Reviewed-by: Rob Clark <robclark@freedesktop.org >
Signed-off-by: David Heidelberg <david@ixit.cz >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30497 >
2024-08-04 05:27:30 +09:00
Lionel Landwerlin
97f6a296e3
anv: better signal new frames to utrace
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29944 >
2024-08-03 16:03:15 +03:00
Lionel Landwerlin
bc523e8949
util/debug: update parse_enable_string to deal with +all/-all
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29944 >
2024-08-03 16:03:13 +03:00
Lionel Landwerlin
4b1e3b8515
u_trace: add csv output
...
Some of my colleagues have scripts using CSV format for measuring
frame timing.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29944 >
2024-08-03 16:03:07 +03:00
Lionel Landwerlin
78ae7ab856
anv/hasvk: add indirect tracepoint arguments
...
Gives visibility on some indirect parameter dispatches :
- draw count
- compute dispatch size
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29944 >
2024-08-03 16:03:04 +03:00
Lionel Landwerlin
0a17035b5c
u_trace: add support for indirect data
...
Allows a driver to declare indirect arguments for its tracepoints and
pass an address. u_trace will request a copy of the data which should
be implemented on the command processor.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Co-Authored-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29944 >
2024-08-03 16:03:00 +03:00
Lionel Landwerlin
cb27b9541b
u_trace: remove timestamp reference in allocations
...
We want to reduce the buffer allocations for other type of data than
timestamps.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29944 >
2024-08-03 16:02:56 +03:00
Lionel Landwerlin
4347ccbe57
u_trace: rework tracepoint argument declaration
...
We're about to add indirect arguments, having a better way to describe
arguments (as capture/storage) will be useful.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29944 >
2024-08-03 16:02:53 +03:00
Lionel Landwerlin
29bf1547c0
u_trace: add mako exception printouts
...
Useful for debug
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29944 >
2024-08-03 16:02:19 +03:00
Echo J
e14d1f5bc0
util: Fix the integer addition in os_time_get_absolute_timeout()
...
This should fix glClientWaitSync() timing out too early with a INT64_MAX
timeout on radeonsi
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11615
Fixes: 7316cc92f3
("gallium/os: add conversion and wait functions for absolute timeouts")
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30476 >
2024-08-03 04:19:28 +00:00
David Heidelberg
dafc4476f7
freedreno: Implement fast clear_buffer for Adreno 6xx and 7xx
...
Increase performance of
- OpenGL ARB_clear_buffer_object impl.
- OpenCL clEnqueueFillBuffer implementation
Reviewed-by: Rob Clark <robclark@freedesktop.org >
Signed-off-by: David Heidelberg <david@ixit.cz >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30284 >
2024-08-03 12:44:32 +09:00
David Heidelberg
ddfb8ebf8c
freedreno: introduce color format parameter to emit_blit_buffer_dst
...
Useful for followup clear_buffer implementation.
Reviewed-by: Rob Clark <robclark@freedesktop.org >
Signed-off-by: David Heidelberg <david@ixit.cz >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30284 >
2024-08-03 12:32:10 +09:00
David Heidelberg
635a40cc5c
freedreno: Introduce emit_blit_fini
...
De-duplicate the code a bit and prepare for using this in clear_buffer function.
Reviewed-by: Rob Clark <robclark@freedesktop.org >
Signed-off-by: David Heidelberg <david@ixit.cz >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30284 >
2024-08-03 12:32:10 +09:00
Echo J
b2f919eaaf
d3d10umd: Use pipe_resource_usage enum in translate_resource_usage()
...
This should fix a build error with MSVC
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11461
Fixes: 40785d9a52
("gallium: properly type pipe_resource.usage with the enum")
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Reviewed-by: Max Ramanouski <max8rr8@gmail.com >
Reviewed-by: Jose Fonseca <jose.fonseca@broadcom.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30172 >
2024-08-02 22:57:19 +00:00
Jordan Justen
58469620d3
intel/brw/validate: Convert access mask to be grf based
...
Our validation code doesn't need to know which bytes are accessed. It
only needs to know which grfs were accessed by an element. This also
helps to easily handle the Xe2 register size change.
Backport-to: 24.2
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28479 >
2024-08-02 22:18:51 +00:00
Jordan Justen
e62606b2ec
intel/brw/validate: Update dst grf crossing check for Xe2
...
Rework:
* Update grf_size_shift calculation (s-b Ken)
Backport-to: 24.2
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28479 >
2024-08-02 22:18:51 +00:00
Jordan Justen
f2800deacb
intel/brw/validate: Simplify grf span validation check by not using a mask
...
Previously this check would create a mask of the bytes used in the
grf, and then shift the mask. This worked well when there was 32 bytes
in the register because a 64-bit uint64_t could easily detect that
bytes were used in the next regiter. (The next register was the high
32-bits of the `access_mask` variable.)
With Xe2, the register size becomes 64 bytes, meaning this strategy
doesn't work. Instead of a mask, we can just check to see if more than
1 grfs are used during each loop iteration. (Suggested by Ken.) This
will make it easier to extend for Xe2 in a follow on commit.
Verified this with
dEQP-VK.subgroups.arithmetic.compute.subgroupexclusivemul_u64vec4_requiredsubgroupsize
on Xe2, which otherwise would cause the program to fail to validate
because it assumed a grf was 32 bytes.
Backport-to: 24.2
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28479 >
2024-08-02 22:18:51 +00:00
Mike Blumenkrantz
f4b51e0d8e
egl: delete DRI_DRI2 remnants
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00
Mike Blumenkrantz
93aea6df07
egl/x11: replace DRI_DRI2 check with fd check
...
only swrast (not kms_swrast) doesn't support this interface, so this
check should be equivalent
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00
Mike Blumenkrantz
920f085dea
egl: delete local_buffers
...
there's lots of calls to free these, but they are never allocated
thus they can be deleted entirely
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00
Mike Blumenkrantz
f09e81636c
egl: delete DRI_IMAGE remnants
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00
Mike Blumenkrantz
18361e1a6e
egl: delete last DRI_IMAGE check
...
DRI_IMAGE always exists, so this is always supported
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00
Mike Blumenkrantz
54e0a90fbf
egl: move some extension enablement out DRI_IMAGE conditional
...
this is functionally identical
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00
Mike Blumenkrantz
9eccbe3a81
gbm: delete DRI_IMAGE remnants
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00
Mike Blumenkrantz
ab08b79ef7
gbm: use driver check for dmabuf export
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00
Mike Blumenkrantz
9ec286b037
gbm: check for compression modifiers on device create
...
remove the last DRI_IMAGE check
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00
Mike Blumenkrantz
8364f2e571
gbm: always pass through images to unmap
...
this should be fine?
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00
Mike Blumenkrantz
4a0a39245d
gbm: use new dmabuf import flag to replace DRI_IMAGE checks
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00
Mike Blumenkrantz
d26d2603cc
gbm: check for dmabuf import on device creation
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00
Mike Blumenkrantz
9907166c42
egl: always check dri caps for EGL_WL_bind_wayland_display support
...
this should be functionally the same
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00
Mike Blumenkrantz
455219979e
egl: replace display_name checks with swrast checks
...
the only time when display_name isn't set is with true swrast
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00
Mike Blumenkrantz
fc510ca674
egl: inline DRI_IMAGE compression modifier handling
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00
Mike Blumenkrantz
60d81e2865
egl/wayland: delete check for DRI_IMAGE blitImage in drm init
...
this is always supported
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00
Mike Blumenkrantz
c38b9aba0e
egl/android: check PIPE_CAP_NATIVE_FENCE_FD directly
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00
Mike Blumenkrantz
d86f39e7cf
egl: swap DRI_IMAGE checks for dmabuf/modifier support for driver check
...
this probably also enables usage on swrast when available
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00
Mike Blumenkrantz
20d3e1ad14
gbm: inline simple DRI_IMAGE usage
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00
Mike Blumenkrantz
89c6c150cc
egl: inline simple DRI_IMAGE usage
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00
Mike Blumenkrantz
caa44dffbe
dri: make a few more functions public
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00
Mike Blumenkrantz
75a08f6b00
egl: simplify MESA_drm_image enablement
...
the caps function here will always be accurate
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00
Mike Blumenkrantz
59e4d558ba
gbm: inline dri2_from_dma_bufs and delete now-redundant check in dmabuf import
...
dri will check this
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00
Mike Blumenkrantz
9362ae7ecd
dri: check for dmabuf_import at top of dri2_from_dma_bufs
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00
Mike Blumenkrantz
a7d8892f0e
dri: store dmabuf import caps to dri_screen on create
...
this is valid for all drivers
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00
Mike Blumenkrantz
027de039a3
egl/gbm: delete DRI_IMAGE_DRIVER remnants
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472 >
2024-08-02 20:49:32 +00:00