xref: /linux/drivers/gpu/drm/ci/test.yml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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
165.rockchip-device:
166  variables:
167    DTB: ${DEVICE_TYPE}
168    BOOT_METHOD: depthcharge
169
170.rockchip-display:
171  stage: rockchip
172  variables:
173    DRIVER_NAME: rockchip
174
175.rk3288:
176  extends:
177    - .lava-igt:arm32
178    - .rockchip-device
179  variables:
180    DEVICE_TYPE: rk3288-veyron-jaq
181    GPU_VERSION: rk3288
182    KERNEL_IMAGE_TYPE: "zimage"
183    RUNNER_TAG: mesa-ci-x86-64-lava-rk3288-veyron-jaq
184
185.rk3399:
186  extends:
187    - .lava-igt:arm64
188    - .rockchip-device
189  parallel: 2
190  variables:
191    DEVICE_TYPE: rk3399-gru-kevin
192    GPU_VERSION: rk3399
193    KERNEL_IMAGE_TYPE: ""
194    RUNNER_TAG: mesa-ci-x86-64-lava-rk3399-gru-kevin
195
196rockchip:rk3288:
197  extends:
198    - .rk3288
199    - .rockchip-display
200
201panfrost:rk3288:
202  extends:
203    - .rk3288
204    - .panfrost-gpu
205
206rockchip:rk3399:
207  extends:
208    - .rk3399
209    - .rockchip-display
210
211panfrost:rk3399:
212  extends:
213    - .rk3399
214    - .panfrost-gpu
215
216.i915:
217  extends:
218    - .lava-igt:x86_64
219  stage: i915
220  variables:
221    DRIVER_NAME: i915
222    DTB: ""
223    BOOT_METHOD: depthcharge
224    KERNEL_IMAGE_TYPE: ""
225
226i915:apl:
227  extends:
228    - .i915
229  parallel: 3
230  variables:
231    DEVICE_TYPE: asus-C523NA-A20057-coral
232    GPU_VERSION: apl
233    RUNNER_TAG: mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
234
235i915:glk:
236  extends:
237    - .i915
238  parallel: 2
239  variables:
240    DEVICE_TYPE: hp-x360-12b-ca0010nr-n4020-octopus
241    GPU_VERSION: glk
242    RUNNER_TAG: mesa-ci-x86-64-lava-hp-x360-12b-ca0010nr-n4020-octopus
243
244i915:amly:
245  extends:
246    - .i915
247  parallel: 2
248  variables:
249    DEVICE_TYPE: asus-C433TA-AJ0005-rammus
250    GPU_VERSION: amly
251    RUNNER_TAG: mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
252
253i915:kbl:
254  extends:
255    - .i915
256  parallel: 3
257  variables:
258    DEVICE_TYPE: hp-x360-14-G1-sona
259    GPU_VERSION: kbl
260    RUNNER_TAG: mesa-ci-x86-64-lava-hp-x360-14-G1-sona
261
262i915:whl:
263  extends:
264    - .i915
265  parallel: 2
266  variables:
267    DEVICE_TYPE: dell-latitude-5400-8665U-sarien
268    GPU_VERSION: whl
269    RUNNER_TAG: mesa-ci-x86-64-lava-dell-latitude-5400-8665U-sarien
270
271i915:cml:
272  extends:
273    - .i915
274  parallel: 2
275  variables:
276    DEVICE_TYPE: asus-C436FA-Flip-hatch
277    GPU_VERSION: cml
278    RUNNER_TAG: mesa-ci-x86-64-lava-asus-C436FA-flip-hatch
279
280i915:tgl:
281  extends:
282    - .i915
283  parallel: 5
284  variables:
285    DEVICE_TYPE: acer-cp514-2h-1130g7-volteer
286    GPU_VERSION: tgl
287    RUNNER_TAG: mesa-ci-x86-64-lava-acer-cp514-2h-1130g7-volteer
288
289.amdgpu:
290  extends:
291    - .lava-igt:x86_64
292  stage: amdgpu
293  variables:
294    DRIVER_NAME: amdgpu
295    DTB: ""
296    BOOT_METHOD: depthcharge
297    KERNEL_IMAGE_TYPE: ""
298
299amdgpu:stoney:
300  extends:
301    - .amdgpu
302  parallel: 2
303  variables:
304    DEVICE_TYPE: hp-11A-G6-EE-grunt
305    GPU_VERSION: stoney
306    RUNNER_TAG: mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
307
308.mediatek-device:
309  extends:
310    - .lava-igt:arm64
311  stage: mediatek
312  variables:
313    DTB: ${DEVICE_TYPE}
314    BOOT_METHOD: depthcharge
315    KERNEL_IMAGE_TYPE: ""
316
317.mediatek-display:
318  stage: mediatek
319  variables:
320    DRIVER_NAME: mediatek
321
322.powervr-gpu:
323  stage: powervr
324  variables:
325    DRIVER_NAME: powervr
326
327.panfrost-gpu:
328  stage: panfrost
329  variables:
330    DRIVER_NAME: panfrost
331
332.mt8173:
333  extends:
334    - .mediatek-device
335  parallel: 4
336  variables:
337    DEVICE_TYPE: mt8173-elm-hana
338    GPU_VERSION: mt8173
339    RUNNER_TAG: mesa-ci-x86-64-lava-mt8173-elm-hana
340
341.mt8183:
342  extends:
343    - .mediatek-device
344  parallel: 3
345  variables:
346    DEVICE_TYPE: mt8183-kukui-jacuzzi-juniper-sku16
347    GPU_VERSION: mt8183
348    RUNNER_TAG: mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16
349
350mediatek:mt8173:
351  extends:
352    - .mt8173
353    - .mediatek-display
354
355powervr:mt8173:
356  extends:
357    - .mt8173
358    - .powervr-gpu
359  rules:
360    # TODO: powervr driver was merged in linux kernel, but there's no mediatek support yet
361    # Remove the rule once mediatek support is added for powervr
362    - when: never
363
364mediatek:mt8183:
365  extends:
366    - .mt8183
367    - .mediatek-display
368
369panfrost:mt8183:
370  extends:
371    - .mt8183
372    - .panfrost-gpu
373
374# drm-mtk doesn't even probe yet in mainline for mt8192
375.mediatek:mt8192:
376  extends:
377    - .mediatek-device
378  parallel: 3
379  variables:
380    DEVICE_TYPE: mt8192-asurada-spherion-r0
381    GPU_VERSION: mt8192
382    RUNNER_TAG: mesa-ci-x86-64-lava-mt8192-asurada-spherion-r0
383
384.meson-device:
385  extends:
386    - .lava-igt:arm64
387  variables:
388    DTB: ${DEVICE_TYPE}
389    BOOT_METHOD: u-boot
390    KERNEL_IMAGE_TYPE: "image"
391
392.meson-display:
393  stage: meson
394  variables:
395    DRIVER_NAME: meson
396
397.g12b:
398  extends:
399    - .meson-device
400  parallel: 3
401  variables:
402    DEVICE_TYPE: meson-g12b-a311d-khadas-vim3
403    GPU_VERSION: g12b
404    RUNNER_TAG: mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
405
406meson:g12b:
407  extends:
408    - .g12b
409    - .meson-display
410
411panfrost:g12b:
412  extends:
413    - .g12b
414    - .panfrost-gpu
415
416virtio_gpu:none:
417  stage: software-driver
418  timeout: "1h30m"
419  variables:
420    CROSVM_GALLIUM_DRIVER: llvmpipe
421    DRIVER_NAME: virtio_gpu
422    GPU_VERSION: none
423  extends:
424    - .test-gl
425    - .test-rules
426  tags:
427    - kvm
428  script:
429    - ln -sf $CI_PROJECT_DIR/install /install
430    - mv install/bzImage /lava-files/bzImage
431    - mkdir -p $CI_PROJECT_DIR/results
432    - ln -sf $CI_PROJECT_DIR/results /results
433    - install/crosvm-runner.sh install/igt_runner.sh
434  needs:
435    - debian/x86_64_test-gl
436    - testing:x86_64
437    - igt:x86_64
438
439vkms:none:
440  stage: software-driver
441  timeout: "1h30m"
442  variables:
443    DRIVER_NAME: vkms
444    GPU_VERSION: none
445  extends:
446    - .test-gl
447    - .test-rules
448  tags:
449    - kvm
450  script:
451    - ln -sf $CI_PROJECT_DIR/install /install
452    - mv install/bzImage /lava-files/bzImage
453    - mkdir -p /lib/modules
454    - mkdir -p $CI_PROJECT_DIR/results
455    - ln -sf $CI_PROJECT_DIR/results /results
456    - ./install/crosvm-runner.sh ./install/igt_runner.sh
457  needs:
458    - debian/x86_64_test-gl
459    - testing:x86_64
460    - igt:x86_64
461