• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1.radeonsi-rules:
2  stage: amd
3  rules:
4    - !reference [.test, rules]
5    - !reference [.collabora-farm-rules, rules]
6    - !reference [.gl-rules, rules]
7    - changes: &amd_common_file_list
8        - src/amd/*
9        - src/amd/addrlib/**/*
10        - src/amd/ci/gitlab-ci.yml
11        - src/amd/ci/gitlab-ci-inc.yml
12        - src/amd/ci/deqp-$DEQP_SUITE.toml
13        - src/amd/ci/$GPU_VERSION-fails.txt
14        - src/amd/ci/$GPU_VERSION-flakes.txt
15        - src/amd/ci/$GPU_VERSION-skips.txt
16        - src/amd/ci/$PIGLIT_TRACES_FILE
17        - src/amd/common/**/*
18        - src/amd/llvm/**/*
19        - src/amd/registers/**/*
20      when: on_success
21    - changes: &radeonsi_file_list
22        - src/gallium/drivers/radeonsi/**/*
23        - src/gallium/include/winsys/**/*
24        - src/gallium/winsys/amdgpu/**/*
25        - src/amd/vpelib/**/*
26      when: on_success
27
28.radv-rules:
29  stage: amd
30  rules:
31    - !reference [.test, rules]
32    - !reference [.vulkan-rules, rules]
33    - changes:
34        *amd_common_file_list
35      when: on_success
36    - changes: &radv_file_list
37        - src/amd/compiler/**/*
38        - src/amd/vulkan/**/*
39        - src/vulkan/**/*
40      when: on_success
41
42.radv-collabora-rules:
43  stage: amd
44  rules:
45    - !reference [.test, rules]
46    - !reference [.collabora-farm-rules, rules]
47    - !reference [.radv-rules, rules]
48
49.radv-valve-rules:
50  stage: amd
51  rules:
52    - !reference [.test, rules]
53    - !reference [.valve-farm-rules, rules]
54    - !reference [.radv-rules, rules]
55
56.radv-valve-manual-rules:
57  stage: amd
58  retry: !reference [.scheduled_pipeline-rules, retry]
59  rules:
60    - !reference [.test, rules]
61    - !reference [.valve-farm-manual-rules, rules]
62    - !reference [.vulkan-manual-rules, rules]
63    - changes:
64        *amd_common_file_list
65      when: on_success
66    - changes:
67        *radv_file_list
68      when: manual
69
70.radeonsi+radv-rules:
71  stage: amd
72  rules:
73    - !reference [.test, rules]
74    - !reference [.radeonsi-rules, rules]
75    - !reference [.radv-rules, rules]
76
77.radeonsi-vaapi-rules:
78  stage: amd
79  rules:
80    - !reference [.test, rules]
81    - !reference [.radeonsi-rules, rules]
82    - changes: &radeon_vcn_file_list
83        - src/gallium/frontends/va/**/*
84        - src/gallium/targets/va/**/*
85      when: on_success
86
87.radeonsi-vaapi-manual-rules:
88  stage: amd
89  rules:
90    - !reference [.test, rules]
91    - !reference [.collabora-farm-manual-rules, rules]
92    - !reference [.gl-manual-rules, rules]
93    - changes:
94        *radeon_vcn_file_list
95      when: manual
96
97.radeonsi-valve-rules:
98  stage: amd
99  rules:
100    - !reference [.test, rules]
101    - !reference [.valve-farm-rules, rules]
102    - !reference [.radeonsi-rules, rules]
103
104.radeonsi-valve-manual-rules:
105  stage: amd
106  rules:
107    - !reference [.test, rules]
108    - !reference [.valve-farm-manual-rules, rules]
109    - !reference [.gl-manual-rules, rules]
110    - changes:
111        *amd_common_file_list
112      when: manual
113    - changes:
114        *radeonsi_file_list
115      when: manual
116
117
118# Status: https://lava.collabora.dev/scheduler/device_type/acer-R721T-grunt
119.lava-acer-R721T-grunt:x86_64:
120  variables:
121    BOOT_METHOD: depthcharge
122    DEVICE_TYPE: acer-R721T-grunt
123    DTB: ""
124    FDO_CI_CONCURRENT: 3
125    HWCI_FREQ_MAX: "true"
126    HWCI_KERNEL_MODULES: amdgpu
127    KERNEL_IMAGE_TYPE: ""
128    RUNNER_TAG: mesa-ci-x86-64-lava-acer-R721T-grunt
129    VK_DRIVER: radeon
130
131# Status: https://lava.collabora.dev/scheduler/device_type/hp-14-db0003na-grunt
132.lava-hp-14-db0003na-grunt:x86_64:
133  variables:
134    BOOT_METHOD: depthcharge
135    DEVICE_TYPE: hp-14-db0003na-grunt
136    DTB: ""
137    FDO_CI_CONCURRENT: 3
138    HWCI_FREQ_MAX: "true"
139    HWCI_KERNEL_MODULES: amdgpu
140    KERNEL_IMAGE_TYPE: ""
141    RUNNER_TAG: mesa-ci-x86-64-lava-hp-14-db0003na-grunt
142    VK_DRIVER: radeon
143
144# Status: https://lava.collabora.dev/scheduler/device_type/asus-CM1400CXA-dalboz
145.lava-asus-CM1400CXA-dalboz:x86_64:
146  variables:
147    BOOT_METHOD: depthcharge
148    DEVICE_TYPE: asus-CM1400CXA-dalboz
149    DTB: ""
150#   FDO_CI_CONCURRENT: ?
151    HWCI_FREQ_MAX: "true"
152    HWCI_KERNEL_MODULES: amdgpu
153    KERNEL_IMAGE_TYPE: ""
154    RUNNER_TAG: mesa-ci-x86-64-lava-asus-CM1400CXA-dalboz
155
156# Status: https://lava.collabora.dev/scheduler/device_type/lenovo-TPad-C13-Yoga-zork
157.lava-lenovo-TPad-C13-Yoga-zork:x86_64:
158  variables:
159    BOOT_METHOD: depthcharge
160    DEVICE_TYPE: lenovo-TPad-C13-Yoga-zork
161    DTB: ""
162#   FDO_CI_CONCURRENT: ?
163    HWCI_FREQ_MAX: "true"
164    HWCI_KERNEL_MODULES: amdgpu
165    KERNEL_IMAGE_TYPE: ""
166    RUNNER_TAG: mesa-ci-x86-64-lava-lenovo-TPad-C13-Yoga-zork
167
168
169############### LAVA
170# job prefixes: radeonsi (OpenGL), radv (Vulkan), amd (radeonsi+radv)
171.stoney-test:x86_64:
172  variables:
173    DEQP_EXPECTED_RENDERER: STONEY
174    FLAKES_CHANNEL: "#amd-ci"
175
176.radeonsi-stoney-test:x86_64:
177  extends:
178    - .stoney-test:x86_64
179    - .lava-acer-R721T-grunt:x86_64
180    - .radeonsi-rules
181  variables:
182    GPU_VERSION: radeonsi-stoney
183    DRIVER_NAME: radeonsi
184    PIGLIT_PLATFORM: mixed_glx_egl
185
186.radv-stoney-test:x86_64:
187  extends:
188    - .stoney-test:x86_64
189    - .lava-hp-14-db0003na-grunt:x86_64
190    - .radv-collabora-rules
191  variables:
192    DEQP_VER: vk
193    DRIVER_NAME: radv
194    GPU_VERSION: radv-stoney-aco
195
196.radeonsi-raven-test:x86_64:
197  extends:
198    - .radeonsi-rules
199  variables:
200    GPU_VERSION: radeonsi-raven
201    DRIVER_NAME: radeonsi
202
203.radv-raven-test:x86_64:
204  extends:
205    - .radv-collabora-rules
206  variables:
207    DRIVER_NAME: radv
208    GPU_VERSION: radv-raven
209    VK_DRIVER: radeon
210
211.amd-raven-test:x86_64:
212  extends:
213    - .radeonsi+radv-rules
214  variables:
215    DRIVER_NAME: radeonsi
216    GPU_VERSION: amd-raven
217    VK_DRIVER: radeon
218
219.radv-traces:
220  extends:
221    - .lava-piglit-traces:x86_64
222  variables:
223    PIGLIT_PLATFORM: mixed_glx_egl  # TODO, take wine/VK in account
224    PIGLIT_TRACES_FILE: traces-amd.yml
225
226############### Valve Infra
227.test-radv:
228  variables:
229    VK_DRIVER: radeon
230    DRIVER_NAME: radv
231    # The SPIRV -> NIR code generator generates so many harmless
232    # warnings on the shaders in VK-CTS that jobs fail due to the log
233    # size getting too big. Since it's not feasible right now
234    # to fix these shaders in the CTS, instead, ignore warnings from
235    # the code generator.
236    ACO_DEBUG: validateir,validatera
237    MESA_VK_IGNORE_CONFORMANCE_WARNING: 1
238    # Enable ETC2 emulation on non-native platforms (RENOIR,RDNA+, GFX6-8 dGPUs)
239    radv_require_etc2: 'true'
240
241.b2c-test-radv-vk:
242  extends:
243    - .radv-valve-rules
244    - .test-radv
245    - .b2c-test-vk
246
247.deqp-test-valve:
248  variables:
249    B2C_JOB_SUCCESS_REGEX: '^\+ DEQP_EXITCODE=0\r$'
250    HWCI_TEST_SCRIPT: ./install/deqp-runner.sh
251
252.tahiti-test-valve:
253  variables:
254    FDO_CI_CONCURRENT: 8
255    RUNNER_FARM_LOCATION: mupuf
256    B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=8g'
257  tags:
258    - farm:$RUNNER_FARM_LOCATION
259    - amdgpu:codename:TAHITI
260
261.kabini-test-valve:
262  variables:
263    RUNNER_FARM_LOCATION: mupuf
264    B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=8g'
265  tags:
266    - farm:$RUNNER_FARM_LOCATION
267    - amdgpu:codename:KABINI
268
269.polaris10-test-valve:
270  variables:
271    FDO_CI_CONCURRENT: 16
272    B2C_TIMEOUT_BOOT_RETRIES: 4
273    # (2022-01) tsc=unstable was added in response to this message in kmsg,
274    #    TSC found unstable after boot, most likely due to broken BIOS. Use 'tsc=unstable'.
275    B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g tsc=unstable'
276  tags:
277    - farm:$RUNNER_FARM_LOCATION
278    - amdgpu:codename:POLARIS10
279
280.polaris10-test-valve-mupuf:
281  extends: .polaris10-test-valve
282  variables:
283    RUNNER_FARM_LOCATION: mupuf
284
285.polaris10-test-valve-kws:
286  extends: .polaris10-test-valve
287  variables:
288    RUNNER_FARM_LOCATION: keywords
289
290.vega10-test-valve:
291  variables:
292    RUNNER_FARM_LOCATION: keywords
293    FDO_CI_CONCURRENT: 16
294    B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g'
295  tags:
296    - farm:$RUNNER_FARM_LOCATION
297    - amdgpu:codename:VEGA10
298
299.renoir-test-valve:
300  variables:
301    RUNNER_FARM_LOCATION: mupuf
302    FDO_CI_CONCURRENT: 16
303    B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g'
304    B2C_TIMEOUT_BOOT_MINUTES: 60
305    B2C_TIMEOUT_OVERALL_MINUTES: 120
306  tags:
307    - farm:$RUNNER_FARM_LOCATION
308    - amdgpu:codename:RENOIR
309
310.navi10-test-valve:
311  variables:
312    # (2022-01) noapic is set because the serial adapter on this
313    # machine is using non-MSI IRQs and is generating a lot of
314    # IRQs. This tends to confuse the interrupt controller and breaks
315    # MSI IRQs leading to GPU hangs on amdgpu.
316    B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g noapic'
317  tags:
318    - farm:$RUNNER_FARM_LOCATION
319    - amdgpu:codename:NAVI10
320
321.navi10-test-valve-mupuf:
322  extends:
323    - .navi10-test-valve
324  variables:
325    RUNNER_FARM_LOCATION: mupuf
326    FDO_CI_CONCURRENT: 24
327
328.navi10-test-valve-kws:
329  extends:
330    - .navi10-test-valve
331  variables:
332    RUNNER_FARM_LOCATION: keywords
333    FDO_CI_CONCURRENT: 16
334
335.navi21-test-valve:
336  variables:
337    RUNNER_FARM_LOCATION: keywords
338    FDO_CI_CONCURRENT: 32
339    B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g'
340  tags:
341    - farm:$RUNNER_FARM_LOCATION
342    - amdgpu:codename:NAVI21
343
344.vangogh-test-valve:
345  variables:
346    RUNNER_FARM_LOCATION: mupuf
347    FDO_CI_CONCURRENT: 8
348    B2C_TIMEOUT_BOOT_MINUTES: 85
349    B2C_TIMEOUT_OVERALL_MINUTES: 120
350    B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g'
351  tags:
352    - farm:$RUNNER_FARM_LOCATION
353    - amdgpu:codename:VANGOGH
354    - $VALVE_INFRA_VANGOGH_JOB_PRIORITY
355
356.navi31-test-valve:
357  variables:
358    RUNNER_FARM_LOCATION: keywords
359    FDO_CI_CONCURRENT: 32
360    B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g'
361    B2C_KERNEL_URL: 'https://gitlab.freedesktop.org/mupuf/boot2container/-/releases/v0.9.10/downloads/linux-x86_64'  # Linux 6.3
362  tags:
363    - farm:$RUNNER_FARM_LOCATION
364    - amdgpu:codename:NAVI31
365
366############### VKCTS tests ###############
367
368# A note on the variables to control fractional VKCTS runs
369#  parallel: N means to split the test list into chunks of 1/N lines, and
370#  DEQP_FRACTION: M means to run every Mth test from the resulting lines.
371#  So parallel: 2 and DEQP_FRACTION: 5 would imply running 1/10th of the suite.
372.vkcts-test-valve:
373  extends:
374    - .b2c-test-radv-vk
375    - .deqp-test-valve
376  variables:
377    DEQP_VER: vk
378
379############### vkd3d-proton
380.vkd3d-test-valve:
381  extends:
382    - .b2c-test-radv-vk
383  variables:
384    B2C_JOB_SUCCESS_REGEX: 'vkd3d-proton execution: SUCCESS\r$'
385    HWCI_TEST_SCRIPT: ./install/vkd3d-proton/run.sh
386
387.vkd3d-kabini-valve:
388  extends:
389    - .vkd3d-test-valve
390    - .kabini-test-valve
391    - .radv-valve-manual-rules
392  variables:
393    VKD3D_PROTON_RESULTS: radv-kabini-vkd3d
394