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