xref: /linux/drivers/gpu/drm/ci/test.yml (revision a3a02a52bcfcbcc4a637d4b68bf1bc391c9fad02)
1.test-rules:
2  rules:
3    - if: '$FD_FARM == "offline" && $RUNNER_TAG =~ /^google-freedreno-/'
4      when: never
5    - if: '$COLLABORA_FARM == "offline" && $RUNNER_TAG =~ /^mesa-ci-x86-64-lava-/'
6      when: never
7    - !reference [.no_scheduled_pipelines-rules, rules]
8    - when: on_success
9
10.lava-test:
11  extends:
12    - .test-rules
13  script:
14    # Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY
15    - rm -rf install
16    - tar -xf artifacts/install.tar
17    - mv install/* artifacts/.
18    # Override it with our lava-submit.sh script
19    - ./artifacts/lava-submit.sh
20
21.lava-igt:arm32:
22  extends:
23    - .lava-test:arm32
24  variables:
25    HWCI_TEST_SCRIPT: "/install/igt_runner.sh"
26    DEBIAN_ARCH: "armhf"
27    FARM: collabora
28  dependencies:
29    - testing:arm32
30  needs:
31    - alpine/x86_64_lava_ssh_client
32    - kernel+rootfs_arm32
33    - debian/x86_64_build
34    - testing:arm32
35    - igt:arm32
36
37.lava-igt:arm64:
38  extends:
39    - .lava-test:arm64
40  variables:
41    HWCI_TEST_SCRIPT: "/install/igt_runner.sh"
42    DEBIAN_ARCH: "arm64"
43    FARM: collabora
44  dependencies:
45    - testing:arm64
46  needs:
47    - alpine/x86_64_lava_ssh_client
48    - kernel+rootfs_arm64
49    - debian/x86_64_build
50    - testing:arm64
51    - igt:arm64
52
53.lava-igt:x86_64:
54  extends:
55    - .lava-test:x86_64
56  variables:
57    HWCI_TEST_SCRIPT: "/install/igt_runner.sh"
58    DEBIAN_ARCH: "amd64"
59    FARM: collabora
60  dependencies:
61    - testing:x86_64
62  needs:
63    - alpine/x86_64_lava_ssh_client
64    - kernel+rootfs_x86_64
65    - debian/x86_64_build
66    - testing:x86_64
67    - igt:x86_64
68
69.baremetal-igt-arm64:
70  extends:
71    - .baremetal-test-arm64
72    - .use-debian/arm64_test
73    - .test-rules
74  variables:
75    FDO_CI_CONCURRENT: 10
76    HWCI_TEST_SCRIPT: "/install/igt_runner.sh"
77    S3_ARTIFACT_NAME: "arm64/kernel-files"
78    BM_KERNEL: https://${PIPELINE_ARTIFACTS_BASE}/arm64/Image.gz
79    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"
80    FARM: google
81  needs:
82    - debian/arm64_test
83    - job: testing:arm64
84      artifacts: false
85    - igt:arm64
86  tags:
87    - $RUNNER_TAG
88
89.msm-sc7180:
90  extends:
91    - .lava-igt:arm64
92  stage: msm
93  variables:
94    DRIVER_NAME: msm
95    BOOT_METHOD: depthcharge
96    KERNEL_IMAGE_TYPE: ""
97
98msm:sc7180-trogdor-lazor-limozeen:
99  extends:
100    - .msm-sc7180
101  parallel: 4
102  variables:
103    DEVICE_TYPE: sc7180-trogdor-lazor-limozeen
104    DTB: sc7180-trogdor-lazor-limozeen-nots-r5
105    GPU_VERSION: ${DEVICE_TYPE}
106    RUNNER_TAG: mesa-ci-x86-64-lava-sc7180-trogdor-lazor-limozeen
107
108msm:sc7180-trogdor-kingoftown:
109  extends:
110    - .msm-sc7180
111  parallel: 6
112  variables:
113    DEVICE_TYPE: sc7180-trogdor-kingoftown
114    DTB: sc7180-trogdor-kingoftown
115    GPU_VERSION: ${DEVICE_TYPE}
116    RUNNER_TAG: mesa-ci-x86-64-lava-sc7180-trogdor-kingoftown
117
118msm:apq8016:
119  extends:
120    - .baremetal-igt-arm64
121  stage: msm
122  variables:
123    DEVICE_TYPE: apq8016-sbc-usb-host
124    DRIVER_NAME: msm
125    BM_DTB: https://${PIPELINE_ARTIFACTS_BASE}/arm64/${DEVICE_TYPE}.dtb
126    GPU_VERSION: apq8016
127    # disabling unused clocks congests with the MDSS runtime PM trying to
128    # disable those clocks and causes boot to fail.
129    # Reproducer: DRM_MSM=y, DRM_I2C_ADV7511=m
130    BM_KERNEL_EXTRA_ARGS: clk_ignore_unused
131    RUNNER_TAG: google-freedreno-db410c
132  script:
133    - ./install/bare-metal/fastboot.sh
134
135msm:apq8096:
136  extends:
137    - .baremetal-igt-arm64
138  stage: msm
139  variables:
140    DEVICE_TYPE: apq8096-db820c
141    DRIVER_NAME: msm
142    BM_KERNEL_EXTRA_ARGS: maxcpus=2
143    BM_DTB: https://${PIPELINE_ARTIFACTS_BASE}/arm64/${DEVICE_TYPE}.dtb
144    GPU_VERSION: apq8096
145    RUNNER_TAG: google-freedreno-db820c
146  script:
147    - ./install/bare-metal/fastboot.sh
148
149msm:sdm845:
150  extends:
151    - .baremetal-igt-arm64
152  stage: msm
153  parallel: 6
154  variables:
155    DEVICE_TYPE: sdm845-cheza-r3
156    DRIVER_NAME: msm
157    BM_KERNEL: https://${PIPELINE_ARTIFACTS_BASE}/arm64/cheza-kernel
158    GPU_VERSION: sdm845
159    RUNNER_TAG: google-freedreno-cheza
160  script:
161    - ./install/bare-metal/cros-servo.sh
162
163rockchip:rk3288:
164  extends:
165    - .lava-igt:arm32
166  stage: rockchip
167  variables:
168    DRIVER_NAME: rockchip
169    DEVICE_TYPE: rk3288-veyron-jaq
170    DTB: ${DEVICE_TYPE}
171    BOOT_METHOD: depthcharge
172    KERNEL_IMAGE_TYPE: "zimage"
173    GPU_VERSION: rk3288
174    RUNNER_TAG: mesa-ci-x86-64-lava-rk3288-veyron-jaq
175
176rockchip:rk3399:
177  extends:
178    - .lava-igt:arm64
179  stage: rockchip
180  parallel: 2
181  variables:
182    DRIVER_NAME: rockchip
183    DEVICE_TYPE: rk3399-gru-kevin
184    DTB: ${DEVICE_TYPE}
185    BOOT_METHOD: depthcharge
186    KERNEL_IMAGE_TYPE: ""
187    GPU_VERSION: rk3399
188    RUNNER_TAG: mesa-ci-x86-64-lava-rk3399-gru-kevin
189
190.i915:
191  extends:
192    - .lava-igt:x86_64
193  stage: i915
194  timeout: "1h30m"
195  variables:
196    DRIVER_NAME: i915
197    DTB: ""
198    BOOT_METHOD: depthcharge
199    KERNEL_IMAGE_TYPE: ""
200
201i915:apl:
202  extends:
203    - .i915
204  parallel: 3
205  variables:
206    DEVICE_TYPE: asus-C523NA-A20057-coral
207    GPU_VERSION: apl
208    RUNNER_TAG: mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
209
210i915:glk:
211  extends:
212    - .i915
213  parallel: 2
214  variables:
215    DEVICE_TYPE: hp-x360-12b-ca0010nr-n4020-octopus
216    GPU_VERSION: glk
217    RUNNER_TAG: mesa-ci-x86-64-lava-hp-x360-12b-ca0010nr-n4020-octopus
218
219i915:amly:
220  extends:
221    - .i915
222  parallel: 2
223  variables:
224    DEVICE_TYPE: asus-C433TA-AJ0005-rammus
225    GPU_VERSION: amly
226    RUNNER_TAG: mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
227
228i915:kbl:
229  extends:
230    - .i915
231  parallel: 3
232  variables:
233    DEVICE_TYPE: hp-x360-14-G1-sona
234    GPU_VERSION: kbl
235    RUNNER_TAG: mesa-ci-x86-64-lava-hp-x360-14-G1-sona
236
237i915:whl:
238  extends:
239    - .i915
240  parallel: 2
241  variables:
242    DEVICE_TYPE: dell-latitude-5400-8665U-sarien
243    GPU_VERSION: whl
244    RUNNER_TAG: mesa-ci-x86-64-lava-dell-latitude-5400-8665U-sarien
245
246i915:cml:
247  extends:
248    - .i915
249  parallel: 2
250  variables:
251    DEVICE_TYPE: asus-C436FA-Flip-hatch
252    GPU_VERSION: cml
253    RUNNER_TAG: mesa-ci-x86-64-lava-asus-C436FA-flip-hatch
254
255i915:tgl:
256  extends:
257    - .i915
258  parallel: 5
259  variables:
260    DEVICE_TYPE: acer-cp514-2h-1130g7-volteer
261    GPU_VERSION: tgl
262    RUNNER_TAG: mesa-ci-x86-64-lava-acer-cp514-2h-1130g7-volteer
263
264.amdgpu:
265  extends:
266    - .lava-igt:x86_64
267  stage: amdgpu
268  variables:
269    DRIVER_NAME: amdgpu
270    DTB: ""
271    BOOT_METHOD: depthcharge
272    KERNEL_IMAGE_TYPE: ""
273
274amdgpu:stoney:
275  extends:
276    - .amdgpu
277  parallel: 2
278  variables:
279    DEVICE_TYPE: hp-11A-G6-EE-grunt
280    GPU_VERSION: stoney
281    RUNNER_TAG: mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
282
283.mediatek:
284  extends:
285    - .lava-igt:arm64
286  stage: mediatek
287  variables:
288    DRIVER_NAME: mediatek
289    DTB: ${DEVICE_TYPE}
290    BOOT_METHOD: depthcharge
291    KERNEL_IMAGE_TYPE: ""
292
293mediatek:mt8173:
294  extends:
295    - .mediatek
296  parallel: 4
297  variables:
298    DEVICE_TYPE: mt8173-elm-hana
299    GPU_VERSION: mt8173
300    RUNNER_TAG: mesa-ci-x86-64-lava-mt8173-elm-hana
301
302mediatek:mt8183:
303  extends:
304    - .mediatek
305  parallel: 3
306  variables:
307    DEVICE_TYPE: mt8183-kukui-jacuzzi-juniper-sku16
308    GPU_VERSION: mt8183
309    RUNNER_TAG: mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16
310
311# drm-mtk doesn't even probe yet in mainline for mt8192
312.mediatek:mt8192:
313  extends:
314    - .mediatek
315  parallel: 3
316  variables:
317    DEVICE_TYPE: mt8192-asurada-spherion-r0
318    GPU_VERSION: mt8192
319    RUNNER_TAG: mesa-ci-x86-64-lava-mt8192-asurada-spherion-r0
320
321.meson:
322  extends:
323    - .lava-igt:arm64
324  stage: meson
325  variables:
326    DRIVER_NAME: meson
327    DTB: ${DEVICE_TYPE}
328    BOOT_METHOD: u-boot
329    KERNEL_IMAGE_TYPE: "image"
330
331meson:g12b:
332  extends:
333    - .meson
334  parallel: 3
335  variables:
336    DEVICE_TYPE: meson-g12b-a311d-khadas-vim3
337    GPU_VERSION: g12b
338    RUNNER_TAG: mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
339
340virtio_gpu:none:
341  stage: software-driver
342  variables:
343    CROSVM_GALLIUM_DRIVER: llvmpipe
344    DRIVER_NAME: virtio_gpu
345    GPU_VERSION: none
346  extends:
347    - .test-gl
348    - .test-rules
349  tags:
350    - kvm
351  script:
352    - ln -sf $CI_PROJECT_DIR/install /install
353    - mv install/bzImage /lava-files/bzImage
354    - mkdir -p $CI_PROJECT_DIR/results
355    - ln -sf $CI_PROJECT_DIR/results /results
356    - install/crosvm-runner.sh install/igt_runner.sh
357  needs:
358    - debian/x86_64_test-gl
359    - testing:x86_64
360    - igt:x86_64
361
362vkms:none:
363  stage: software-driver
364  variables:
365    DRIVER_NAME: vkms
366    GPU_VERSION: none
367  extends:
368    - .test-gl
369    - .test-rules
370  tags:
371    - kvm
372  script:
373    - ln -sf $CI_PROJECT_DIR/install /install
374    - mv install/bzImage /lava-files/bzImage
375    - mkdir -p /lib/modules
376    - mkdir -p $CI_PROJECT_DIR/results
377    - ln -sf $CI_PROJECT_DIR/results /results
378    - ./install/crosvm-runner.sh ./install/igt_runner.sh
379  needs:
380    - debian/x86_64_test-gl
381    - testing:x86_64
382    - igt:x86_64
383