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