xref: /linux/drivers/gpu/drm/ci/test.yml (revision d7b4e3287ca3a7baf66efd9158498e551a9550da)
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  dependencies:
28    - testing:arm32
29  needs:
30    - alpine/x86_64_lava_ssh_client
31    - kernel+rootfs_arm32
32    - debian/x86_64_build
33    - testing:arm32
34    - igt:arm32
35
36.lava-igt:arm64:
37  extends:
38    - .lava-test:arm64
39  variables:
40    HWCI_TEST_SCRIPT: "/install/igt_runner.sh"
41    DEBIAN_ARCH: "arm64"
42  dependencies:
43    - testing:arm64
44  needs:
45    - alpine/x86_64_lava_ssh_client
46    - kernel+rootfs_arm64
47    - debian/x86_64_build
48    - testing:arm64
49    - igt:arm64
50
51.lava-igt:x86_64:
52  extends:
53    - .lava-test:x86_64
54  variables:
55    HWCI_TEST_SCRIPT: "/install/igt_runner.sh"
56    DEBIAN_ARCH: "amd64"
57  dependencies:
58    - testing:x86_64
59  needs:
60    - alpine/x86_64_lava_ssh_client
61    - kernel+rootfs_x86_64
62    - debian/x86_64_build
63    - testing:x86_64
64    - igt:x86_64
65
66.baremetal-igt-arm64:
67  extends:
68    - .baremetal-test-arm64
69    - .use-debian/arm64_test
70    - .test-rules
71  variables:
72    FDO_CI_CONCURRENT: 10
73    HWCI_TEST_SCRIPT: "/install/igt_runner.sh"
74    S3_ARTIFACT_NAME: "arm64/kernel-files"
75    BM_KERNEL: https://${PIPELINE_ARTIFACTS_BASE}/arm64/Image.gz
76    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"
77  needs:
78    - debian/arm64_test
79    - job: testing:arm64
80      artifacts: false
81    - igt:arm64
82  tags:
83    - $RUNNER_TAG
84
85msm:sc7180:
86  extends:
87    - .lava-igt:arm64
88  stage: msm
89  parallel: 4
90  variables:
91    DRIVER_NAME: msm
92    DEVICE_TYPE: sc7180-trogdor-lazor-limozeen
93    DTB: sc7180-trogdor-lazor-limozeen-nots-r5
94    BOOT_METHOD: depthcharge
95    KERNEL_IMAGE_TYPE: ""
96    GPU_VERSION: sc7180
97    RUNNER_TAG: mesa-ci-x86-64-lava-sc7180-trogdor-lazor-limozeen
98
99msm:apq8016:
100  extends:
101    - .baremetal-igt-arm64
102  stage: msm
103  variables:
104    DRIVER_NAME: msm
105    BM_DTB: https://${PIPELINE_ARTIFACTS_BASE}/arm64/apq8016-sbc-usb-host.dtb
106    GPU_VERSION: apq8016
107    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"
108    RUNNER_TAG: google-freedreno-db410c
109  script:
110    - ./install/bare-metal/fastboot.sh
111
112msm:apq8096:
113  extends:
114    - .baremetal-igt-arm64
115  stage: msm
116  variables:
117    DRIVER_NAME: msm
118    BM_KERNEL_EXTRA_ARGS: maxcpus=2
119    BM_DTB: https://${PIPELINE_ARTIFACTS_BASE}/arm64/apq8096-db820c.dtb
120    GPU_VERSION: apq8096
121    RUNNER_TAG: google-freedreno-db820c
122  script:
123    - ./install/bare-metal/fastboot.sh
124
125msm:sdm845:
126  extends:
127    - .baremetal-igt-arm64
128  stage: msm
129  parallel: 6
130  variables:
131    DRIVER_NAME: msm
132    BM_KERNEL: https://${PIPELINE_ARTIFACTS_BASE}/arm64/cheza-kernel
133    GPU_VERSION: sdm845
134    RUNNER_TAG: google-freedreno-cheza
135  script:
136    - ./install/bare-metal/cros-servo.sh
137
138rockchip:rk3288:
139  extends:
140    - .lava-igt:arm32
141  stage: rockchip
142  variables:
143    DRIVER_NAME: rockchip
144    DEVICE_TYPE: rk3288-veyron-jaq
145    DTB: ${DEVICE_TYPE}
146    BOOT_METHOD: depthcharge
147    KERNEL_IMAGE_TYPE: "zimage"
148    GPU_VERSION: rk3288
149    RUNNER_TAG: mesa-ci-x86-64-lava-rk3288-veyron-jaq
150
151rockchip:rk3399:
152  extends:
153    - .lava-igt:arm64
154  stage: rockchip
155  parallel: 2
156  variables:
157    DRIVER_NAME: rockchip
158    DEVICE_TYPE: rk3399-gru-kevin
159    DTB: ${DEVICE_TYPE}
160    BOOT_METHOD: depthcharge
161    KERNEL_IMAGE_TYPE: ""
162    GPU_VERSION: rk3399
163    RUNNER_TAG: mesa-ci-x86-64-lava-rk3399-gru-kevin
164
165.i915:
166  extends:
167    - .lava-igt:x86_64
168  stage: i915
169  variables:
170    DRIVER_NAME: i915
171    DTB: ""
172    BOOT_METHOD: depthcharge
173    KERNEL_IMAGE_TYPE: ""
174
175i915:apl:
176  extends:
177    - .i915
178  parallel: 3
179  timeout: "1h30m"
180  variables:
181    DEVICE_TYPE: asus-C523NA-A20057-coral
182    GPU_VERSION: apl
183    RUNNER_TAG: mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
184
185i915:glk:
186  extends:
187    - .i915
188  parallel: 2
189  timeout: "1h30m"
190  variables:
191    DEVICE_TYPE: hp-x360-12b-ca0010nr-n4020-octopus
192    GPU_VERSION: glk
193    RUNNER_TAG: mesa-ci-x86-64-lava-hp-x360-12b-ca0010nr-n4020-octopus
194
195i915:amly:
196  extends:
197    - .i915
198  parallel: 2
199  timeout: "1h30m"
200  variables:
201    DEVICE_TYPE: asus-C433TA-AJ0005-rammus
202    GPU_VERSION: amly
203    RUNNER_TAG: mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
204
205i915:kbl:
206  extends:
207    - .i915
208  parallel: 3
209  variables:
210    DEVICE_TYPE: hp-x360-14-G1-sona
211    GPU_VERSION: kbl
212    RUNNER_TAG: mesa-ci-x86-64-lava-hp-x360-14-G1-sona
213
214i915:whl:
215  extends:
216    - .i915
217  parallel: 2
218  timeout: "1h30m"
219  variables:
220    DEVICE_TYPE: dell-latitude-5400-8665U-sarien
221    GPU_VERSION: whl
222    RUNNER_TAG: mesa-ci-x86-64-lava-dell-latitude-5400-8665U-sarien
223
224i915:cml:
225  extends:
226    - .i915
227  parallel: 2
228  timeout: "1h30m"
229  variables:
230    DEVICE_TYPE: asus-C436FA-Flip-hatch
231    GPU_VERSION: cml
232    RUNNER_TAG: mesa-ci-x86-64-lava-asus-C436FA-flip-hatch
233
234i915:tgl:
235  extends:
236    - .i915
237  parallel: 8
238  variables:
239    DEVICE_TYPE: asus-cx9400-volteer
240    GPU_VERSION: tgl
241    RUNNER_TAG: mesa-ci-x86-64-lava-asus-cx9400-volteer
242
243.amdgpu:
244  extends:
245    - .lava-igt:x86_64
246  stage: amdgpu
247  variables:
248    DRIVER_NAME: amdgpu
249    DTB: ""
250    BOOT_METHOD: depthcharge
251    KERNEL_IMAGE_TYPE: ""
252
253amdgpu:stoney:
254  extends:
255    - .amdgpu
256  parallel: 2
257  variables:
258    DEVICE_TYPE: hp-11A-G6-EE-grunt
259    GPU_VERSION: stoney
260    RUNNER_TAG: mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
261
262.mediatek:
263  extends:
264    - .lava-igt:arm64
265  stage: mediatek
266  variables:
267    DRIVER_NAME: mediatek
268    DTB: ${DEVICE_TYPE}
269    BOOT_METHOD: depthcharge
270    KERNEL_IMAGE_TYPE: ""
271
272mediatek:mt8173:
273  extends:
274    - .mediatek
275  parallel: 4
276  variables:
277    DEVICE_TYPE: mt8173-elm-hana
278    GPU_VERSION: mt8173
279    RUNNER_TAG: mesa-ci-x86-64-lava-mt8173-elm-hana
280
281mediatek:mt8183:
282  extends:
283    - .mediatek
284  parallel: 3
285  variables:
286    DEVICE_TYPE: mt8183-kukui-jacuzzi-juniper-sku16
287    GPU_VERSION: mt8183
288    RUNNER_TAG: mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16
289
290# drm-mtk doesn't even probe yet in mainline for mt8192
291.mediatek:mt8192:
292  extends:
293    - .mediatek
294  parallel: 3
295  variables:
296    DEVICE_TYPE: mt8192-asurada-spherion-r0
297    GPU_VERSION: mt8192
298    RUNNER_TAG: mesa-ci-x86-64-lava-mt8192-asurada-spherion-r0
299
300.meson:
301  extends:
302    - .lava-igt:arm64
303  stage: meson
304  variables:
305    DRIVER_NAME: meson
306    DTB: ${DEVICE_TYPE}
307    BOOT_METHOD: u-boot
308    KERNEL_IMAGE_TYPE: "image"
309
310meson:g12b:
311  extends:
312    - .meson
313  parallel: 3
314  variables:
315    DEVICE_TYPE: meson-g12b-a311d-khadas-vim3
316    GPU_VERSION: g12b
317    RUNNER_TAG: mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
318
319virtio_gpu:none:
320  stage: virtio-gpu
321  variables:
322    CROSVM_GALLIUM_DRIVER: llvmpipe
323    DRIVER_NAME: virtio_gpu
324    GPU_VERSION: none
325  extends:
326    - .test-gl
327  tags:
328    - kvm
329  script:
330    - ln -sf $CI_PROJECT_DIR/install /install
331    - mv install/bzImage /lava-files/bzImage
332    - mkdir -p $CI_PROJECT_DIR/results
333    - ln -sf $CI_PROJECT_DIR/results /results
334    - install/crosvm-runner.sh install/igt_runner.sh
335  needs:
336    - debian/x86_64_test-gl
337    - testing:x86_64
338    - igt:x86_64
339