1############### LAVA
2# Run three jobs in parallel each running 1/30th of the test suite
3radv_stoney_vkcts:amd64:
4  extends:
5    - .lava-test:amd64
6    - .radv-rules
7  parallel: 3
8  variables:
9    DEQP_VER: vk
10    DEQP_FRACTION: 10
11    FDO_CI_CONCURRENT: 4
12    DEQP_EXPECTED_RENDERER: STONEY
13    DEVICE_TYPE: hp-11A-G6-EE-grunt
14    DTB: ""
15    GPU_VERSION: radv-stoney-aco
16    BOOT_METHOD: depthcharge
17    KERNEL_IMAGE_TYPE: ""
18    HWCI_KERNEL_MODULES: amdgpu
19    HWCI_FREQ_MAX: "true"
20    VK_DRIVER: radeon
21    DRIVER_NAME: radv
22    RUNNER_TAG: mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
23
24############### Valve Infra
25.test-radv:
26  extends:
27    - .radv-rules
28  variables:
29    VK_DRIVER: radeon
30    DRIVER_NAME: radv
31    # The SPIRV -> NIR code generator generates so many harmless
32    # warnings on the shaders in VK-CTS that jobs fail due to the log
33    # size getting too big. Since it's not feasible right now
34    # to fix these shaders in the CTS, instead, ignore warnings from
35    # the code generator.
36    MESA_SPIRV_LOG_LEVEL: error
37    ACO_DEBUG: validateir,validatera
38    MESA_VK_IGNORE_CONFORMANCE_WARNING: 1
39
40.b2c-test-radv-vk:
41  extends:
42    - .test-radv
43    - .b2c-test-vk
44
45.b2c-test-radv-gl:
46  extends:
47    - .test-radv
48    - .b2c-test-gl
49  variables:
50    MESA_LOADER_DRIVER_OVERRIDE: zink
51
52.deqp-test-valve:
53  extends:
54    # Keep all the dEQP jobs as manual trigger jobs for now, until we
55    # have enough resources to meet the throughput requirements for
56    # automatic pre-merge in the Mesa CI.
57    - .test-manual-mr
58  variables:
59    B2C_JOB_SUCCESS_REGEX: '^\+ DEQP_EXITCODE=0\r$'
60    B2C_TEST_SCRIPT: ./install/deqp-runner.sh
61    B2C_JOB_VOLUME_EXCLUSIONS: "*.shader_cache"
62
63.kabini-test-valve:
64  variables:
65    B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=8g'
66  tags:
67    - amdgpu:codename:KABINI
68
69.polaris10-test-valve:
70  variables:
71    FDO_CI_CONCURRENT: 16
72    B2C_TIMEOUT_BOOT_RETRIES: 4
73    # (2022-01) tsc=unstable was added in response to this message in kmsg,
74    #    TSC found unstable after boot, most likely due to broken BIOS. Use 'tsc=unstable'.
75    B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g tsc=unstable'
76  tags:
77    - amdgpu:codename:POLARIS10
78
79.vega10-test-valve:
80  variables:
81    FDO_CI_CONCURRENT: 16
82    B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g'
83  tags:
84    - amdgpu:codename:VEGA10
85
86.renoir-test-valve:
87  variables:
88    FDO_CI_CONCURRENT: 24
89    B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g'
90    B2C_TIMEOUT_BOOT_MINUTES: 60
91    B2C_TIMEOUT_OVERALL_MINUTES: 120
92  tags:
93    - amdgpu:codename:RENOIR
94
95.navi10-test-valve:
96  variables:
97    FDO_CI_CONCURRENT: 24
98    # (2022-01) noapic is set because the serial adapter on this
99    # machine is using non-MSI IRQs and is generating a lot of
100    # IRQs. This tends to confuse the interrupt controller and breaks
101    # MSI IRQs leading to GPU hangs on amdgpu.
102    B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g noapic'
103  tags:
104    - amdgpu:codename:NAVI10
105
106.navi21-test-valve:
107  variables:
108    FDO_CI_CONCURRENT: 16
109    B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g'
110  tags:
111    - amdgpu:codename:NAVI21
112
113.vangogh-test-valve:
114  variables:
115    FDO_CI_CONCURRENT: 8
116    B2C_TIMEOUT_BOOT_MINUTES: 85
117    B2C_TIMEOUT_OVERALL_MINUTES: 120
118    B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g'
119  tags:
120    - amdgpu:codename:VANGOGH
121
122############### VKCTS tests ###############
123
124# A note on the variables to control fractional VKCTS runs
125#  parallel: N means to split the test list into chunks of 1/N lines, and
126#  DEQP_FRACTION: M means to run every Mth test from the resulting lines.
127#  So parallel: 2 and DEQP_FRACTION: 5 would imply running 1/10th of the suite.
128.vkcts-test-valve:
129  extends:
130    - .b2c-test-radv-vk
131    - .deqp-test-valve
132  variables:
133    DEQP_VER: vk
134    RADV_PERFTEST: nv_ms
135
136# VKCTS never finishes on gfx7 due to all the GPU resets and hangs.
137# Hence, disable it for now.
138vkcts-kabini-valve:
139  extends:
140    - .vkcts-test-valve
141    - .kabini-test-valve
142    - .test-manual-mr  # Make sure this job is *always* run manually
143  timeout: 12h
144  variables:
145    GPU_VERSION: radv-kabini-aco
146    B2C_TIMEOUT_BOOT_MINUTES: 710
147    B2C_TIMEOUT_OVERALL_MINUTES: 710
148    B2C_TIMEOUT_BOOT_RETRIES: 0
149
150# Disabled for now due to Igalia farm issues.
151.vkcts-stoney-valve:
152  extends:
153    - .vkcts-test-valve
154  parallel: 2
155  # The thin clients can't manage a full run in less than an hour
156  # currently.  Interpolation suggests four more thin clients (6
157  # total) would get the runtime under 15 minutes.
158  timeout: 4h 10m
159  variables:
160    GPU_VERSION: radv-stoney-aco
161    # Note, it only has a wee 32g disk!
162    B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=8g'
163    B2C_TIMEOUT_BOOT_MINUTES: 240
164    B2C_TIMEOUT_OVERALL_MINUTES: 240
165    B2C_TIMEOUT_BOOT_RETRIES: 0
166  tags:
167    - amdgpu:codename:STONEY
168
169vkcts-polaris10-valve:
170  extends:
171    - .vkcts-test-valve
172    - .polaris10-test-valve
173  variables:
174    GPU_VERSION: radv-polaris10-aco
175
176vkcts-vega10-valve:
177  extends:
178    - .vkcts-test-valve
179    - .vega10-test-valve
180  variables:
181    GPU_VERSION: radv-vega10-aco
182
183vkcts-renoir-valve:
184  extends:
185    - .vkcts-test-valve
186    - .renoir-test-valve
187  timeout: 2h 10m
188  variables:
189    GPU_VERSION: radv-renoir-aco
190
191vkcts-navi10-valve:
192  extends:
193    - .vkcts-test-valve
194    - .navi10-test-valve
195  variables:
196    GPU_VERSION: radv-navi10-aco
197
198vkcts-navi21-valve:
199  extends:
200    - .vkcts-test-valve
201    - .navi21-test-valve
202  variables:
203    GPU_VERSION: radv-navi21-aco
204
205vkcts-navi21-llvm-valve:
206  extends:
207    - .vkcts-test-valve
208    - .navi21-test-valve
209  variables:
210    GPU_VERSION: radv-navi21-llvm
211    RADV_DEBUG: llvm,checkir
212
213vkcts-vangogh-valve:
214  extends:
215    - .vkcts-test-valve
216    - .vangogh-test-valve
217  timeout: 2h 10m
218  variables:
219    GPU_VERSION: radv-vangogh-aco
220
221############### gles/GLCTS
222.glcts-test-valve:
223  extends:
224    - .b2c-test-radv-gl
225    - .deqp-test-valve
226  variables:
227    DEQP_VER: gl46
228
229glcts-navi10-valve:
230  extends:
231    - .glcts-test-valve
232    - .navi10-test-valve
233  variables:
234    GPU_VERSION: zink-radv
235
236.gles-test-valve:
237  extends:
238    - .b2c-test-radv-gl
239    - .deqp-test-valve
240  variables:
241    DEQP_SUITE: zink-radv
242
243gles-navi10-valve:
244  extends:
245    - .gles-test-valve
246    - .navi10-test-valve
247  variables:
248    GPU_VERSION: zink-radv
249
250############### Fossilize
251radv-fossils:
252  extends:
253    - .test-vk
254    - .test-radv
255    - .fossilize-test
256  script:
257    # Pitcairn (GFX6)
258    - export RADV_FORCE_FAMILY="PITCAIRN"
259    - ./install/fossilize-runner.sh
260    # Bonaire (GFX7)
261    - export RADV_FORCE_FAMILY="BONAIRE"
262    - ./install/fossilize-runner.sh
263    # Polaris10 (GFX8)
264    - export RADV_FORCE_FAMILY="POLARIS10"
265    - ./install/fossilize-runner.sh
266    # Vega10 (GFX9)
267    - export RADV_FORCE_FAMILY="VEGA10"
268    - ./install/fossilize-runner.sh
269    # Navi10 (GFX10)
270    - export RADV_FORCE_FAMILY="NAVI10"
271    - ./install/fossilize-runner.sh
272    # Navi21 (GFX10_3)
273    - export RADV_FORCE_FAMILY="NAVI21"
274    - ./install/fossilize-runner.sh
275
276############### vkd3d-proton
277.vkd3d-test-valve:
278  extends:
279    - .b2c-test-radv-vk
280    # Keep all the vkd3d-proton jobs as manual trigger jobs for now, until we
281    # have enough resources to meet the throughput requirements for
282    # automatic pre-merge in the Mesa CI.
283    - .test-manual-mr
284  variables:
285    B2C_JOB_SUCCESS_REGEX: 'SUCCESS: No changes found!\r$'
286    B2C_TEST_SCRIPT: ./install/vkd3d-proton/run.sh
287
288vkd3d-kabini-valve:
289  extends:
290    - .vkd3d-test-valve
291    - .kabini-test-valve
292  variables:
293    VKD3D_PROTON_RESULTS: radv-kabini-vkd3d
294
295vkd3d-polaris10-valve:
296  extends:
297    - .vkd3d-test-valve
298    - .polaris10-test-valve
299  variables:
300    VKD3D_PROTON_RESULTS: radv-polaris10-vkd3d
301
302vkd3d-vega10-valve:
303  extends:
304    - .vkd3d-test-valve
305    - .vega10-test-valve
306  variables:
307    VKD3D_PROTON_RESULTS: radv-vega10-vkd3d
308
309vkd3d-renoir-valve:
310  extends:
311    - .vkd3d-test-valve
312    - .renoir-test-valve
313  variables:
314    VKD3D_PROTON_RESULTS: radv-renoir-vkd3d
315
316vkd3d-navi10-valve:
317  extends:
318    - .vkd3d-test-valve
319    - .navi10-test-valve
320  variables:
321    VKD3D_PROTON_RESULTS: radv-navi10-vkd3d
322
323vkd3d-navi21-valve:
324  extends:
325    - .vkd3d-test-valve
326    - .navi21-test-valve
327  variables:
328    VKD3D_PROTON_RESULTS: radv-navi21-vkd3d
329
330vkd3d-vangogh-valve:
331  extends:
332    - .vkd3d-test-valve
333    - .vangogh-test-valve
334  variables:
335    VKD3D_PROTON_RESULTS: radv-vangogh-vkd3d
336