xref: /openbmc/linux/drivers/gpu/drm/ci/test.yml (revision b181f7029bd71238ac2754ce7052dffd69432085)
10119c894STomeu Vizoso.test-rules:
20119c894STomeu Vizoso  rules:
30119c894STomeu Vizoso    - if: '$FD_FARM == "offline" && $RUNNER_TAG =~ /^google-freedreno-/'
40119c894STomeu Vizoso      when: never
50119c894STomeu Vizoso    - if: '$COLLABORA_FARM == "offline" && $RUNNER_TAG =~ /^mesa-ci-x86-64-lava-/'
60119c894STomeu Vizoso      when: never
70119c894STomeu Vizoso    - !reference [.no_scheduled_pipelines-rules, rules]
80119c894STomeu Vizoso    - when: on_success
90119c894STomeu Vizoso
100119c894STomeu Vizoso.lava-test:
110119c894STomeu Vizoso  extends:
120119c894STomeu Vizoso    - .test-rules
130119c894STomeu Vizoso  script:
140119c894STomeu Vizoso    # Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY
150119c894STomeu Vizoso    - rm -rf install
160119c894STomeu Vizoso    - tar -xf artifacts/install.tar
170119c894STomeu Vizoso    - mv install/* artifacts/.
180119c894STomeu Vizoso    # Override it with our lava-submit.sh script
190119c894STomeu Vizoso    - ./artifacts/lava-submit.sh
200119c894STomeu Vizoso
210119c894STomeu Vizoso.lava-igt:arm32:
220119c894STomeu Vizoso  extends:
230119c894STomeu Vizoso    - .lava-test:arm32
240119c894STomeu Vizoso  variables:
250119c894STomeu Vizoso    HWCI_TEST_SCRIPT: "/install/igt_runner.sh"
260119c894STomeu Vizoso    ARCH: "armhf"
270119c894STomeu Vizoso  dependencies:
280119c894STomeu Vizoso    - testing:arm32
290119c894STomeu Vizoso  needs:
300119c894STomeu Vizoso    - alpine/x86_64_lava_ssh_client
310119c894STomeu Vizoso    - kernel+rootfs_arm32
320119c894STomeu Vizoso    - debian/x86_64_build
330119c894STomeu Vizoso    - testing:arm32
340119c894STomeu Vizoso    - igt:arm32
350119c894STomeu Vizoso
360119c894STomeu Vizoso.lava-igt:arm64:
370119c894STomeu Vizoso  extends:
380119c894STomeu Vizoso    - .lava-test:arm64
390119c894STomeu Vizoso  variables:
400119c894STomeu Vizoso    HWCI_TEST_SCRIPT: "/install/igt_runner.sh"
410119c894STomeu Vizoso    ARCH: "arm64"
420119c894STomeu Vizoso  dependencies:
430119c894STomeu Vizoso    - testing:arm64
440119c894STomeu Vizoso  needs:
450119c894STomeu Vizoso    - alpine/x86_64_lava_ssh_client
460119c894STomeu Vizoso    - kernel+rootfs_arm64
470119c894STomeu Vizoso    - debian/x86_64_build
480119c894STomeu Vizoso    - testing:arm64
490119c894STomeu Vizoso    - igt:arm64
500119c894STomeu Vizoso
510119c894STomeu Vizoso.lava-igt:x86_64:
520119c894STomeu Vizoso  extends:
530119c894STomeu Vizoso    - .lava-test:x86_64
540119c894STomeu Vizoso  variables:
550119c894STomeu Vizoso    HWCI_TEST_SCRIPT: "/install/igt_runner.sh"
560119c894STomeu Vizoso    ARCH: "x86_64"
570119c894STomeu Vizoso  dependencies:
580119c894STomeu Vizoso    - testing:x86_64
590119c894STomeu Vizoso  needs:
600119c894STomeu Vizoso    - alpine/x86_64_lava_ssh_client
610119c894STomeu Vizoso    - kernel+rootfs_x86_64
620119c894STomeu Vizoso    - debian/x86_64_build
630119c894STomeu Vizoso    - testing:x86_64
640119c894STomeu Vizoso    - igt:x86_64
650119c894STomeu Vizoso
660119c894STomeu Vizoso.baremetal-igt-arm64:
670119c894STomeu Vizoso  extends:
680119c894STomeu Vizoso    - .baremetal-test-arm64
690119c894STomeu Vizoso    - .use-debian/arm64_test
700119c894STomeu Vizoso    - .test-rules
710119c894STomeu Vizoso  variables:
720119c894STomeu Vizoso    FDO_CI_CONCURRENT: 10
730119c894STomeu Vizoso    HWCI_TEST_SCRIPT: "/install/igt_runner.sh"
740119c894STomeu Vizoso    S3_ARTIFACT_NAME: "arm64/kernel-files"
750119c894STomeu Vizoso    BM_KERNEL: https://${PIPELINE_ARTIFACTS_BASE}/arm64/Image.gz
760119c894STomeu Vizoso    BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 $BM_KERNEL_EXTRA_ARGS root=/dev/nfs rw nfsrootdebug nfsroot=,tcp,nfsvers=4.2 init=/init $BM_KERNELARGS"
770119c894STomeu Vizoso  needs:
780119c894STomeu Vizoso    - debian/arm64_test
790119c894STomeu Vizoso    - job: testing:arm64
800119c894STomeu Vizoso      artifacts: false
810119c894STomeu Vizoso    - igt:arm64
820119c894STomeu Vizoso  tags:
830119c894STomeu Vizoso    - $RUNNER_TAG
840119c894STomeu Vizoso
850119c894STomeu Vizosomsm:sc7180:
860119c894STomeu Vizoso  extends:
870119c894STomeu Vizoso    - .lava-igt:arm64
880119c894STomeu Vizoso  stage: msm
89aa03f049SHelen Koike  parallel: 4
900119c894STomeu Vizoso  variables:
910119c894STomeu Vizoso    DRIVER_NAME: msm
920119c894STomeu Vizoso    DEVICE_TYPE: sc7180-trogdor-lazor-limozeen
930119c894STomeu Vizoso    DTB: sc7180-trogdor-lazor-limozeen-nots-r5
940119c894STomeu Vizoso    BOOT_METHOD: depthcharge
950119c894STomeu Vizoso    KERNEL_IMAGE_TYPE: ""
960119c894STomeu Vizoso    GPU_VERSION: sc7180
970119c894STomeu Vizoso    RUNNER_TAG: mesa-ci-x86-64-lava-sc7180-trogdor-lazor-limozeen
980119c894STomeu Vizoso
990119c894STomeu Vizosomsm:apq8016:
1000119c894STomeu Vizoso  extends:
1010119c894STomeu Vizoso    - .baremetal-igt-arm64
1020119c894STomeu Vizoso  stage: msm
1030119c894STomeu Vizoso  variables:
1040119c894STomeu Vizoso    DRIVER_NAME: msm
1050119c894STomeu Vizoso    BM_DTB: https://${PIPELINE_ARTIFACTS_BASE}/arm64/apq8016-sbc.dtb
1060119c894STomeu Vizoso    GPU_VERSION: apq8016
107fad13230SDmitry Baryshkov    # disabling unused clocks congests with the MDSS runtime PM trying to
108fad13230SDmitry Baryshkov    # disable those clocks and causes boot to fail.
109fad13230SDmitry Baryshkov    # Reproducer: DRM_MSM=y, DRM_I2C_ADV7511=m
110fad13230SDmitry Baryshkov    BM_KERNEL_EXTRA_ARGS: clk_ignore_unused
1110119c894STomeu Vizoso    RUNNER_TAG: google-freedreno-db410c
1120119c894STomeu Vizoso  script:
1130119c894STomeu Vizoso    - ./install/bare-metal/fastboot.sh
1140119c894STomeu Vizoso  rules:
1150119c894STomeu Vizoso    # TODO: current issue: it is not fiding the NFS root. Fix and remove this rule.
1160119c894STomeu Vizoso    - when: never
1170119c894STomeu Vizoso
1180119c894STomeu Vizosomsm:apq8096:
1190119c894STomeu Vizoso  extends:
1200119c894STomeu Vizoso    - .baremetal-igt-arm64
1210119c894STomeu Vizoso  stage: msm
1220119c894STomeu Vizoso  variables:
1230119c894STomeu Vizoso    DRIVER_NAME: msm
1240119c894STomeu Vizoso    BM_KERNEL_EXTRA_ARGS: maxcpus=2
1250119c894STomeu Vizoso    BM_DTB: https://${PIPELINE_ARTIFACTS_BASE}/arm64/apq8096-db820c.dtb
1260119c894STomeu Vizoso    GPU_VERSION: apq8096
1270119c894STomeu Vizoso    RUNNER_TAG: google-freedreno-db820c
1280119c894STomeu Vizoso  script:
1290119c894STomeu Vizoso    - ./install/bare-metal/fastboot.sh
1300119c894STomeu Vizoso
1310119c894STomeu Vizosomsm:sdm845:
1320119c894STomeu Vizoso  extends:
1330119c894STomeu Vizoso    - .baremetal-igt-arm64
1340119c894STomeu Vizoso  stage: msm
1350119c894STomeu Vizoso  parallel: 6
1360119c894STomeu Vizoso  variables:
1370119c894STomeu Vizoso    DRIVER_NAME: msm
1380119c894STomeu Vizoso    BM_KERNEL: https://${PIPELINE_ARTIFACTS_BASE}/arm64/cheza-kernel
1390119c894STomeu Vizoso    GPU_VERSION: sdm845
1400119c894STomeu Vizoso    RUNNER_TAG: google-freedreno-cheza
1410119c894STomeu Vizoso  script:
1420119c894STomeu Vizoso    - ./install/bare-metal/cros-servo.sh
1430119c894STomeu Vizoso
1440119c894STomeu Vizosorockchip:rk3288:
1450119c894STomeu Vizoso  extends:
1460119c894STomeu Vizoso    - .lava-igt:arm32
1470119c894STomeu Vizoso  stage: rockchip
1480119c894STomeu Vizoso  variables:
1490119c894STomeu Vizoso    DRIVER_NAME: rockchip
1500119c894STomeu Vizoso    DEVICE_TYPE: rk3288-veyron-jaq
1510119c894STomeu Vizoso    DTB: ${DEVICE_TYPE}
1520119c894STomeu Vizoso    BOOT_METHOD: depthcharge
1530119c894STomeu Vizoso    KERNEL_IMAGE_TYPE: "zimage"
1540119c894STomeu Vizoso    GPU_VERSION: rk3288
1550119c894STomeu Vizoso    RUNNER_TAG: mesa-ci-x86-64-lava-rk3288-veyron-jaq
1560119c894STomeu Vizoso
1570119c894STomeu Vizosorockchip:rk3399:
1580119c894STomeu Vizoso  extends:
1590119c894STomeu Vizoso    - .lava-igt:arm64
1600119c894STomeu Vizoso  stage: rockchip
161aa03f049SHelen Koike  parallel: 2
1620119c894STomeu Vizoso  variables:
1630119c894STomeu Vizoso    DRIVER_NAME: rockchip
1640119c894STomeu Vizoso    DEVICE_TYPE: rk3399-gru-kevin
1650119c894STomeu Vizoso    DTB: ${DEVICE_TYPE}
1660119c894STomeu Vizoso    BOOT_METHOD: depthcharge
1670119c894STomeu Vizoso    KERNEL_IMAGE_TYPE: ""
1680119c894STomeu Vizoso    GPU_VERSION: rk3399
1690119c894STomeu Vizoso    RUNNER_TAG: mesa-ci-x86-64-lava-rk3399-gru-kevin
1700119c894STomeu Vizoso
1710119c894STomeu Vizoso.i915:
1720119c894STomeu Vizoso  extends:
1730119c894STomeu Vizoso    - .lava-igt:x86_64
1740119c894STomeu Vizoso  stage: i915
1750119c894STomeu Vizoso  variables:
1760119c894STomeu Vizoso    DRIVER_NAME: i915
1770119c894STomeu Vizoso    DTB: ""
1780119c894STomeu Vizoso    BOOT_METHOD: depthcharge
1790119c894STomeu Vizoso    KERNEL_IMAGE_TYPE: ""
1800119c894STomeu Vizoso
1810119c894STomeu Vizosoi915:apl:
1820119c894STomeu Vizoso  extends:
1830119c894STomeu Vizoso    - .i915
184aa03f049SHelen Koike  parallel: 3
1850119c894STomeu Vizoso  variables:
1860119c894STomeu Vizoso    DEVICE_TYPE: asus-C523NA-A20057-coral
1870119c894STomeu Vizoso    GPU_VERSION: apl
1880119c894STomeu Vizoso    RUNNER_TAG: mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
1890119c894STomeu Vizoso
1900119c894STomeu Vizosoi915:glk:
1910119c894STomeu Vizoso  extends:
1920119c894STomeu Vizoso    - .i915
193aa03f049SHelen Koike  parallel: 2
1940119c894STomeu Vizoso  variables:
1950119c894STomeu Vizoso    DEVICE_TYPE: hp-x360-12b-ca0010nr-n4020-octopus
1960119c894STomeu Vizoso    GPU_VERSION: glk
1970119c894STomeu Vizoso    RUNNER_TAG: mesa-ci-x86-64-lava-hp-x360-12b-ca0010nr-n4020-octopus
1980119c894STomeu Vizoso
1990119c894STomeu Vizosoi915:amly:
2000119c894STomeu Vizoso  extends:
2010119c894STomeu Vizoso    - .i915
202aa03f049SHelen Koike  parallel: 2
2030119c894STomeu Vizoso  variables:
2040119c894STomeu Vizoso    DEVICE_TYPE: asus-C433TA-AJ0005-rammus
2050119c894STomeu Vizoso    GPU_VERSION: amly
2060119c894STomeu Vizoso    RUNNER_TAG: mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
2070119c894STomeu Vizoso
2080119c894STomeu Vizosoi915:kbl:
2090119c894STomeu Vizoso  extends:
2100119c894STomeu Vizoso    - .i915
211aa03f049SHelen Koike  parallel: 3
2120119c894STomeu Vizoso  variables:
2130119c894STomeu Vizoso    DEVICE_TYPE: hp-x360-14-G1-sona
2140119c894STomeu Vizoso    GPU_VERSION: kbl
2150119c894STomeu Vizoso    RUNNER_TAG: mesa-ci-x86-64-lava-hp-x360-14-G1-sona
2160119c894STomeu Vizoso
2170119c894STomeu Vizosoi915:whl:
2180119c894STomeu Vizoso  extends:
2190119c894STomeu Vizoso    - .i915
220aa03f049SHelen Koike  parallel: 2
2210119c894STomeu Vizoso  variables:
2220119c894STomeu Vizoso    DEVICE_TYPE: dell-latitude-5400-8665U-sarien
2230119c894STomeu Vizoso    GPU_VERSION: whl
2240119c894STomeu Vizoso    RUNNER_TAG: mesa-ci-x86-64-lava-dell-latitude-5400-8665U-sarien
2250119c894STomeu Vizoso
2260119c894STomeu Vizosoi915:cml:
2270119c894STomeu Vizoso  extends:
2280119c894STomeu Vizoso    - .i915
229aa03f049SHelen Koike  parallel: 2
2300119c894STomeu Vizoso  variables:
2310119c894STomeu Vizoso    DEVICE_TYPE: asus-C436FA-Flip-hatch
2320119c894STomeu Vizoso    GPU_VERSION: cml
2330119c894STomeu Vizoso    RUNNER_TAG: mesa-ci-x86-64-lava-asus-C436FA-flip-hatch
2340119c894STomeu Vizoso
2350119c894STomeu Vizosoi915:tgl:
2360119c894STomeu Vizoso  extends:
2370119c894STomeu Vizoso    - .i915
238*ec172317SVignesh Raman  parallel: 5
2390119c894STomeu Vizoso  variables:
240*ec172317SVignesh Raman    DEVICE_TYPE: acer-cp514-2h-1130g7-volteer
2410119c894STomeu Vizoso    GPU_VERSION: tgl
242*ec172317SVignesh Raman    RUNNER_TAG: mesa-ci-x86-64-lava-acer-cp514-2h-1130g7-volteer
2430119c894STomeu Vizoso
2440119c894STomeu Vizoso.amdgpu:
2450119c894STomeu Vizoso  extends:
2460119c894STomeu Vizoso    - .lava-igt:x86_64
2470119c894STomeu Vizoso  stage: amdgpu
2480119c894STomeu Vizoso  variables:
2490119c894STomeu Vizoso    DRIVER_NAME: amdgpu
2500119c894STomeu Vizoso    DTB: ""
2510119c894STomeu Vizoso    BOOT_METHOD: depthcharge
2520119c894STomeu Vizoso    KERNEL_IMAGE_TYPE: ""
2530119c894STomeu Vizoso
2540119c894STomeu Vizosoamdgpu:stoney:
2550119c894STomeu Vizoso  extends:
2560119c894STomeu Vizoso    - .amdgpu
257aa03f049SHelen Koike  parallel: 2
2580119c894STomeu Vizoso  variables:
2590119c894STomeu Vizoso    DEVICE_TYPE: hp-11A-G6-EE-grunt
2600119c894STomeu Vizoso    GPU_VERSION: stoney
2610119c894STomeu Vizoso    RUNNER_TAG: mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
2620119c894STomeu Vizoso
2630119c894STomeu Vizoso.mediatek:
2640119c894STomeu Vizoso  extends:
2650119c894STomeu Vizoso    - .lava-igt:arm64
2660119c894STomeu Vizoso  stage: mediatek
2670119c894STomeu Vizoso  variables:
2680119c894STomeu Vizoso    DRIVER_NAME: mediatek
2690119c894STomeu Vizoso    DTB: ${DEVICE_TYPE}
2700119c894STomeu Vizoso    BOOT_METHOD: depthcharge
2710119c894STomeu Vizoso    KERNEL_IMAGE_TYPE: ""
2720119c894STomeu Vizoso
2730119c894STomeu Vizosomediatek:mt8173:
2740119c894STomeu Vizoso  extends:
2750119c894STomeu Vizoso    - .mediatek
276aa03f049SHelen Koike  parallel: 4
2770119c894STomeu Vizoso  variables:
2780119c894STomeu Vizoso    DEVICE_TYPE: mt8173-elm-hana
2790119c894STomeu Vizoso    GPU_VERSION: mt8173
2800119c894STomeu Vizoso    RUNNER_TAG: mesa-ci-x86-64-lava-mt8173-elm-hana
2810119c894STomeu Vizoso  rules:
2820119c894STomeu Vizoso    # TODO: current issue: device is hanging. Fix and remove this rule.
2830119c894STomeu Vizoso    - when: never
2840119c894STomeu Vizoso
2850119c894STomeu Vizosomediatek:mt8183:
2860119c894STomeu Vizoso  extends:
2870119c894STomeu Vizoso    - .mediatek
288aa03f049SHelen Koike  parallel: 3
2890119c894STomeu Vizoso  variables:
2900119c894STomeu Vizoso    DEVICE_TYPE: mt8183-kukui-jacuzzi-juniper-sku16
2910119c894STomeu Vizoso    GPU_VERSION: mt8183
2920119c894STomeu Vizoso    RUNNER_TAG: mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16
2930119c894STomeu Vizoso
2940119c894STomeu Vizoso# drm-mtk doesn't even probe yet in mainline for mt8192
2950119c894STomeu Vizoso.mediatek:mt8192:
2960119c894STomeu Vizoso  extends:
2970119c894STomeu Vizoso    - .mediatek
298aa03f049SHelen Koike  parallel: 3
2990119c894STomeu Vizoso  variables:
3000119c894STomeu Vizoso    DEVICE_TYPE: mt8192-asurada-spherion-r0
3010119c894STomeu Vizoso    GPU_VERSION: mt8192
3020119c894STomeu Vizoso    RUNNER_TAG: mesa-ci-x86-64-lava-mt8192-asurada-spherion-r0
3030119c894STomeu Vizoso
3040119c894STomeu Vizoso.meson:
3050119c894STomeu Vizoso  extends:
3060119c894STomeu Vizoso    - .lava-igt:arm64
3070119c894STomeu Vizoso  stage: meson
3080119c894STomeu Vizoso  variables:
3090119c894STomeu Vizoso    DRIVER_NAME: meson
3100119c894STomeu Vizoso    DTB: ${DEVICE_TYPE}
3110119c894STomeu Vizoso    BOOT_METHOD: u-boot
3120119c894STomeu Vizoso    KERNEL_IMAGE_TYPE: "image"
3130119c894STomeu Vizoso
3140119c894STomeu Vizosomeson:g12b:
3150119c894STomeu Vizoso  extends:
3160119c894STomeu Vizoso    - .meson
317aa03f049SHelen Koike  parallel: 3
3180119c894STomeu Vizoso  variables:
3190119c894STomeu Vizoso    DEVICE_TYPE: meson-g12b-a311d-khadas-vim3
3200119c894STomeu Vizoso    GPU_VERSION: g12b
3210119c894STomeu Vizoso    RUNNER_TAG: mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
3220119c894STomeu Vizoso
3230119c894STomeu Vizosovirtio_gpu:none:
3240119c894STomeu Vizoso  stage: virtio-gpu
3250119c894STomeu Vizoso  variables:
3260119c894STomeu Vizoso    CROSVM_GALLIUM_DRIVER: llvmpipe
3270119c894STomeu Vizoso    DRIVER_NAME: virtio_gpu
3280119c894STomeu Vizoso    GPU_VERSION: none
3290119c894STomeu Vizoso  extends:
3300119c894STomeu Vizoso    - .test-gl
3310119c894STomeu Vizoso  tags:
3320119c894STomeu Vizoso    - kvm
3330119c894STomeu Vizoso  script:
3340119c894STomeu Vizoso    - ln -sf $CI_PROJECT_DIR/install /install
3350119c894STomeu Vizoso    - mv install/bzImage /lava-files/bzImage
3360119c894STomeu Vizoso    - install/crosvm-runner.sh install/igt_runner.sh
3370119c894STomeu Vizoso  needs:
3380119c894STomeu Vizoso    - debian/x86_64_test-gl
3390119c894STomeu Vizoso    - testing:x86_64
3400119c894STomeu Vizoso    - igt:x86_64
3410119c894STomeu Vizoso  rules:
3420119c894STomeu Vizoso    # TODO: current issue: malloc(): corrupted top size. Fix and remove this rule.
3430119c894STomeu Vizoso    - when: never