aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci
Commit message (Collapse)AuthorAgeFilesLines
* freedreno/ir3: run nir_opt_loop_unroll in optimization loopJonathan Marek2020-07-091-1/+0
| | | | | | | | GL driver was relying on this being done by gallium, but there might be new loops to unroll during optimizations and turnip needs it. Signed-off-by: Jonathan Marek <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5818>
* gitlab-ci: Don't rebuild kernels and rootfs if they have been already built ↵Tomeu Vizoso2020-07-092-6/+18
| | | | | | | | | in mainline Use the ones from mainline if possible to save cycles rebuilding the same files. Signed-off-by: Tomeu Vizoso <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5822>
* gitlab-ci: do not run full CI on scheduled pipelinesBenjamin Tissoires2020-07-091-0/+14
| | | | | | | | | | | | Currently, scheduled pipelines are only used to rebuild the git-cache archive daily. There is no point in rebuilding eveything, so ensure that any normal jobs are removed from the scheduled pipelines. Reviewed-by: Michel Dänzer <[email protected]> Acked-by: Daniel Stone <[email protected]> Signed-off-by: Benjamin Tissoires <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5804>
* gitlab-ci: Remove left-behind rules:Tomeu Vizoso2020-07-091-2/+2
| | | | | | | | | | | | | | It's something that was added to ease development, but that was supposed to be removed before merging. It also causes problems when arm-related jobs aren't enabled, as arm_build is needed by these jobs but in that case isn't there. Also extend from .ci-run-policy. Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5802>
* docs: Move the gitlab-ci docs to RST.Eric Anholt2020-07-082-336/+0
| | | | | | | | | I tried not to edit too much meaning in the process, but I did shuffle some stuff around to work as structured documentation. Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Erik Faye-Lund <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5510>
* docs: Move the current CI .rst doc to docs/ci/ and link to it from .gitlab-ci.Eric Anholt2020-07-081-0/+1
| | | | | | | | | | | I want the docs to be discoverable next to the code, and sphinx insists that all docs are under the top-level docs dir (sigh). We can't symlink from that dir to .gitlab-ci because windows builds can't do symlinks, so link back the other direction. Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Erik Faye-Lund <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5510>
* llvmpipe: add ARB_post_depth_coverage support.Dave Airlie2020-07-081-14/+2
| | | | | | | | This doesn't pass thie piglits because currently they are broken for case where GL upgrades 2 samples to 4 Reviewed-by: Roland Scheidegger <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5767>
* ci/virgl: update results after streams fixes.Dave Airlie2020-07-082-5/+2
| | | | | Reviewed-by: Roland Scheidegger <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5555>
* gitlab-ci: More stable URL for kernel and ramdisk artifacts, for LAVATomeu Vizoso2020-07-078-139/+137
| | | | | | | | | | | | | | | | | | | | | Place the kernel and ramdisk into a place in the file server so the URL will only change when the contents also change. Also put the Mesa build into a separate tarball so the ramdisk's contents don't change every build. With proper caching in place, all devices in the same farm need only to download the mesa tarball once, saving time. As we switch to MinIO for making kernels and rootfs available to LAVA devices, we can stop using Docker to distribute them. Instead, build when needed in separate jobs that push directly to MinIO, from where LAVA devices can download them. Signed-off-by: Tomeu Vizoso <[email protected]> Acked-by: Daniel Stone <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5515>
* gitlab-ci: Build kernel drivers for a few ethernet USB donglesTomeu Vizoso2020-07-072-0/+14
| | | | | | | | | So LAVA devices can download traces and upload test results. Signed-off-by: Tomeu Vizoso <[email protected]> Acked-by: Alyssa Rosenzweig <[email protected]> Acked-by: Daniel Stone <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5515>
* panfrost: Expose MSAA 4xAlyssa Rosenzweig2020-07-071-197/+0
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5782>
* tu: Rewrite variable loweringConnor Abbott2020-07-061-1/+0
| | | | | | | | | | Don't lower to offsets, instead use nir_lower_explicit_io here and use actual pointers for UBO's and SSBO's. This makes KHR_variable_pointers trivial. This also fixes asserts with shared variables, which are now supposed to be lowered with nir_lower_explicit_io. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5684>
* llvmpipe: enable GL 4.2Dave Airlie2020-07-064-98/+6
| | | | | | mostly just docs patch, features were all complete already Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5724>
* llvmpipe: bump to GL support to GL 4.1Dave Airlie2020-07-062-407/+29
| | | | | Reviewed-by: Roland Scheidegger <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5724>
* llvmpipe: bump texture/scene limits to enable GL 4.1Dave Airlie2020-07-062-3/+6
| | | | | | | | Do we need to make this more dynamic? or have some options for vmware embedded? Reviewed-by: Roland Scheidegger <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5724>
* draw/clip: fix viewport index for geometry shadersDave Airlie2020-07-041-4/+2
| | | | | | | | | | | | | | | | | | | | | | The old code updated the viewport index on the first vertex in a primitive, however it was picking the first vertex wrong when used with geometry shaders. This code has access to the prim info with the primitive lengths so instead keep track of when a new primitive starts by tracking the lengths and updating the viewport index then. The prim info is only valid after a GS or prim assembly, so enable prim assembly if a vertex shader ever uses viewport index. This fixes: piglit arb_viewport_array-render-viewport-2 KHR-GLES31.core.viewport_array.draw_to_single_layer_with_multiple_viewports,Fail KHR-GLES31.core.viewport_array.draw_mulitple_viewports_with_single_invocation,Fail KHR-GLES31.core.viewport_array.draw_multiple_layers,Fail KHR-GLES31.core.viewport_array.depth_range,Fail Reviewed-by: Roland Scheidegger <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5489>
* CI: reduce bandwidth for git pullBenjamin Tissoires2020-07-031-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Over the last 7 days, git pulls represented a total of 1.7 TB. On those 1.7 TB, we can see: - ~300 GB for the CI farm on hetzner - ~730 GB for the CI farm on packet.net - ~680 GB for the rest of the world We can not really change the rest of the world*, but we can certainly reduce the egress costs towards our CI farms. Right now, the gitlab runners are not doing a good job at caching the git trees for the various jobs we make, and we end up with a lot of cache-misses. A typical pipeline ends up with a good 2.8GB of git pull data. (a compressed archive of the mesa folder accounts for 280MB) In this patch, we implemented what was suggested in https://gitlab.com/gitlab-org/gitlab/-/issues/215591#note_334642576 - we host a brand new MinIO server on packet - jobs can upload files on 2 locations: * git-cache/<namespace>/<project>/<branch-name>.tar.gz * artifacts/<namespace>/<project>/<pipeline-id>/ - the authorization is handled by gitlab with short tokens valid only for the time of the job is running - whenever a job runs, the runner are configured to execute (eval) $CI_PRE_CLONE_SCRIPT - this variable is set globally to download the current cache from the MinIO packet server, unpack it and replace the possibly out of date cache found on the runner - then git fetch is run by the runner, and only the delta between the upstream tree and the local tree gets pulled. We can rebuild the git cache in a schedule job (once a day seems sufficient), and then we can stop the cache miss entirely. First results showed that instead of pulling 280MB of data in my fork, I got a pull of only 250KB. That should help us. * arguably, there are other farms in the rest of the world, so hopefully we can change those too. Reviewed-by: Michel Dänzer <[email protected]> Reviewed-by: Peter Hutterer <[email protected]> Signed-off-by: Benjamin Tissoires <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5428>
* ci: Disable pixmark-piano trace on a630 due to GPU hangs.Eric Anholt2020-07-021-6/+7
| | | | | | | | | | I haven't reproduced it with just this trace in a loop locally, but it's blocked some CI jobs with hangs where a few tiles didn't get rendered. For example: https://gitlab.freedesktop.org/mesa/mesa/-/jobs/3314062 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5667>
* radv: fix wide lines with multisample enabledSamuel Pitoiset2020-07-027-42/+0
| | | | | | | | | | | | | | | When set, EXPAND_LINE_WIDTH expands the line width by 1/cos(a), where a is the minimum angle from horizontal or vertical. This seems required by OpenGL line rasterization but not by Vulkan. Similar to what AMDVLK and AMDGPU-PRO do for AA wide lines. This fixes dEQP-VK.rasterization.interpolation_multisample_*_bit.*lines_wide. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5698>
* ci: fixup tests after all indirect images fixes.Dave Airlie2020-07-022-20/+4
| | | | | Reviewed-by: Roland Scheidegger <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3778>
* llvmpipe: enable ARB_gpu_shader5Dave Airlie2020-07-025-5375/+218
| | | | | | | | | | | This isn't fully free of bugs, but it's good to get CI working, so fixing those bugs doesn't break anything. The main buggy areas are missing indirect texture size, and transform feedback geometry streams. Reviewed-by: Roland Scheidegger <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3778>
* CI: Re-enable Panfrost T860 jobsDaniel Stone2020-06-301-2/+2
| | | | | | | | The lab is back online. This reverts commit 34db50558d9a6dca89218f74c4418cdf0b0acbcb. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5694>
* CI: Temporarily disable Panfrost T860 jobsDaniel Stone2020-06-301-2/+2
| | | | | | | | | | | Phase two of our network reconfiguration is happening this afternoon, so we need to drop our RK3399 out for a little while. (Part of this reconfiguration is to shard our devices across networks and racks, so losing one part of our infrastructure doesn't mean losing any particular device type.) Signed-off-by: Daniel Stone <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5689>
* CI: Correct build-directory path on Windows, and keep itDaniel Stone2020-06-301-2/+1
| | | | | | | | | | | | | | | | | | | | Build job artifacts capture Meson logs from _build, so we can analyse what Meson did during configuration, as well as the full output of any test jobs. We were previously calling our build directory 'build', which meant it wouldn't have been captured by the artifacts, and we were also deleting it to make really sure there was no chance of logs getting captured either. Rename the build directory to '_build' to match the others, and don't delete it either, so we can keep our configure/test logs. Signed-off-by: Daniel Stone <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5689>
* CI: Try shared libraries on WindowsDaniel Stone2020-06-301-1/+1
| | | | | | | | | | | This might make linking a bit less prone to OOM when trying to pull in LLVM. Signed-off-by: Daniel Stone <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5689>
* CI: Enable assertions on WindowsDaniel Stone2020-06-301-1/+1
| | | | | | | | | | | Getting assertion failures is helpful to have, even if we are doing a release build. Signed-off-by: Daniel Stone <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5689>
* ci/baremetal: Bump the kernel to a recent drm-msm-fixes for msm semaphores.Eric Anholt2020-06-263-2/+2
| | | | | | We need this to test the new VK feature we're about to land. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2769>
* ci/bare-metal: Fail early when we get stuck powering on a cheza.Eric Anholt2020-06-261-1/+2
| | | | | | | I think I've seen about 3 of this error total so far, but waiting 60 minutes for the scripts to give up wastes marge time. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5651>
* gitlab-ci: attach the Fossilize log file as artifact on failureSamuel Pitoiset2020-06-262-3/+8
| | | | | | | | It might be help. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5627>
* gitlab-ci: append Fossilize stdout/stderr to a file to reduce spamSamuel Pitoiset2020-06-261-1/+6
| | | | | | | | | Fossilize is really verbose and it's easy to reach the buffer limit in GitLab CI. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5627>
* gitlab-ci: set the number of Fossilize threads to 4Samuel Pitoiset2020-06-261-1/+1
| | | | | | | | | The shared runners are set up for concurrent jobs ~= CPUs / 4 (x86) or 8 (ARM). Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5627>
* freedreno/a6xx: Add support for polygon fill mode (as long as front==back).Eric Anholt2020-06-251-3/+1
| | | | | | | | Unlike a4xx, we don't seem to have separate back vs front fields any more. Still, this improves desktop GL conformance (and one of the traces in traces-db). Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5650>
* ci: Add a freedreno a630 tracie run.Eric Anholt2020-06-254-2/+277
| | | | | | | | | This job runs in about one minute on the current set of traces, and has successfully revealed some bugs in our current rendering. Takes about 7 minutes currently. Reviewed-by: Tomeu Vizoso <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5433>
* ci/tracie: Fix apitrace dump using "less" which isn't in the ARM rootfs.Eric Anholt2020-06-251-0/+3
| | | | | | | | You would get no output during the "find the last frame" step of the trace replay. Reviewed-by: Tomeu Vizoso <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5433>
* ci/tracie: Print the path if the trace isn't found.Eric Anholt2020-06-251-1/+3
| | | | | | | I hit this a few times while setting up CI. Reviewed-by: Tomeu Vizoso <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5433>
* ci: Include trace replay support in ARM rootfses.Rohan Garg2020-06-258-10/+102
| | | | | | | | | | | | | | Builds the renderdoc and apitrace programs so we can replay GL traces on DUTs. [Separated out from 5472's commit that also enabled the jobs in LAVA, dropped unnecessary python packages from arm_build, fixed up arm64_test build, traces-db in baremetal, new commit message by anholt] Signed-off-by: Rohan Garg <[email protected]> Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5433>
* ci/bare-metal: Don't include dev packages in arm*test.Eric Anholt2020-06-251-1/+6
| | | | | | | We just need these to build our rootfs, clean them out afterwards. Reviewed-by: Tomeu Vizoso <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5433>
* ci/bare-metal: Skip setting of unset variables at startup.Eric Anholt2020-06-251-1/+3
| | | | | | | | It's silly to be setting (and logging the setting of!) all the env vars we *didn't* set in a job. Reviewed-by: Tomeu Vizoso <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5433>
* ci: Move ARM rootfses to stableTomeu Vizoso2020-06-251-1/+1
| | | | | | | | | | | | | We build in Debian buster but were currently testing in bullseye-based ramdisks. This has started being a problem since Python 3.7 was removed from bullseye. [ Also bumped arm_test containers, by anholt ] Signed-off-by: Tomeu Vizoso <[email protected]> Acked-by: Alyssa Rosenzweig <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5433>
* ci: Don't call renderdoc's ReplayController.Shutdown()Tomeu Vizoso2020-06-251-1/+0
| | | | | | | | | | If we do, Renderdoc will call eglDestroyContext twice, causing crashes within Mesa. Signed-off-by: Tomeu Vizoso <[email protected]> Acked-by: Alyssa Rosenzweig <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5433>
* gitlab-ci: add a list of expected failures for RADV/ACO on NAVI14Samuel Pitoiset2020-06-251-0/+21
| | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5647>
* radv: lower 64-bit dfloor on GFX6 for fixing precision issuesSamuel Pitoiset2020-06-251-4/+0
| | | | | | | | | | GFX6 doesn't support v_floor_f64 and the precision of v_fract_f64 which is used to implement 64-bit floor is less than what Vulkan requires. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Daniel Schürmann <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5609>
* radv: lower 64-bit drcp/dsqrt/drsq for fixing precision issuesSamuel Pitoiset2020-06-256-162/+0
| | | | | | | | | | | | | | The hardware precision of v_rcp_f64, v_sqrt_f64 and v_rsq_f64 is less than what Vulkan requires. This lowers using the Goldschmidt's algorithm to improve precision. Fixes dEQP-VK.glsl.builtin.precision_double.* on both compiler backends. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Daniel Schürmann <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5609>
* gitlab-ci: add parallel-rdp fossilsSamuel Pitoiset2020-06-251-1/+5
| | | | | | | | | | | | | https://github.com/Themaister/parallel-rdp These fossils contain very large and complex shaders. The small_*.foz files use 8/16-bit arithmetic. Only RADV uses Fossilize. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Andres Gomez <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5542>
* turnip: disable early_z for VK_FORMAT_S8_UINTJonathan Marek2020-06-251-1/+0
| | | | | | | | | | This format doesn't have depth, and apparently having earlyz enabled can cause issues. Fixes at least these tests: dEQP-VK.renderpass.suballocation.multisample.s8_uint.samples_* Signed-off-by: Jonathan Marek <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5586>
* gitlab-ci: update the list of expected failures for PitcairnSamuel Pitoiset2020-06-241-34/+0
| | | | | | | | | These tests have been fixed as part of https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5207. Signed-off-by: Samuel Pitoiset <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5625>
* gitlab-ci: update the list of expected CTS failures for RADV/ACOSamuel Pitoiset2020-06-246-24/+527
| | | | | | | Based on Vulkan CTS 1.2.3. Signed-off-by: Samuel Pitoiset <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5593>
* CI: Disable Panfrost Mali-T820, Lima Mali-400 and Lima Mali-450 jobsKenneth Graunke2020-06-231-3/+3
| | | | | | | The runners appear to be unhealthy. Disable for now so people can merge patches for other drivers in the meantime. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5619>
* ci: remove some freedreno a6xx skipsRob Clark2020-06-231-46/+0
| | | | | | | | | These don't seem to be flakey anymore. I did still see a flake with dEQP-GLES31.functional.layout_binding.ssbo.fragment_binding_array so I put that one back in. Signed-off-by: Rob Clark <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5577>
* gitlab-ci: Update CTS runnerTomeu Vizoso2020-06-231-1/+1
| | | | | | | | | We need a newer version to be able to successfully run the OpenGL suites in dEQP. Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5494>