xref: /openbmc/linux/drivers/gpu/drm/ci/test.yml (revision 1baf6c5f)
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    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: 3
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: 12
182  variables:
183    DEVICE_TYPE: asus-C523NA-A20057-coral
184    GPU_VERSION: apl
185    RUNNER_TAG: mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
186
187i915:glk:
188  extends:
189    - .i915
190  parallel: 5
191  variables:
192    DEVICE_TYPE: hp-x360-12b-ca0010nr-n4020-octopus
193    GPU_VERSION: glk
194    RUNNER_TAG: mesa-ci-x86-64-lava-hp-x360-12b-ca0010nr-n4020-octopus
195
196i915:amly:
197  extends:
198    - .i915
199  parallel: 8
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: 5
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: 8
218  variables:
219    DEVICE_TYPE: dell-latitude-5400-8665U-sarien
220    GPU_VERSION: whl
221    RUNNER_TAG: mesa-ci-x86-64-lava-dell-latitude-5400-8665U-sarien
222
223i915:cml:
224  extends:
225    - .i915
226  parallel: 6
227  variables:
228    DEVICE_TYPE: asus-C436FA-Flip-hatch
229    GPU_VERSION: cml
230    RUNNER_TAG: mesa-ci-x86-64-lava-asus-C436FA-flip-hatch
231
232i915:tgl:
233  extends:
234    - .i915
235  parallel: 6
236  variables:
237    DEVICE_TYPE: asus-cx9400-volteer
238    GPU_VERSION: tgl
239    RUNNER_TAG: mesa-ci-x86-64-lava-asus-cx9400-volteer
240
241.amdgpu:
242  extends:
243    - .lava-igt:x86_64
244  stage: amdgpu
245  variables:
246    DRIVER_NAME: amdgpu
247    DTB: ""
248    BOOT_METHOD: depthcharge
249    KERNEL_IMAGE_TYPE: ""
250
251amdgpu:stoney:
252  extends:
253    - .amdgpu
254  variables:
255    DEVICE_TYPE: hp-11A-G6-EE-grunt
256    GPU_VERSION: stoney
257    RUNNER_TAG: mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
258
259.mediatek:
260  extends:
261    - .lava-igt:arm64
262  stage: mediatek
263  variables:
264    DRIVER_NAME: mediatek
265    DTB: ${DEVICE_TYPE}
266    BOOT_METHOD: depthcharge
267    KERNEL_IMAGE_TYPE: ""
268
269mediatek:mt8173:
270  extends:
271    - .mediatek
272  variables:
273    DEVICE_TYPE: mt8173-elm-hana
274    GPU_VERSION: mt8173
275    RUNNER_TAG: mesa-ci-x86-64-lava-mt8173-elm-hana
276  rules:
277    # TODO: current issue: device is hanging. Fix and remove this rule.
278    - when: never
279
280mediatek:mt8183:
281  extends:
282    - .mediatek
283  variables:
284    DEVICE_TYPE: mt8183-kukui-jacuzzi-juniper-sku16
285    GPU_VERSION: mt8183
286    RUNNER_TAG: mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16
287
288# drm-mtk doesn't even probe yet in mainline for mt8192
289.mediatek:mt8192:
290  extends:
291    - .mediatek
292  variables:
293    DEVICE_TYPE: mt8192-asurada-spherion-r0
294    GPU_VERSION: mt8192
295    RUNNER_TAG: mesa-ci-x86-64-lava-mt8192-asurada-spherion-r0
296
297.meson:
298  extends:
299    - .lava-igt:arm64
300  stage: meson
301  variables:
302    DRIVER_NAME: meson
303    DTB: ${DEVICE_TYPE}
304    BOOT_METHOD: u-boot
305    KERNEL_IMAGE_TYPE: "image"
306
307meson:g12b:
308  extends:
309    - .meson
310  variables:
311    DEVICE_TYPE: meson-g12b-a311d-khadas-vim3
312    GPU_VERSION: g12b
313    RUNNER_TAG: mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
314
315virtio_gpu:none:
316  stage: virtio-gpu
317  variables:
318    CROSVM_GALLIUM_DRIVER: llvmpipe
319    DRIVER_NAME: virtio_gpu
320    GPU_VERSION: none
321  extends:
322    - .test-gl
323  tags:
324    - kvm
325  script:
326    - ln -sf $CI_PROJECT_DIR/install /install
327    - mv install/bzImage /lava-files/bzImage
328    - install/crosvm-runner.sh install/igt_runner.sh
329  needs:
330    - debian/x86_64_test-gl
331    - testing:x86_64
332    - igt:x86_64
333  rules:
334    # TODO: current issue: malloc(): corrupted top size. Fix and remove this rule.
335    - when: never