xref: /openbmc/linux/drivers/gpu/drm/ci/test.yml (revision cc3519b8)
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: 2
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: 3
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: 12
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: 5
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: 8
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: 5
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: 8
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: 6
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: 6
239  variables:
240    DEVICE_TYPE: asus-cx9400-volteer
241    GPU_VERSION: tgl
242    RUNNER_TAG: mesa-ci-x86-64-lava-asus-cx9400-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  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  variables:
276    DEVICE_TYPE: mt8173-elm-hana
277    GPU_VERSION: mt8173
278    RUNNER_TAG: mesa-ci-x86-64-lava-mt8173-elm-hana
279  rules:
280    # TODO: current issue: device is hanging. Fix and remove this rule.
281    - when: never
282
283mediatek:mt8183:
284  extends:
285    - .mediatek
286  variables:
287    DEVICE_TYPE: mt8183-kukui-jacuzzi-juniper-sku16
288    GPU_VERSION: mt8183
289    RUNNER_TAG: mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16
290
291# drm-mtk doesn't even probe yet in mainline for mt8192
292.mediatek:mt8192:
293  extends:
294    - .mediatek
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  variables:
314    DEVICE_TYPE: meson-g12b-a311d-khadas-vim3
315    GPU_VERSION: g12b
316    RUNNER_TAG: mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
317
318virtio_gpu:none:
319  stage: virtio-gpu
320  variables:
321    CROSVM_GALLIUM_DRIVER: llvmpipe
322    DRIVER_NAME: virtio_gpu
323    GPU_VERSION: none
324  extends:
325    - .test-gl
326  tags:
327    - kvm
328  script:
329    - ln -sf $CI_PROJECT_DIR/install /install
330    - mv install/bzImage /lava-files/bzImage
331    - install/crosvm-runner.sh install/igt_runner.sh
332  needs:
333    - debian/x86_64_test-gl
334    - testing:x86_64
335    - igt:x86_64
336  rules:
337    # TODO: current issue: malloc(): corrupted top size. Fix and remove this rule.
338    - when: never