Rhys Perry
26fce534b5
aco: shrink DPP8_instruction
...
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25525 >
2023-10-04 18:53:43 +00:00
Leandro Ribeiro
e90b5385a0
egl: move is_render_node flag to platform_wayland
...
This flag is being used only by platform_wayland. So move it to be
included by the #ifdef HAVE_WAYLAND_PLATFORM in struct dri2_egl_display.
Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Reviewed-by: Simon Ser <contact@emersion.fr >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25504 >
2023-10-04 17:01:42 +00:00
Leandro Ribeiro
394c3b97f1
egl: make explicit that we don't support render nodes for software EGLDevice
...
Currently we verify that by checking if the EGLDevice has a NULL
drmDevicePtr.
We have a proper way of checking that with _eglDeviceSupports(dev,
_EGL_DEVICE_SOFTWARE), so use that to make things more explicit.
Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Reviewed-by: Simon Ser <contact@emersion.fr >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25504 >
2023-10-04 17:01:42 +00:00
Leandro Ribeiro
950825cb36
egl: simplify _eglAddDRMDevice()
...
We only create EGLDevice's for render-capable devices, so it's better
to document that in the code and simplify this function.
Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Reviewed-by: Simon Ser <contact@emersion.fr >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25504 >
2023-10-04 17:01:42 +00:00
Leandro Ribeiro
f0861645bb
egl: remove unused parameter from _eglAddDRMDevice()
...
No callers are using the _EGLDevice **out_dev parameter which is being
set by this function. So just drop it.
Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Reviewed-by: Simon Ser <contact@emersion.fr >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25504 >
2023-10-04 17:01:41 +00:00
Leandro Ribeiro
7de445e69a
egl: rewrite outdated comment in _eglFindDevice()
...
_eglAddDevice() has been renamed to _eglFindDevice(). But the comment
describing what this function does is outdated. Rewrite this comment.
Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Reviewed-by: Simon Ser <contact@emersion.fr >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25504 >
2023-10-04 17:01:41 +00:00
Carsten Haitzler
a4f7f9975a
panfrost: Add GPU variant of G57 to the set of known ids
...
There already is a G57 ID, but this is for a MTK variant that is not
actually the original design. The original design is 0x9091 not
0x9093.
Signed-off-by: Carsten Haitzler <carsten.haitzler@foss.arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25026 >
2023-10-04 16:32:05 +00:00
Danylo Piliaiev
47fb3f06c4
tu: Add push_consts_per_stage debug option
...
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25086 >
2023-10-04 15:51:54 +00:00
Danylo Piliaiev
a5f0f7d4b1
turnip,ir3: Implement A7XX push consts load via preamble
...
New push consts loading consist of:
- Push consts are set for the entire pipeline via HLSQ_SHARED_CONSTS_IMM
array which could fit up to 256b of push consts.
- For each shader stage that uses push consts READ_IMM_SHARED_CONSTS
should be set in HLSQ_*_CNTL, otherwise push consts may get overwritten
by new push consts that are set after the draw.
- Push consts are loaded into consts reg file in a shader preamble via
stsc at the very start of the preamble.
OPC_PUSH_CONSTS_LOAD_MACRO is used instead of directly translating NIR
intrinsic into stsc because: we don't want to teach legalize pass how
to set (ss) between stores and loads of consts reg file, don't want for
stsc to be reordered, etc.
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25086 >
2023-10-04 15:51:54 +00:00
Danylo Piliaiev
e39b6e2b9b
freedreno: Make possible to specify A7XX feature flags
...
Previously the idea was for each generation to have unique list
of feature flags, now it makes more sense for new generation
to have only new flags defined and "inherit" older gen flags.
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25086 >
2023-10-04 15:51:54 +00:00
Danylo Piliaiev
823b3bfeea
ir3,tu: Refactor push consts info plumbing
...
In preparation for a new way to pass push consts into a shader,
introduced in a7xx.
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25086 >
2023-10-04 15:51:54 +00:00
Danylo Piliaiev
d5d7631060
freedreno/registers: Refine a7xx push consts registers
...
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25086 >
2023-10-04 15:51:54 +00:00
Samuel Pitoiset
b8ad3ddb1e
radv: fix emulated geometry shader primitives/invocations queries
...
If both are used together, only the geometry shader primitives were
copied.
Found by inspection.
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25543 >
2023-10-04 15:16:36 +00:00
Samuel Pitoiset
c3d823765a
radv/ci: rename GFX1100 lists to NAVI31
...
The chip has been renamed.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25542 >
2023-10-04 14:20:34 +00:00
Eric Engestrom
86bdabb4c2
ci: fix shebang in build-deqp-runner.sh
...
We use bash features such as `pushd`, so be accurate in the shebang,
even though in practice this is sourced not executed so this shebang
only serves our editors.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25430 >
2023-10-04 13:39:36 +00:00
Marek Olšák
bc432ab9a0
radeonsi/ci: update navi10 results
...
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25515 >
2023-10-04 12:35:15 +00:00
Marek Olšák
f4d08bf92d
Revert "radeonsi: specialize si_draw_rectangle using a C++ template"
...
This reverts commit cd7e20f513
.
Navi1x turns off NGG when streamout queries are active, which breaks
the assumption of specialized si_draw_rectangle that NGG is always
enabled on Navi1x.
Fixes: cd7e20f513
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25515 >
2023-10-04 12:35:15 +00:00
Karol Herbst
93d5d85d35
rusticl: fix clippys bool_to_int_with_if
...
New in clippy-1.65
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25538 >
2023-10-04 11:44:51 +00:00
Martin Roukala (né Peres)
cbdd4f5373
zink/ci: remove 19 tests from the zink-radv-polaris10-fails list
...
It seems that most crashes in glgetteximage-related tests were fixed,
likely by [1] \o/.
[1]: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25460
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25535 >
2023-10-04 11:13:29 +00:00
Georg Lehmann
0e819465b3
aco: print final ir instead if printing asm is unsupported
...
Not a perfect replacement, but it's better than nothing.
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25522 >
2023-10-04 08:35:48 +00:00
Georg Lehmann
73605d46dd
aco: assume newer generation will use GFX11 wait_imm packing
...
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25522 >
2023-10-04 08:35:48 +00:00
Georg Lehmann
73e85c6691
aco: assume new generations are unsupported by clrx
...
clrx hasn't seen any changes since 2021. I guess the only reson to keep it is
GFX6 support.
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25522 >
2023-10-04 08:35:48 +00:00
Mike Blumenkrantz
a2641ddf0d
gallium: add PIPE_MAP_NONE
...
not actually used, just for trace printing
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25189 >
2023-10-04 02:57:08 +00:00
Mike Blumenkrantz
ef00ea7b50
aux/trace: dump enum names for map usage
...
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25189 >
2023-10-04 02:57:07 +00:00
Mike Blumenkrantz
72323f66d9
zink: guarantee egl syncobj lifetime
...
according to spec, egl syncobjs can be deleted before they complete,
which means they need to be preserved while they're still in progress
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25460 >
2023-10-04 02:27:53 +00:00
Mike Blumenkrantz
4ef2226210
zink: fix end-of-batch barrier pipeline stages
...
ALL_COMMANDS covers all the layouts used here
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25460 >
2023-10-04 02:27:53 +00:00
Mike Blumenkrantz
d0dd973fe2
zink: move v3dv scalarBlockLayout workaround
...
this isn't actually device-level workaround, it's just error suppression
fixes #9895
Fixes: 2978b85789
("zink: don't warn about missing scalarBlockLayout on v3dv")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25456 >
2023-10-04 02:00:20 +00:00
Mike Blumenkrantz
2531050ec9
zink: move push descriptor disable to driver workarounds
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25456 >
2023-10-04 02:00:20 +00:00
Mike Blumenkrantz
c3f5416eaf
zink: fix crashing in image rebinds
...
this is invalid for buffer textures
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25379 >
2023-10-04 01:34:55 +00:00
Benjamin Cheng
9e67866609
radv/video: find SPS with pps_seq_parameter_set_id
...
Reviewed-by: Lynne <dev@lynne.ee >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25490 >
2023-10-04 01:12:34 +00:00
Samuel Pitoiset
60dd34b02a
zink/ci: bump zink-anv-tgl-full timeout to 1h45m
...
It can timeout otherwise. Might be due to recent uprev CTS.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25509 >
2023-10-03 19:38:39 +00:00
Samuel Pitoiset
91cb09b236
zink/ci: update list of expectations for zink-anv-tgl
...
See https://gitlab.freedesktop.org/mesa/mesa/-/pipelines/995410 .
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25509 >
2023-10-03 19:38:39 +00:00
Emma Anholt
57aa6dad16
ci/crocus: Add a related flake to a known one.
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25509 >
2023-10-03 19:38:39 +00:00
Emma Anholt
e8511d5adb
ci/docker: Clear the results file before starting a new deqp test run.
...
crocus-hsw was failing because results.csv.zst was left around in the
results dir, and then zstd -o complained. We shouldn't be uploading stale
results files, anyway, so do an rm -rf first to clean up when the docker
container gets reused.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25509 >
2023-10-03 19:38:39 +00:00
Emma Anholt
c3c2a8def0
ci/zink: Skip more doubles tests on anv that flake at 3 minute timeouts.
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25509 >
2023-10-03 19:38:39 +00:00
Emma Anholt
73dd48f3e0
ci/etnaviv: Skip a GLES2 test that times out the asan job.
...
We could make asan use a toml setup that just skipped this for asan, but
this is quick and easy and I don't think there's too much risk here. This
would make every asan job I've looked at in the nightlies pass.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25509 >
2023-10-03 19:38:39 +00:00
Emma Anholt
1432f7cf4a
ci/etnaviv: Minor xfail/flake polishing.
...
Now that the regular piglit GPU hangs are sorted, we can get some more signal.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25509 >
2023-10-03 19:38:39 +00:00
Emma Anholt
77b240a251
ci/anv: Drop the 16bit.scalar.13 skip.
...
It's now at 1.5 sec on my ADL and CFL systems.
Closes : #4641
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25509 >
2023-10-03 19:38:39 +00:00
Emma Anholt
c742cba113
ci/anv: Drop incorrect xfail addition for TGL
...
This xfails file is for deqp-vk. The xfail that was added was for
angle-on-anv, which has its own expectations files and has this test
recently listed as a flake already.
Fixes: a217c5c58c
("ci: update to vulkan-cts-1.3.6.3")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25509 >
2023-10-03 19:38:39 +00:00
Gert Wollny
16662f8d3a
copyimage: check requested slice early when cube maps are involved
...
The generalized check for the z-slice happens in 'check_region_bounds',
but this function requires the image pointer that is acquired in
`prepare_target_err`, therefore replace the assertion with a proper test.
v2: Also check for negative value (Brian Paul)
CC: mesa-stable
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25507 >
2023-10-03 18:50:10 +00:00
Kenneth Graunke
17b8b2cffd
anv: Add support for a transfer queue on Alchemist
...
Alchemist has an improved blitter that's sufficiently powerful to
implement a transfer queue. Tigerlake's blitter lacks compression
handling and other features we need, unfortunately.
Rework (Sagar):
- Check blitter command buffer in EndCommandBuffer
v2: (Lionel)
- Look at image, buffer and memory barriers as well
- Flush cache if there is queue ownership transfer
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18325 >
2023-10-03 18:02:52 +00:00
Sagar Ghuge
5112b42146
anv: Handle end of pipe with MI_FLUSH_DW on transfer queue
...
Blitter command streamer supports MI_FLUSH_DW command so make sure we
don't end up emitting pipe control with CS stall and also handle the end
of pipe timestamp with MI_FLUSH_DW command.
Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18325 >
2023-10-03 18:02:52 +00:00
Danylo Piliaiev
b048ba569a
ci: Compile Turnip's virtio kmd in debian-arm64
...
Nothing compiled virtio kmd in CI.
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25531 >
2023-10-03 17:06:27 +00:00
Danylo Piliaiev
34d436fde2
tu/virtio: Fix incorrect call to tu_perfetto_submit
...
Virtio backend backend was not updated because it was not
compiled in CI and not compiled locally.
Fixes: 7f59e37233
("tu/perfetto: Allow gpu time to be passed into tu_perfetto_submit")
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25531 >
2023-10-03 17:06:26 +00:00
Danylo Piliaiev
ec95573302
tu/a7xx: Correctly record timestamps for u_trace
...
It was changed how CP_EVENT_WRITE works on A7XX.
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25528 >
2023-10-03 15:48:12 +00:00
Rob Clark
583c636ea4
freedreno: Add attach-bo debugging
...
Add asserts to verify that BOs referenced in cmdstream are attached to
the submit.
Signed-off-by: Rob Clark <robdclark@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25465 >
2023-10-03 15:18:03 +00:00
Rob Clark
366367eba8
freedreno: Move/add some attach_bo()
...
In some cases we were missing this, in others we just needed to move it
before the OUT_RELOC().
Signed-off-by: Rob Clark <robdclark@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25465 >
2023-10-03 15:18:03 +00:00
Rob Clark
9870cca6a0
freedreno: Add missing indirect_draw_count tracking
...
Fixes: f677f64e80
("freedreno: implement GL_ARB_indirect_parameters")
Fixes: b43e5aec0d
("freedreno/batch: Move submit bo tracking to batch")
Signed-off-by: Rob Clark <robdclark@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25465 >
2023-10-03 15:18:03 +00:00
Rob Clark
8a3b4b69a2
freedreno: Add private-BO tracking
...
There are some internally used buffers that we should just attach to
every submit up-front.
Signed-off-by: Rob Clark <robdclark@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25465 >
2023-10-03 15:18:03 +00:00
Rob Clark
c6f17d89c7
freedreno/batch: Move query_buf allocation
...
This lets us move fd_batch_update_queries() after resource tracking.
Which will become needed in the next patch which adds validation to
assert needed BOs are attached to the submit.
Signed-off-by: Rob Clark <robdclark@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25465 >
2023-10-03 15:18:03 +00:00