xref: /linux/drivers/gpu/drm/ci/test.yml (revision 151ebcf0797b1a3ba53c8843dc21748c80e098c7)
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
85.msm-sc7180:
86  extends:
87    - .lava-igt:arm64
88  stage: msm
89  variables:
90    DRIVER_NAME: msm
91    BOOT_METHOD: depthcharge
92    KERNEL_IMAGE_TYPE: ""
93
94msm:sc7180-trogdor-lazor-limozeen:
95  extends:
96    - .msm-sc7180
97  parallel: 4
98  variables:
99    DEVICE_TYPE: sc7180-trogdor-lazor-limozeen
100    DTB: sc7180-trogdor-lazor-limozeen-nots-r5
101    GPU_VERSION: ${DEVICE_TYPE}
102    RUNNER_TAG: mesa-ci-x86-64-lava-sc7180-trogdor-lazor-limozeen
103
104msm:sc7180-trogdor-kingoftown:
105  extends:
106    - .msm-sc7180
107  parallel: 6
108  variables:
109    DEVICE_TYPE: sc7180-trogdor-kingoftown
110    DTB: sc7180-trogdor-kingoftown
111    GPU_VERSION: ${DEVICE_TYPE}
112    RUNNER_TAG: mesa-ci-x86-64-lava-sc7180-trogdor-kingoftown
113
114msm:apq8016:
115  extends:
116    - .baremetal-igt-arm64
117  stage: msm
118  variables:
119    DRIVER_NAME: msm
120    BM_DTB: https://${PIPELINE_ARTIFACTS_BASE}/arm64/apq8016-sbc-usb-host.dtb
121    GPU_VERSION: apq8016
122    # disabling unused clocks congests with the MDSS runtime PM trying to
123    # disable those clocks and causes boot to fail.
124    # Reproducer: DRM_MSM=y, DRM_I2C_ADV7511=m
125    BM_KERNEL_EXTRA_ARGS: clk_ignore_unused
126    RUNNER_TAG: google-freedreno-db410c
127  script:
128    - ./install/bare-metal/fastboot.sh
129
130msm:apq8096:
131  extends:
132    - .baremetal-igt-arm64
133  stage: msm
134  variables:
135    DRIVER_NAME: msm
136    BM_KERNEL_EXTRA_ARGS: maxcpus=2
137    BM_DTB: https://${PIPELINE_ARTIFACTS_BASE}/arm64/apq8096-db820c.dtb
138    GPU_VERSION: apq8096
139    RUNNER_TAG: google-freedreno-db820c
140  script:
141    - ./install/bare-metal/fastboot.sh
142
143msm:sdm845:
144  extends:
145    - .baremetal-igt-arm64
146  stage: msm
147  parallel: 6
148  variables:
149    DRIVER_NAME: msm
150    BM_KERNEL: https://${PIPELINE_ARTIFACTS_BASE}/arm64/cheza-kernel
151    GPU_VERSION: sdm845
152    RUNNER_TAG: google-freedreno-cheza
153  script:
154    - ./install/bare-metal/cros-servo.sh
155
156rockchip:rk3288:
157  extends:
158    - .lava-igt:arm32
159  stage: rockchip
160  variables:
161    DRIVER_NAME: rockchip
162    DEVICE_TYPE: rk3288-veyron-jaq
163    DTB: ${DEVICE_TYPE}
164    BOOT_METHOD: depthcharge
165    KERNEL_IMAGE_TYPE: "zimage"
166    GPU_VERSION: rk3288
167    RUNNER_TAG: mesa-ci-x86-64-lava-rk3288-veyron-jaq
168
169rockchip:rk3399:
170  extends:
171    - .lava-igt:arm64
172  stage: rockchip
173  parallel: 2
174  variables:
175    DRIVER_NAME: rockchip
176    DEVICE_TYPE: rk3399-gru-kevin
177    DTB: ${DEVICE_TYPE}
178    BOOT_METHOD: depthcharge
179    KERNEL_IMAGE_TYPE: ""
180    GPU_VERSION: rk3399
181    RUNNER_TAG: mesa-ci-x86-64-lava-rk3399-gru-kevin
182
183.i915:
184  extends:
185    - .lava-igt:x86_64
186  stage: i915
187  variables:
188    DRIVER_NAME: i915
189    DTB: ""
190    BOOT_METHOD: depthcharge
191    KERNEL_IMAGE_TYPE: ""
192
193i915:apl:
194  extends:
195    - .i915
196  parallel: 3
197  timeout: "1h30m"
198  variables:
199    DEVICE_TYPE: asus-C523NA-A20057-coral
200    GPU_VERSION: apl
201    RUNNER_TAG: mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
202
203i915:glk:
204  extends:
205    - .i915
206  parallel: 2
207  timeout: "1h30m"
208  variables:
209    DEVICE_TYPE: hp-x360-12b-ca0010nr-n4020-octopus
210    GPU_VERSION: glk
211    RUNNER_TAG: mesa-ci-x86-64-lava-hp-x360-12b-ca0010nr-n4020-octopus
212
213i915:amly:
214  extends:
215    - .i915
216  parallel: 2
217  timeout: "1h30m"
218  variables:
219    DEVICE_TYPE: asus-C433TA-AJ0005-rammus
220    GPU_VERSION: amly
221    RUNNER_TAG: mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
222
223i915:kbl:
224  extends:
225    - .i915
226  parallel: 3
227  variables:
228    DEVICE_TYPE: hp-x360-14-G1-sona
229    GPU_VERSION: kbl
230    RUNNER_TAG: mesa-ci-x86-64-lava-hp-x360-14-G1-sona
231
232i915:whl:
233  extends:
234    - .i915
235  parallel: 2
236  timeout: "1h30m"
237  variables:
238    DEVICE_TYPE: dell-latitude-5400-8665U-sarien
239    GPU_VERSION: whl
240    RUNNER_TAG: mesa-ci-x86-64-lava-dell-latitude-5400-8665U-sarien
241
242i915:cml:
243  extends:
244    - .i915
245  parallel: 2
246  timeout: "1h30m"
247  variables:
248    DEVICE_TYPE: asus-C436FA-Flip-hatch
249    GPU_VERSION: cml
250    RUNNER_TAG: mesa-ci-x86-64-lava-asus-C436FA-flip-hatch
251
252i915:tgl:
253  extends:
254    - .i915
255  parallel: 5
256  variables:
257    DEVICE_TYPE: acer-cp514-2h-1130g7-volteer
258    GPU_VERSION: tgl
259    RUNNER_TAG: mesa-ci-x86-64-lava-acer-cp514-2h-1130g7-volteer
260
261.amdgpu:
262  extends:
263    - .lava-igt:x86_64
264  stage: amdgpu
265  variables:
266    DRIVER_NAME: amdgpu
267    DTB: ""
268    BOOT_METHOD: depthcharge
269    KERNEL_IMAGE_TYPE: ""
270
271amdgpu:stoney:
272  extends:
273    - .amdgpu
274  parallel: 2
275  variables:
276    DEVICE_TYPE: hp-11A-G6-EE-grunt
277    GPU_VERSION: stoney
278    RUNNER_TAG: mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
279
280.mediatek:
281  extends:
282    - .lava-igt:arm64
283  stage: mediatek
284  variables:
285    DRIVER_NAME: mediatek
286    DTB: ${DEVICE_TYPE}
287    BOOT_METHOD: depthcharge
288    KERNEL_IMAGE_TYPE: ""
289
290mediatek:mt8173:
291  extends:
292    - .mediatek
293  parallel: 4
294  variables:
295    DEVICE_TYPE: mt8173-elm-hana
296    GPU_VERSION: mt8173
297    RUNNER_TAG: mesa-ci-x86-64-lava-mt8173-elm-hana
298
299mediatek:mt8183:
300  extends:
301    - .mediatek
302  parallel: 3
303  variables:
304    DEVICE_TYPE: mt8183-kukui-jacuzzi-juniper-sku16
305    GPU_VERSION: mt8183
306    RUNNER_TAG: mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16
307
308# drm-mtk doesn't even probe yet in mainline for mt8192
309.mediatek:mt8192:
310  extends:
311    - .mediatek
312  parallel: 3
313  variables:
314    DEVICE_TYPE: mt8192-asurada-spherion-r0
315    GPU_VERSION: mt8192
316    RUNNER_TAG: mesa-ci-x86-64-lava-mt8192-asurada-spherion-r0
317
318.meson:
319  extends:
320    - .lava-igt:arm64
321  stage: meson
322  variables:
323    DRIVER_NAME: meson
324    DTB: ${DEVICE_TYPE}
325    BOOT_METHOD: u-boot
326    KERNEL_IMAGE_TYPE: "image"
327
328meson:g12b:
329  extends:
330    - .meson
331  parallel: 3
332  variables:
333    DEVICE_TYPE: meson-g12b-a311d-khadas-vim3
334    GPU_VERSION: g12b
335    RUNNER_TAG: mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
336
337virtio_gpu:none:
338  stage: virtio-gpu
339  variables:
340    CROSVM_GALLIUM_DRIVER: llvmpipe
341    DRIVER_NAME: virtio_gpu
342    GPU_VERSION: none
343  extends:
344    - .test-gl
345    - .test-rules
346  tags:
347    - kvm
348  script:
349    - ln -sf $CI_PROJECT_DIR/install /install
350    - mv install/bzImage /lava-files/bzImage
351    - mkdir -p $CI_PROJECT_DIR/results
352    - ln -sf $CI_PROJECT_DIR/results /results
353    - install/crosvm-runner.sh install/igt_runner.sh
354  needs:
355    - debian/x86_64_test-gl
356    - testing:x86_64
357    - igt:x86_64
358