Commit Graph

3753 Commits

Author SHA1 Message Date
Eric Engestrom 53fe1f39a0 ci: use $CI_TRON_JOB_PRIORITY tag on all ci-tron jobs
Moving `ci-tron:priority:` out of the variable because an empty value
will not be authorized, and this makes it obvious if that bug ever
happens (job will not be picked up and gitlab will complain that
`ci-tron:priority:` is not a tag registered by any runner), instead of
getting picked up by any runner that will then reject (fail) the job.

(This is caused by GitLab's API not allowing tags to be enforced when
picking up jobs, resulting in jobs with missing tags being picked up by
any runner, like the bug we had with the generic fd.o runners a few
months ago.)

v2 (Martin Roukala):
 * use the priority tags in all amdgpu jobs
 * add missing tags in etnaviv jobs
 * add missing tags in broadcom jobs

Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37897>
2025-11-24 12:02:40 +00:00
Valentine Burley d2ebe7719c ci/android: Build zink for arm64 as well
We'd like to use zink on both x86_64 and arm64 on Android, so add it to
the build targets.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38572>
2025-11-21 10:50:43 +01:00
Laura Nao b10369631e ci/container: Add script to build Perfetto tracebox
Add a script to build Perfetto’s tracebox tool for x86_64 and arm64
targets on Linux and Android.

Signed-off-by: Laura Nao <laura.nao@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38517>
2025-11-21 09:59:40 +01:00
Laura Nao f9243dc92b ci/prepare-artifacts: Keep pps-producer binary in artifacts
Mesa builds using -Dperfetto=true generate a pps-producer binary.
Include it in the artifacts for use in runtime performance tracing
tests.

Signed-off-by: Laura Nao <laura.nao@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38517>
2025-11-21 09:59:40 +01:00
Laura Nao b178612f11 ci: Enable Perfetto tracing support in Mesa builds for Linux/Android
Enable Perfetto tracing support in Mesa's x86_64/arm64 builds for Linux
and Android. This enables GPU performance counter collection via pps and
sets up the environment for runtime GL tests with support for CPU, GPU
and system-wide tracing. Information captured by Perfetto will provide
driver developers insight into the test environment and help identify
factors affecting performance.

Signed-off-by: Laura Nao <laura.nao@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38517>
2025-11-21 09:59:40 +01:00
Eric Engestrom 5db246a5ba perfetto: use the new upstream repo
The old one was abandoned without so much as a README note.

This will also allow using newer releases than 47; the current one being
53, but this MR doesn't address that, as it aims to be a simple no-op
change.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38525>
2025-11-20 07:07:42 +00:00
Yonggang Luo ca364a9551 ci: update image tags for windows container
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38534>
2025-11-20 01:16:17 +00:00
Yonggang Luo 11a775539f ci: MSVC 2019 is not support anymore, remove it.
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38534>
2025-11-20 01:16:17 +00:00
Yonggang Luo 84cce2a739 ci/microsoft: Downgrading WinFlexBison.win_flex_bison to version 2.5.24
This is achieved by provide version parameter to winget-cli

Fixes: 9592686ca0 ("ci/windows: Use winget to install packages and install Microsoft.WindowsWDK.10.0.26100")

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13968

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38534>
2025-11-20 01:16:17 +00:00
Samuel Pitoiset 8fd91a1ee9 ci: build drm-shim for RADV tests in debian-vulkan
RADV tests will require AMDGPU drm-shim.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38507>
2025-11-19 07:11:05 +00:00
Collabora's Gfx CI Team c319cb627f Uprev ANGLE to 127a84404b88dbc4327ffb7f831a9a36c3b111bc
https://github.com/google/angle/compare/e9626fbced6841d804e7eaf48bb078770822032b...127a84404b88dbc4327ffb7f831a9a36c3b111bc

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38102>
2025-11-17 08:07:36 +00:00
Dmitry Baryshkov 41406e28dc ci: describe my small lab
A small installation with several iMX53 devices, managed by CI-Tron.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38383>
2025-11-15 21:03:40 +00:00
Dmitry Baryshkov 9a33edca35 ci: drop google-freedreno remnants
Drop remnants of the  google-freedreno lab entries.

Fixes: 6541b911bd ("freedreno/ci: Remove baremetal job templates")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38386>
2025-11-12 09:43:43 +00:00
Eric Engestrom f30e5ff44b ci: uprev vkd3d
https://github.com/HansKristian-Work/vkd3d-proton/compare/03cca4cd978e964bbb5d4bd0ba655ea80011d04f...4acd2271319df0ca06b7c0429d371cc8a0504037

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38370>
2025-11-11 20:15:21 +00:00
Valentine Burley 02986c9cec ci/lava: Use a660_zap.mbn from linux-firmware
This is now available in linux-firmware, so we can update the
gfx-ci/firmware archive to include the zap shader for a660 instead of
manually injecting it in LAVA.

https://gitlab.freedesktop.org/gfx-ci/firmware/-/commit/e16373de805fce1f71db4405dbc36919b538e7e0
https://gitlab.freedesktop.org/gfx-ci/lava-job-submitter/-/commit/6bff1a1967d522fbd9e49d0ffe3f3db91217bbf1

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38368>
2025-11-11 13:16:18 +00:00
Eric Engestrom f689322d27 ci: track src/android_stub/ changes
Fixes: 932f51d593 ("ci: Include enough Android headers to let us compile test EGL")
Suggested-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38346>
2025-11-10 09:27:07 +00:00
Eric Engestrom 2ec3e536fd ci: track src/c11/ changes
It's used by mesa_util, so let's just consider changes to it can affect
any job.

Fixes: b2ddec4e98 ("c11: Implement c11/time.h with c11/impl/time.c")
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38346>
2025-11-10 09:27:07 +00:00
Valentine Burley 204b83d80f ci: Remove Piglit replayer from test-vk container/rootfs
We've been building the Piglit replayer in the test-vk container/rootfs,
but all trace-replay testing in CI is actually done using the test-gl
rootfs.

Despite the naming, the "gl" and "vk" rootfs variants don't correspond to
the graphics API being tested - just the different sets of tools
bundled.
The required tools for trace replay are already included in the test-gl
rootfs, so there's no need to build or use the test-vk variant for this
purpose.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38282>
2025-11-07 08:22:32 +00:00
Collabora's Gfx CI Team fcecfe54e8 Uprev Piglit to 5309e3401d6b03e8a0bb7bfdc1e0f5bc1ad754af
https://gitlab.freedesktop.org/mesa/piglit/-/compare/ec76cc7a31f03c4f4f9d6e3b00f8a70c8ee0fb32...5309e3401d6b03e8a0bb7bfdc1e0f5bc1ad754af

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38253>
2025-11-05 12:49:28 +00:00
Kenneth Graunke 183d57aa9e ci: Run intel shader-db on Haswell, Broadwell, and Meteorlake
This would have caught recent regressions.

Haswell covers crocus.
Broadwell covers iris's oldest platform.
Skylake and derivatives are widely deployed.
Meteorlake is reasonably representative of recent Intel hardware.

Acked-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38231>
2025-11-05 10:58:00 +00:00
David Heidelberg 9334b5659c ci: implement debian-cross-riscv64
Revival of my old effort to get riscv64 testing in!
Now we're at Debian 13 (trixie), we can support RISC-V builds!

Disable llvmpipe suite because of lp_test_arit failure, see
https://gitlab.freedesktop.org/mesa/mesa/-/issues/14123

Signed-off-by: David Heidelberg <david@ixit.cz>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37445>
2025-11-03 15:04:57 +01:00
Valentine Burley 2bec7fb8c7 ci: Update linux-firmware version to pick up more ARM firmware
Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38051>
2025-10-28 10:09:28 +00:00
Ritesh Raj Sarraf 3da45bb00a ci: Use Linux 6.17.3 for mesa gfx-ci
Signed-off-by: Ritesh Raj Sarraf <ritesh.sarraf@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37935>
2025-10-27 08:51:04 +00:00
Collabora's Gfx CI Team 8d37098deb Uprev ANGLE to e9626fbced6841d804e7eaf48bb078770822032b
https://github.com/google/angle/compare/8ed16003f27125f27cbb87578368e447043420d3...e9626fbced6841d804e7eaf48bb078770822032b

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37858>
2025-10-26 00:08:20 +00:00
Collabora's Gfx CI Team 74afb200d3 Uprev Piglit to ec76cc7a31f03c4f4f9d6e3b00f8a70c8ee0fb32
https://gitlab.freedesktop.org/mesa/piglit/-/compare/2ac68e5fb59215ecf89049ec15f3f7494b51a589...ec76cc7a31f03c4f4f9d6e3b00f8a70c8ee0fb32

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37968>
2025-10-25 07:46:22 +00:00
Yiwei Zhang 13e9bc2ff9 venus: allow timeline semaphore feedback to suspend and resume
Similar idea with fence feedback, but a bit tricky in the resume
condition. See comments for details.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38049>
2025-10-25 00:02:59 +00:00
Yiwei Zhang 2c08e6d8bb venus: allow fence feedback to suspend and resume
Previously, we either have to filter out incompatible queue or disable
fence feedback. Now we track whether the queue can do feedback, and will
mark the fence feedback not pollable if the fence is submitted on an
incompatible queue.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38049>
2025-10-25 00:02:59 +00:00
Yiwei Zhang 2e32dd7472 venus: skip feedback cmd record on incompatible queue families
Feedback requires transfer capability, so we must skip feedback cmd
pool initialization on incompatible queue families. Meanwhile, use
pool_handle for all validity check needed.
- fence and semaphore feedback: skip feedback cmd alloc and record when
  pool_handle is VK_NULL_HANDLE
- event feedback: not affected as we patch in-place upon recording
- query feedback: assert the feedback cmd alloc is on supported queue

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38016>
2025-10-23 08:57:12 +00:00
Valentine Burley daa3ed7fea ci/deqp: Also print logs to logcat on Android
Add a patch for dEQP: for non-APK builds running on Android, duplicate
dEQP output to both stdout and Android's logcat, making test output
visible in logcat.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37933>
2025-10-21 12:23:40 +00:00
Eric Engestrom 1773e2df50 ci: uprev vkd3d
https://github.com/HansKristian-Work/vkd3d-proton/compare/0845d1b69c6b474debe39d25f0137bf108a42b92...03cca4cd978e964bbb5d4bd0ba655ea80011d04f

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37960>
2025-10-21 03:57:14 +00:00
Aitor Camacho 873d2f252e ci: Add KosmicKrisp Linux build
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37965>
2025-10-21 02:28:09 +00:00
Collabora's Gfx CI Team 958cdea31d Uprev Piglit to 2ac68e5fb59215ecf89049ec15f3f7494b51a589
https://gitlab.freedesktop.org/mesa/piglit/-/compare/4147e9d7aeb8ba26ffc25a90fc237588bcb3bb11...2ac68e5fb59215ecf89049ec15f3f7494b51a589

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37950>
2025-10-20 09:57:30 +00:00
Sergi Blanch Torne d0af217911 ci: Add missing aiohttp Python dependecy
Found a missing dependency for `pipeline_message.py`.

Signed-off-by: Sergi Blanch Torne <sergi.blanch.torne@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37868>
2025-10-15 23:48:53 +00:00
Samuel Pitoiset 24a95ed3e5 ci: uprev VKCTS main to db48c34bebaf3359453e44ab151a2ff9f9c58eb2
RADV is the only driver using main.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37665>
2025-10-15 09:18:48 +00:00
Valentine Burley 57541eaa9b ci/lava: Make fastboot commands customizable
Instead of hardcoding the A/B slot selection, allow an optional
environment variable (LAVA_FASTBOOT_CMD) for devices that need it.
This is used for sm8350-hdk to select slot A, but can be omitted
for devices that don’t support A/B slots.

Update the lava-trigger container to pull in
https://gitlab.freedesktop.org/gfx-ci/lava-job-submitter/-/commit/1b521e7b38cb8c910230a27db144fd7544c1a925.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37478>
2025-10-14 14:47:49 +00:00
Collabora's Gfx CI Team 503d419138 Uprev Piglit to 4147e9d7aeb8ba26ffc25a90fc237588bcb3bb11
https://gitlab.freedesktop.org/mesa/piglit/-/compare/a70c33045c59310f972dbbdb33f322eb209971bc...4147e9d7aeb8ba26ffc25a90fc237588bcb3bb11

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37845>
2025-10-13 19:20:08 +00:00
Collabora's Gfx CI Team 4870b3db6e Uprev ANGLE to 8ed16003f27125f27cbb87578368e447043420d3
https://github.com/google/angle/compare/538129c6b3c17dc864101c7a4af4b74b00706f82...8ed16003f27125f27cbb87578368e447043420d3

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37845>
2025-10-13 19:20:08 +00:00
Ashish Chauhan 6e189ba6c1 pvr: Drop '-experimental' suffix from the 'imagination' build option
The imagination-experimental flag has been replaced with the imagination flag,
as the driver is now Vulkan conformant.

Signed-off-by: Ashish Chauhan <Ashish.Chauhan@imgtec.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37761>
2025-10-10 15:29:04 +00:00
Valentine Burley ad22f2419a ci/android: Make Vulkan driver replacement conditional
This avoids hard-coding Vulkan drivers that are not part of the arm64
Mesa build archive.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37738>
2025-10-08 09:25:24 +00:00
Valentine Burley 1bca7ca3e0 ci: Rename ANDROID_GPU_MODE to CUTTLEFISH_GPU_MODE
Makes the variable name more clear.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37738>
2025-10-08 09:25:24 +00:00
Juan A. Suarez Romero d775f3b608 ci: uprev VKCTS to 1.4.3.3
Reviewed-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37620>
2025-10-06 21:53:39 +00:00
Valentine Burley 7267791292 ci/android: Upload arm64 Mesa driver builds
Save the arm64 driver builds in a separate archive alongside the x86_64
ones.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37596>
2025-10-06 14:46:22 +00:00
Eric Engestrom 2ecd354a22 ci: check for missing meson dependencies
Based on @eschwartz's https://codeberg.org/eli-schwartz/eschwartz-dev-scripts/src/branch/master/install-qa-check.d/50ninja-missingdeps

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37490>
2025-10-06 09:53:24 +00:00
Eric Engestrom e17469f99f ci/alpine: install the real ninja package
The `samurai` re-implementation that we'd been using is missing the
tools, in particular `missingdeps` which we're about to start using, so
let's not leave alpine out.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37490>
2025-10-06 09:53:24 +00:00
Collabora's Gfx CI Team 7ef5653b11 Uprev ANGLE to 538129c6b3c17dc864101c7a4af4b74b00706f82
https://github.com/google/angle/compare/1df3b59f8730b56b4770595d4d69f36d5283333f...538129c6b3c17dc864101c7a4af4b74b00706f82

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37356>
2025-10-04 07:14:50 +00:00
Ritesh Raj Sarraf 0e80e831f8 ci/android: Use prebuilt cuttlefish packages from ci-deb-repo
Make use of the prebuilt cuttlefish packages from the Debian
Trixie base. These packages are built and published to an apt
repository under ci-deb-repo

Signed-off-by: Ritesh Raj Sarraf <ritesh.sarraf@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37633>
2025-10-03 10:04:39 +00:00
Ritesh Raj Sarraf 1f7fae992c ci: Update to latest revision from ci-deb-repo
The latest revision includes built packages for cuttlefish from
ci-deb-repo

Signed-off-by: Ritesh Raj Sarraf <ritesh.sarraf@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37633>
2025-10-03 10:04:39 +00:00
Valentine Burley 040201d46a ci: Remove lava-job-submitter, LAVA containers, and tests
lava-job-submitter has been moved to a new repository:
https://gitlab.freedesktop.org/gfx-ci/lava-job-submitter

Remove the LAVA-related code from Mesa, since we now use the containers
built in that repository. These containers already include
lava-job-submitter and run the relevant tests there.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37510>
2025-10-02 18:31:56 +00:00
Valentine Burley 215199af88 ci/lava: Use lava-job-submitter from gfx-ci repo
lava-job-submitter has been moved to a new repository:
https://gitlab.freedesktop.org/gfx-ci/lava-job-submitter

Switch to using the containers built in that repository.
The new lava-trigger container already includes lava-job-submitter
pre-installed, along with the new FDO CI bash helpers from ci-templates.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37510>
2025-10-02 18:31:56 +00:00
Collabora's Gfx CI Team 63b3545ba7 Uprev Piglit to a70c33045c59310f972dbbdb33f322eb209971bc
https://gitlab.freedesktop.org/mesa/piglit/-/compare/517270ccca11a795d2f29bd723c362eb6ef9ce8f...a70c33045c59310f972dbbdb33f322eb209971bc

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37387>
2025-10-02 12:10:16 +00:00