aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci
Commit message (Collapse)AuthorAgeFilesLines
* gitlab-ci: Run all of GLES3 tests for PanfrostTomeu Vizoso2020-07-163-6/+4
| | | | | | | | | | | We have enough capacity now and Panfrost should be very near to GLES3 compliance. v2: Update fails list (Alyssa) Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5932>
* panfrost: Report CAPs more honestlyAlyssa Rosenzweig2020-07-162-2/+3
| | | | | | | | | | We're overreporting on some chips and underreporting on others. Let's be more honest. This exposes OpenGL ES 3.0 on Mali T760 through T860. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5858>
* panfrost: Implement Z32F_S8 blitsAlyssa Rosenzweig2020-07-161-3/+0
| | | | | | | | | | Requires the ability to texture the stencil-only portion, and then u_blitter kicks in for the rest. v2: Fix dEQP-GLES31.functional.stencil_texturing.* Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5858>
* panfrost: Fix sRGB clear colour packingAlyssa Rosenzweig2020-07-161-3/+0
| | | | | | | | It should be sRGB transformed first, which the generic path handles but the RGBA8 special path does not. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5858>
* panfrost: Set PIPE_CAP_MIXED_COLORBUFFER_FORMATSAlyssa Rosenzweig2020-07-161-20/+0
| | | | | | | Missed that this is needed, fixes fbo.completeness.* Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5858>
* panfrost: Use Midgard-specific reloadsAlyssa Rosenzweig2020-07-164-246/+0
| | | | | | | | | | | | | | | | | | | | | | | | | v2: Be more explicit about sampler types. Prefer the term "load" to "resolve" to match VK convention. Generate shaders for MRT 8x. Blit shader generation adds about 6ms to startup cost. We could cache thes. shaders to disk if we needed to (or indeed, ship binaries). v3: Fallback on u_blitter on Bifrost so Bifrost continues to work. KHR_partial_update support is mostly no-oped on Bifrost now, but that's okay for now - compositors are still functional. v4: Specialize on multisample state as well to enable reloads of MSAA textures. This requires 2x the shader variants, so I assume we're up to 12ms startup cost for generation. Annoying. Also fix interactions with depth- or stencil-only clears of combined depth-stencil surfaces. v5: Cache to the device (screen) instead of the context, reducing duplicated work in apps that create many contexts (e.g. Chromium) v6: Squash in KHR_partial_update cleanup to fix intermediate regressions on a few tests. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5824>
* ci: bump piglit checkout for dsa testsDave Airlie2020-07-164-8/+8
| | | | Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5896>
* llvmpipe/format: fix snorm conversionDave Airlie2020-07-163-8/+2
| | | | | | | | | | | This fixes: GTF-GL45.gtf33.GL3Tests.vertex_type_2_10_10_10_rev.vertex_type_2_10_10_10_rev_conversion and piglit spec/arb_texture_view/rendering-formats/clear gl_rgba8_snorm as gl_r32f Reviewed-by: Roland Scheidegger <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5820>
* gallivm/sample: always square rho before fast log2Dave Airlie2020-07-162-4/+0
| | | | | | | | | | | | | | | The fast log2 works better if rho is squared, i.e. fast_log2(sqrt(2)) == 0.4 0.5 * fast_log2(2) == 0.5 so just square rho, and always divide by 2 afterwards. Fixes: GTF-GL45.gtf30.GL3Tests.sgis_texture_lod.sgis_texture_lod_basic_lod_selection Reviewed-by: Roland Scheidegger <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5820>
* ci: bump libdrm to 2.4.102Karol Herbst2020-07-143-9/+9
| | | | | | | | | Since version 2.4.101 there are only xz archives hence the bz2 to xz change. Signed-off-by: Karol Herbst <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5906>
* ci: need to install wget in order to download libdrmKarol Herbst2020-07-141-1/+2
| | | | | | Fixes: dcd171f5e9b ("gitlab-ci: More stable URL for kernel and ramdisk artifacts, for LAVA") Signed-off-by: Karol Herbst <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5906>
* Revert https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4580Michel Dänzer2020-07-143-9/+9
| | | | | | | | | | | It broke the CI pipeline on master: https://gitlab.freedesktop.org/mesa/mesa/-/jobs/3604314 https://gitlab.freedesktop.org/mesa/mesa/-/jobs/3604315 Revert for now, to allow other MRs to be merged. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5905>
* ci: bump libdrm to 2.4.102Karol Herbst2020-07-143-9/+9
| | | | | | | | | Since version 2.4.101 there are only xz archives hence the bz2 to xz change. Signed-off-by: Karol Herbst <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4580>
* gitlab-ci: Drop dependencies:Michel Dänzer2020-07-141-4/+0
| | | | | | | | | | | Artifacts from jobs listed in needs: are downloaded by default, so there's no need to list them in dependencies: as well (in fact, https://docs.gitlab.com/ce/ci/yaml/#artifact-downloads-with-needs says using dependencies: together with needs: is invalid, so we might have been getting lucky...). Reviewed-by: Tomeu Vizoso <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5845>
* freedreno/a6xx: Don't blit with R2D_RAWKristian H. Kristensen2020-07-142-11/+1
| | | | | | | | | | | Map all formats to a valid ifmt. FMT6_10_10_10_2_UNORM_DEST still doesn't work on the blitter so keep that one on the u_blitter path. Fixes dEQP-GLES31.functional.draw_buffers_indexed.random.max_implementation_draw_buffers.* with FD_MESA_DEBUG=nogmem. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5717>
* 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>