aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci
Commit message (Collapse)AuthorAgeFilesLines
* ci/bare-metal: Terminate the job with an error on kernel panic.Eric Anholt2020-06-122-2/+6
| | | | | | | | | Otherwise, we'll time out after 60 minutes of waiting for the run to complete. Reviewed-by: Christian Gmeiner <[email protected]> Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2651 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5393>
* ci/bare-metal: Stop fetching the git tree.Eric Anholt2020-06-126-9/+18
| | | | | | | | | | | | | | Like for LAVA, make the tradeoff of moving the test scripts and data (55k) into the artifacts in order to make the per-build jobs not have to pull down the git tree (hundreds of MB when you don't hit a cached container for your specific user, which I see happen multiple times a day in my CI runs). To do this, we have to be a bit more careful in some places about our working directory potentially being dirty. Reviewed-by: Christian Gmeiner <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5393>
* ci/bare-metal: Use the deqp-runner bits straight out of the artifacts.Eric Anholt2020-06-122-12/+2
| | | | | | | | | | | | We've already uploaded and downloaded them from fd.o and put them in the rootfs, so we can clean up the extra prep work. Our test job now extends from .test so that the artifacts' install dir with all the scripts is extracted. This required moving the dependency on meson-testing to the x86 test-gl/test-vk job blocks. Reviewed-by: Christian Gmeiner <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5393>
* ci/bare-metal: Make which test to run configurable.Eric Anholt2020-06-122-1/+2
| | | | | | | I'll use this to run tracie in a new job I'm working on. Reviewed-by: Christian Gmeiner <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5393>
* ci/bare-metal: Reword the final output of the init script on the board.Eric Anholt2020-06-123-6/+6
| | | | | | | I'm going to be adding tracie, which isn't deqp. Reviewed-by: Christian Gmeiner <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5393>
* ci: Disable some flaky tests on turnip.Eric Anholt2020-06-121-0/+18
| | | | | | | These have appeared more than once in the flake reporting channel, and a couple of them have spuriously failed marge-bot merges. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5429>
* ci: Fix weird filesystem globs appearing in failed test .qpa files.Eric Anholt2020-06-121-3/+3
| | | | | | | | | | | | | | | When you get a filure and go looking in the results, you'll find weird stuff like this in the XML: Reference images fill undefined pixels with 3x3 grid pattern. Attachment 0 (p' = p bin boot builds dEQP-VK.renderpass.suballocation.attachment_allocation.grow_shrink.89.qpa deqp dev etc home init install lib media mnt proc results root run sbin set-job-env-vars.sh sys tmp usr var (1, 1, 1, 1) + (-1, -1, -1, 1)) because we were not quoting the line and 'p *' was getting expanded. Reviewed-by: Rob Clark <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5435>
* turnip: add layered 3D path clear for CmdClearAttachmentsJonathan Marek2020-06-122-37/+0
| | | | | | | | | | | | | | | This fixes cases where the 3D path is used with layered rendering. Fixes dEQP-VK.renderpass.suballocation.multisample_resolve.layers* failures Note the blob's 3D fallback path behaves differently, and uses the framebuffer information to clear each layer individually (changing the MRT state each time). But that's not possible in all cases, and the blob fails to clear properly in dEQP-VK.geometry.layered.*.secondary_cmd_buffer cases. So this clear path is not based on the blob's behavior. Signed-off-by: Jonathan Marek <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5426>
* gallivm/conv: enable conversion min code. (v2)Dave Airlie2020-06-112-61/+2
| | | | | | | | | | | | I'm not sure why this code was if (0), but if (1) for it fixes dEQP-GLES31.functional.texture.border_clamp.range_clamp.nearest_float_color This test expects +inf to get mapped to 255 and -inf to 0, both values were ending up at 0. v2: also enable in the SSE paths Reviewed-by: Roland Scheidegger <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5379>
* gallivm/format: convert unsigned values to float properly.Dave Airlie2020-06-111-5/+0
| | | | | | | | | | | | This fixes: dEQP-GLES31.functional.draw_indirect.random.2 which ends up with 3x32-bit USCALED values going down this path some of which have the top bit set, and end up converted to signed float instead of unsigned float values. Reviewed-by: Roland Scheidegger <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5379>
* gallivm/nir: add group barrier supportDave Airlie2020-06-111-2/+0
| | | | | | | | Fixes crash in dEQP-GLES31.functional.synchronization.inter_invocation.image_write_read Reviewed-by: Roland Scheidegger <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5379>
* ci: Leave a note as to what might be going on with a test.Eric Anholt2020-06-101-0/+2
| | | | | | | | | | dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.clip_neg_x_neg_z_and_pos_x_pos_z_and_neg_x_neg_y_pos_z fails pretty strangely (given that we're passing everything else) and there's an old VK-GL-CTS bug open about this test, and it's suspicious that all the ARM drivers seem to have trouble with it. I tried dropping to -O0 on guilding that file in the CTS and it didn't help, though. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5419>
* freedreno/a6xx: Fix clip_halfz support.Eric Anholt2020-06-101-1/+0
| | | | | | Same bit as on other gens, apparently it just got missed on this one. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5419>
* llvmpipe: add infrastructure for disk cache supportDave Airlie2020-06-112-10/+5
| | | | | | | | | | This hooks up the gallium API and adds the APIs needed for shader stages to search and add things to the cache. It also adds cache stats debug printing. Reviewed-by: Roland Scheidegger <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5049>
* pan/mdg: Add new depth store loweringIcecream952020-06-101-17/+0
| | | | | | | | | | | | | This uses the new nir_intrinsic_store_combined_output_pan intrinsic, which can write depth, stencil and color in a single instruction. If there are no color writes, the "depth RT" is written to. Fixes the dEQP GLES3 depth write tests, as well as the piglit tests fragdepth_gles2, glsl-1.10-fragdepth and when modified to not rely on depth/stencil reload, glsl-fs-shader-stencil-export. Reviewed-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5065>
* turnip: Expose robustBufferAccess.Eric Anholt2020-06-091-8/+0
| | | | | | | | It is a required device feature, and all enabled tests in dEQP-VK.robustness.* pass. Reviewed-by: Jonathan Marek <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5266>
* ci: Use rsync for initial nfsroot population on cheza.Eric Anholt2020-06-094-6/+7
| | | | | | | | | | rm -rf and then copying over all the contents again is a waste of time when we'll almost always be using the same rootfs. Saves about 30s of job time. Closes: #3065 Reviewed-by: Christian Gmeiner <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5266>
* ci: Enable pre-merge fractional vulkan CTS runs on the turnip driver.Eric Anholt2020-06-093-0/+104
| | | | | | | | | Test 1/50th of the CTS on a630 pre-merge, since we've got hardware that can do it and infrastructure that should handle instability with a less-mature driver. Reviewed-by: Christian Gmeiner <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5266>
* ci: Build the full VK CTS for baremetal testing.Eric Anholt2020-06-095-8/+38
| | | | | | | | | | | | I'm going to enable the VK CTS on cheza, so swap the deqp we have in the container. build-deqp-vk already included GLES deqp binaries and data, and is a newer branch than the last opengl-es-cts tag. This brings a few things back over from build-deqp-gl for testlog extraction, and copyes out the GLES mustpass lists. Reviewed-by: Christian Gmeiner <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5266>
* ci: Disable shader cache on vulkan CI runs.Eric Anholt2020-06-091-0/+5
| | | | | | | | | | | | I found it to be flaky in freedreno CI, and tracked down the issue to parallel-deqp-runner needing to manage the shader cache (https://gitlab.freedesktop.org/mesa/parallel-deqp-runner/-/merge_requests/13). Until we fix that in the runner, disable it. This should matter less now that we prebuild the SPIRV, though. Reviewed-by: Bas Nieuwenhuizen <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5266>
* ci: Bump up to the current version of the VK CTS.Eric Anholt2020-06-091-2/+7
| | | | | | | | For enabling VK CTS on freedreno, I've heard there were important stability fixes in the CTS recently. Reviewed-by: Samuel Pitoiset <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5266>
* ci: use separate docker images for baremetal buildsChristian Gmeiner2020-06-095-168/+44
| | | | | | | | | Using arm_test-base as a separate base layer as well for storage & network bandwidth efficiency. Signed-off-by: Christian Gmeiner <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5381>
* ci: add arm_test-base docker imageChristian Gmeiner2020-06-093-59/+167
| | | | | | | | Similar to x86_build-base. Signed-off-by: Christian Gmeiner <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5381>
* nir/spirv/glsl450: increase asin(x) precisionArcady Goldmints-Orlov2020-06-086-36/+0
| | | | | | | | | | | | | | | | | | asin(x) is now implemented using a piecewise approximation, which improves the precision for |x| < 0.5 Previously, we were using a polynomial approximation for both the asin() and acos() functions. Unfortunately, for asin(), this polynomial does not have enough precision to satisfy the Vulkan CTS requiremenents, which define the asin() precision based on the precision of atan2(x, sqrt(1.0 - x*x)). The piecewise approximation gives the needed precision in the problematic range. v2: Skip the piecewise approximation for acos Closes: #1843 Acked-by: Francisco Jerez <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3809>
* pan/midgard: Use a signed value for checking inline constantsIcecream952020-06-051-8/+0
| | | | | | | | Inline constants are sign extended, so we should use a int16_t instead of an unsigned type. Reviewed-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5351>
* ci: add U-Boot specific fetch stringsChristian Gmeiner2020-06-051-1/+5
| | | | | | | | | | | | | U-Boot's fastboot over udp generates the following output: Listening for fastboot command on x.y.z.w Also add a general 'data abort' error string seen with an too old U-Boot version: https://github.com/u-boot/u-boot/commit/95712af Signed-off-by: Christian Gmeiner <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5258>
* ci: extend expect-output.shChristian Gmeiner2020-06-053-6/+27
| | | | | | | | | | | We need to support different fastboot fetch strings for different bootloader solutions. Lets extend expect-output.sh to support multiple fetch strings (-f) and add support for error catch strings (-e) to stop the CI run early. Signed-off-by: Christian Gmeiner <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5258>
* ci: bump virglrenderer to latest versionDave Airlie2020-06-041-1/+1
| | | | | | | Need this for upcoming GL 4.0 llvmpipe support. Reviewed-by: Elie Tournier <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5323>
* llvmpipe: move coroutines out of noopt caseDave Airlie2020-06-041-428/+0
| | | | | | | | | | | | | | | | | the virgl CI code was using the noopt path and crashing with a wierd can't select llvm.coro.subfn.addr error, turns out we have to call the cleanup pass no matter what. This enable a lot more virgl gles31 passes, but we have to disable tessellation shaders as now they executed, they crash due to missing OES_gpu_shader5, I should try and reenable them when llvmpipe is further along Fixes: d32690b43c91d ("gallivm: add coroutine pass manager support") Reviewed-by: Roland Scheidegger <[email protected]> Acked-by: Elie Tournier <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5320>
* gitlab-ci: bump piglit checkout commitTimothy Arceri2020-06-034-21/+618
| | | | Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4797>
* Revert "CI: Disable Panfrost T720/T760"Daniel Stone2020-06-021-2/+2
| | | | | | | | | | Switches have been rewired, VLANs have been reconfigured, network elements with non-functional remote management have been removed from racks and thrown on desks in anger. This reverts commit ae6e1aee7d1bd49ae494b8a25ca33d092a3a145a. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5301>
* ci: bare-metal: make it possible to use a script for serialChristian Gmeiner2020-06-021-4/+12
| | | | | | | | Makes it possible to use e.g. a ser2net script to talk to the devices. Signed-off-by: Christian Gmeiner <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5268>
* nir: Fold f2f16(b2f32(x)) to b2f16(x)Alyssa Rosenzweig2020-06-021-1/+0
| | | | | | | | | | | | | By definition. This reduces register pressure on freedreno so that the noubo expected failure goes away. Signed-off-by: Alyssa Rosenzweig <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Rob Clark <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5002>
* CI: Disable Panfrost T720/T760Daniel Stone2020-06-021-2/+2
| | | | | | | | | | | | | | We're reconfiguring our Cambridge office lab networking and physical setup for more scalability amongst other things. We can still run jobs on one RK3399 at the peak outage, but we'll lose the T7x0 this morning, so disable it until it's all back. T820 is still disabled due to an unrelated BayLibre internal outage. Signed-off-by: Daniel Stone <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5296>
* gitlab-ci: Use separate docker images for cross buildsMichel Dänzer2020-06-026-43/+79
| | | | | | | | | | | Using x86_build-base as a separate base layer as well for storage & network bandwidth efficiency. Using separate images allows dropping the workarounds from the cross build job scripts. Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5296>
* gitlab-ci: Add x86_build-base docker imageMichel Dänzer2020-06-022-122/+143
| | | | | | | Similar to x86_test-base. Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5296>
* gitlab-ci: Move meson back to x86_test-gl/vk ephemeral packages listsMichel Dänzer2020-06-023-4/+3
| | | | | | | | | | | | | | And python3-distutils back to x86_test-gl's list. These are not used for building Mesa, only for other components used in test jobs. This partially reverts commit c1a290bdd57536d6afcff6a02f1512fba7328729 "meson: Bump required version to 0.52.0". Reviewed-by: Erik Faye-Lund <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5296>
* gitlab-ci: Stop using packages from Debian testingMichel Dänzer2020-06-025-63/+14
| | | | | | | | Not needed anymore (for now?). Reviewed-by: Erik Faye-Lund <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5296>
* gitlab-ci: Use Debian 10 wine-development packagesMichel Dänzer2020-06-021-4/+4
| | | | | | | | They're version 4.2, new enough for the MinGW job tests to pass. Reviewed-by: Erik Faye-Lund <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5296>
* gitlab-ci: Move LLVM/clang 6/7 packages to the x86_build_old imageMichel Dänzer2020-06-022-4/+4
| | | | | | | | | | They're available in Debian 9 (stretch) as well. This will avoid conflicts with packages from Debian testing. Reviewed-by: Erik Faye-Lund <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5296>
* meson: Bump required version to 0.52.0Dylan Baker2020-06-017-10/+21
| | | | | | | | | | | This matches what other graphics space projects require now, and allows us to simplify a number of cases, as well as make use of new features in meson. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2737 Acked-by: Matt Turner <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4740>
* panfrost: Update fails listAlyssa Rosenzweig2020-06-011-204/+0
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5265>
* panfrost: Use internal_format throughoutAlyssa Rosenzweig2020-06-011-49/+0
| | | | | | | Fixes R32F_S8 texturing. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5265>
* panfrost: Check for large tilebuffer requirementsAlyssa Rosenzweig2020-06-011-249/+0
| | | | | | | | Fixes the rest of dEQP-GLES3.functional.fragment_out.array.uint.*, this situation occurs with MRT and large pixels. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5265>
* ci: Rename x86_cross_arm_test to just arm_test.Eric Anholt2020-05-291-0/+0
| | | | | | | | | This gets us back to the behavior we used to have for freedreno: clicking play on arm_test gets you testing of the ARM platforms that aren't under arm-build (the LAVA runners). Reviewed-by: Kristian H. Kristensen <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5247>
* ci: Don't build an arm_test container now that the last user is gone.Eric Anholt2020-05-291-72/+0
| | | | | | | db410c and cheza used to use it, and now both are on baremetal. Reviewed-by: Kristian H. Kristensen <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5247>
* ci: Add scripts for controlling bare-metal chezas.Eric Anholt2020-05-295-73/+232
| | | | | | | | | | | | This will let us: - deploy kernels for testing code depending on new kernel featuers - Ensure a pristine state in the HW before starting our tests - Avoid disk rot on the chezas taking them out (we'd lost 3/9 in a few months). Reviewed-by: Kristian H. Kristensen <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5247>
* ci: Build a cheza kernel.Eric Anholt2020-05-293-4/+48
| | | | | | | | | | | | | | | | | | This is a set of kernel options I've come up with mostly cribbing from chrome os's kernel config snippet. We also build an lzma kernel, as uncompressed kernel is big but lzma is the only compression supported by the bootloader. With that image, we have to pack it into a FIT formatted image+dtb blob. CONFIG_SUNRPC_DEBUG is added so that you can set "nfsrootdebug" to figure out what's going wrong with your nfs mount (mine were "both the tcp and nfsvers options were required, and don't try to use 'default' as the root path to defer to DHCP's answer because otherwise you get /tftpboot/default, just use an empty root path which doesn't prepend /tftpboot.") Reviewed-by: Kristian H. Kristensen <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5247>
* ci: Disable the firmware loader user helper option in arm64 kernels.Eric Anholt2020-05-291-0/+1
| | | | | | | | We won't have a user helper, so don't block for 60 seconds for it to show up. Speeds up debug of new kernel builds. Reviewed-by: Kristian H. Kristensen <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5247>
* ci: Quick exit qpa extraction for non-matching qpas.Eric Anholt2020-05-281-2/+8
| | | | | | | | | | | | | | When you're bringing up a new driver in CI with significant number of failures (or when a CI run breaks a driver), the QPA extraction can easily take the whole job timeout as we go about processing each QPA (100 of them in my early VK CI fails) per unexpected result we're saving (50), which involves reading and each line of the file in shell. By quickly filtering out the QPA files not including our test, we can save all that shell overhead, bringing QPA extract time down to a couple of minutes. Reviewed-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Rob Clark <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5225>