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