xref: /linux/drivers/gpu/drm/ci/test.yml (revision 576d7fed09c7edbae7600f29a8a3ed6c1ead904f)
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.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  rules:
112    # TODO: current issue: it is not fiding the NFS root. Fix and remove this rule.
113    - when: never
114
115msm:apq8096:
116  extends:
117    - .baremetal-igt-arm64
118  stage: msm
119  variables:
120    DRIVER_NAME: msm
121    BM_KERNEL_EXTRA_ARGS: maxcpus=2
122    BM_DTB: https://${PIPELINE_ARTIFACTS_BASE}/arm64/apq8096-db820c.dtb
123    GPU_VERSION: apq8096
124    RUNNER_TAG: google-freedreno-db820c
125  script:
126    - ./install/bare-metal/fastboot.sh
127
128msm:sdm845:
129  extends:
130    - .baremetal-igt-arm64
131  stage: msm
132  parallel: 6
133  variables:
134    DRIVER_NAME: msm
135    BM_KERNEL: https://${PIPELINE_ARTIFACTS_BASE}/arm64/cheza-kernel
136    GPU_VERSION: sdm845
137    RUNNER_TAG: google-freedreno-cheza
138  script:
139    - ./install/bare-metal/cros-servo.sh
140
141rockchip:rk3288:
142  extends:
143    - .lava-igt:arm32
144  stage: rockchip
145  variables:
146    DRIVER_NAME: rockchip
147    DEVICE_TYPE: rk3288-veyron-jaq
148    DTB: ${DEVICE_TYPE}
149    BOOT_METHOD: depthcharge
150    KERNEL_IMAGE_TYPE: "zimage"
151    GPU_VERSION: rk3288
152    RUNNER_TAG: mesa-ci-x86-64-lava-rk3288-veyron-jaq
153
154rockchip:rk3399:
155  extends:
156    - .lava-igt:arm64
157  stage: rockchip
158  parallel: 2
159  variables:
160    DRIVER_NAME: rockchip
161    DEVICE_TYPE: rk3399-gru-kevin
162    DTB: ${DEVICE_TYPE}
163    BOOT_METHOD: depthcharge
164    KERNEL_IMAGE_TYPE: ""
165    GPU_VERSION: rk3399
166    RUNNER_TAG: mesa-ci-x86-64-lava-rk3399-gru-kevin
167
168.i915:
169  extends:
170    - .lava-igt:x86_64
171  stage: i915
172  variables:
173    DRIVER_NAME: i915
174    DTB: ""
175    BOOT_METHOD: depthcharge
176    KERNEL_IMAGE_TYPE: ""
177
178i915:apl:
179  extends:
180    - .i915
181  parallel: 3
182  timeout: "1h30m"
183  variables:
184    DEVICE_TYPE: asus-C523NA-A20057-coral
185    GPU_VERSION: apl
186    RUNNER_TAG: mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
187
188i915:glk:
189  extends:
190    - .i915
191  parallel: 2
192  timeout: "1h30m"
193  variables:
194    DEVICE_TYPE: hp-x360-12b-ca0010nr-n4020-octopus
195    GPU_VERSION: glk
196    RUNNER_TAG: mesa-ci-x86-64-lava-hp-x360-12b-ca0010nr-n4020-octopus
197
198i915:amly:
199  extends:
200    - .i915
201  parallel: 2
202  timeout: "1h30m"
203  variables:
204    DEVICE_TYPE: asus-C433TA-AJ0005-rammus
205    GPU_VERSION: amly
206    RUNNER_TAG: mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
207
208i915:kbl:
209  extends:
210    - .i915
211  parallel: 3
212  variables:
213    DEVICE_TYPE: hp-x360-14-G1-sona
214    GPU_VERSION: kbl
215    RUNNER_TAG: mesa-ci-x86-64-lava-hp-x360-14-G1-sona
216
217i915:whl:
218  extends:
219    - .i915
220  parallel: 2
221  timeout: "1h30m"
222  variables:
223    DEVICE_TYPE: dell-latitude-5400-8665U-sarien
224    GPU_VERSION: whl
225    RUNNER_TAG: mesa-ci-x86-64-lava-dell-latitude-5400-8665U-sarien
226
227i915:cml:
228  extends:
229    - .i915
230  parallel: 2
231  timeout: "1h30m"
232  variables:
233    DEVICE_TYPE: asus-C436FA-Flip-hatch
234    GPU_VERSION: cml
235    RUNNER_TAG: mesa-ci-x86-64-lava-asus-C436FA-flip-hatch
236
237i915:tgl:
238  extends:
239    - .i915
240  parallel: 8
241  variables:
242    DEVICE_TYPE: asus-cx9400-volteer
243    GPU_VERSION: tgl
244    RUNNER_TAG: mesa-ci-x86-64-lava-asus-cx9400-volteer
245
246.amdgpu:
247  extends:
248    - .lava-igt:x86_64
249  stage: amdgpu
250  variables:
251    DRIVER_NAME: amdgpu
252    DTB: ""
253    BOOT_METHOD: depthcharge
254    KERNEL_IMAGE_TYPE: ""
255
256amdgpu:stoney:
257  extends:
258    - .amdgpu
259  parallel: 2
260  variables:
261    DEVICE_TYPE: hp-11A-G6-EE-grunt
262    GPU_VERSION: stoney
263    RUNNER_TAG: mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
264
265.mediatek:
266  extends:
267    - .lava-igt:arm64
268  stage: mediatek
269  variables:
270    DRIVER_NAME: mediatek
271    DTB: ${DEVICE_TYPE}
272    BOOT_METHOD: depthcharge
273    KERNEL_IMAGE_TYPE: ""
274
275mediatek:mt8173:
276  extends:
277    - .mediatek
278  parallel: 4
279  variables:
280    DEVICE_TYPE: mt8173-elm-hana
281    GPU_VERSION: mt8173
282    RUNNER_TAG: mesa-ci-x86-64-lava-mt8173-elm-hana
283  rules:
284    # TODO: current issue: device is hanging. Fix and remove this rule.
285    - when: never
286
287mediatek:mt8183:
288  extends:
289    - .mediatek
290  parallel: 3
291  variables:
292    DEVICE_TYPE: mt8183-kukui-jacuzzi-juniper-sku16
293    GPU_VERSION: mt8183
294    RUNNER_TAG: mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16
295
296# drm-mtk doesn't even probe yet in mainline for mt8192
297.mediatek:mt8192:
298  extends:
299    - .mediatek
300  parallel: 3
301  variables:
302    DEVICE_TYPE: mt8192-asurada-spherion-r0
303    GPU_VERSION: mt8192
304    RUNNER_TAG: mesa-ci-x86-64-lava-mt8192-asurada-spherion-r0
305
306.meson:
307  extends:
308    - .lava-igt:arm64
309  stage: meson
310  variables:
311    DRIVER_NAME: meson
312    DTB: ${DEVICE_TYPE}
313    BOOT_METHOD: u-boot
314    KERNEL_IMAGE_TYPE: "image"
315
316meson:g12b:
317  extends:
318    - .meson
319  parallel: 3
320  variables:
321    DEVICE_TYPE: meson-g12b-a311d-khadas-vim3
322    GPU_VERSION: g12b
323    RUNNER_TAG: mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
324
325virtio_gpu:none:
326  stage: virtio-gpu
327  variables:
328    CROSVM_GALLIUM_DRIVER: llvmpipe
329    DRIVER_NAME: virtio_gpu
330    GPU_VERSION: none
331  extends:
332    - .test-gl
333  tags:
334    - kvm
335  script:
336    - ln -sf $CI_PROJECT_DIR/install /install
337    - mv install/bzImage /lava-files/bzImage
338    - install/crosvm-runner.sh install/igt_runner.sh
339  needs:
340    - debian/x86_64_test-gl
341    - testing:x86_64
342    - igt:x86_64
343  rules:
344    # TODO: current issue: malloc(): corrupted top size. Fix and remove this rule.
345    - when: never