1bf215546Sopenharmony_ci.freedreno-test:
2bf215546Sopenharmony_ci  extends:
3bf215546Sopenharmony_ci    - .baremetal-test-arm64
4bf215546Sopenharmony_ci    - .freedreno-rules
5bf215546Sopenharmony_ci  variables:
6bf215546Sopenharmony_ci    VK_DRIVER: freedreno
7bf215546Sopenharmony_ci    FLAKES_CHANNEL: "#freedreno-ci"
8bf215546Sopenharmony_ci    PIGLIT_PLATFORM: mixed_glx_egl
9bf215546Sopenharmony_ci    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"
10bf215546Sopenharmony_ci  script:
11bf215546Sopenharmony_ci    - ./install/bare-metal/fastboot.sh
12bf215546Sopenharmony_ci  tags:
13bf215546Sopenharmony_ci    - google-freedreno-db410c
14bf215546Sopenharmony_ci
15bf215546Sopenharmony_ci.baremetal-deqp-test-freedreno-vk:
16bf215546Sopenharmony_ci  extends:
17bf215546Sopenharmony_ci    - .baremetal-deqp-test
18bf215546Sopenharmony_ci  variables:
19bf215546Sopenharmony_ci    DEQP_VER: vk
20bf215546Sopenharmony_ci    # Increase the hangcheck timer for our spilling tests which bump up against
21bf215546Sopenharmony_ci    # the .5s default.
22bf215546Sopenharmony_ci    FREEDRENO_HANGCHECK_MS: 2000
23bf215546Sopenharmony_ci
24bf215546Sopenharmony_ci.freedreno-test-traces:
25bf215546Sopenharmony_ci  extends:
26bf215546Sopenharmony_ci    - .piglit-traces-test
27bf215546Sopenharmony_ci  variables:
28bf215546Sopenharmony_ci    HWCI_TEST_SCRIPT: "/install/piglit/piglit-traces.sh"
29bf215546Sopenharmony_ci    HWCI_START_XORG: 1
30bf215546Sopenharmony_ci    PIGLIT_REPLAY_DESCRIPTION_FILE: "/install/traces-freedreno.yml"
31bf215546Sopenharmony_ci  artifacts:
32bf215546Sopenharmony_ci    reports:
33bf215546Sopenharmony_ci      junit: results/junit.xml
34bf215546Sopenharmony_ci
35bf215546Sopenharmony_ci.a306-test:
36bf215546Sopenharmony_ci  extends:
37bf215546Sopenharmony_ci    - .freedreno-test
38bf215546Sopenharmony_ci  variables:
39bf215546Sopenharmony_ci    BM_KERNEL: /baremetal-files/Image.gz
40bf215546Sopenharmony_ci    BM_DTB: /baremetal-files/apq8016-sbc.dtb
41bf215546Sopenharmony_ci    GPU_VERSION: freedreno-a307
42bf215546Sopenharmony_ci
43bf215546Sopenharmony_cia306_gl:
44bf215546Sopenharmony_ci  extends:
45bf215546Sopenharmony_ci    - .baremetal-deqp-test
46bf215546Sopenharmony_ci    - .a306-test
47bf215546Sopenharmony_ci  variables:
48bf215546Sopenharmony_ci    DEQP_SUITE: freedreno-a307
49bf215546Sopenharmony_ci    FDO_CI_CONCURRENT: 6
50bf215546Sopenharmony_ci  parallel: 5
51bf215546Sopenharmony_ci
52bf215546Sopenharmony_ci# New jobs. Leave it as manual for now.
53bf215546Sopenharmony_ci.a306_piglit:
54bf215546Sopenharmony_ci  extends:
55bf215546Sopenharmony_ci    - .piglit-test
56bf215546Sopenharmony_ci    - .a306-test
57bf215546Sopenharmony_ci    - .test-manual-mr
58bf215546Sopenharmony_ci  variables:
59bf215546Sopenharmony_ci    HWCI_START_XORG: 1
60bf215546Sopenharmony_ci
61bf215546Sopenharmony_cia306_piglit_gl:
62bf215546Sopenharmony_ci  extends:
63bf215546Sopenharmony_ci    - .a306_piglit
64bf215546Sopenharmony_ci  variables:
65bf215546Sopenharmony_ci    PIGLIT_PROFILES: quick_gl
66bf215546Sopenharmony_ci    BM_KERNEL_EXTRA_ARGS: "msm.num_hw_submissions=1"
67bf215546Sopenharmony_ci    FDO_CI_CONCURRENT: 3
68bf215546Sopenharmony_ci
69bf215546Sopenharmony_cia306_piglit_shader:
70bf215546Sopenharmony_ci  extends:
71bf215546Sopenharmony_ci    - .a306_piglit
72bf215546Sopenharmony_ci  variables:
73bf215546Sopenharmony_ci    PIGLIT_PROFILES: quick_shader
74bf215546Sopenharmony_ci    FDO_CI_CONCURRENT: 6
75bf215546Sopenharmony_ci
76bf215546Sopenharmony_cia306-traces:
77bf215546Sopenharmony_ci  extends:
78bf215546Sopenharmony_ci    - .freedreno-test-traces
79bf215546Sopenharmony_ci    - .a306-test
80bf215546Sopenharmony_ci  variables:
81bf215546Sopenharmony_ci    PIGLIT_REPLAY_DEVICE_NAME: "freedreno-a306"
82bf215546Sopenharmony_ci    PIGLIT_RESULTS: "freedreno-a306-replay"
83bf215546Sopenharmony_ci
84bf215546Sopenharmony_ci.a530-test:
85bf215546Sopenharmony_ci  extends:
86bf215546Sopenharmony_ci    - .freedreno-test
87bf215546Sopenharmony_ci  variables:
88bf215546Sopenharmony_ci    BM_KERNEL: /baremetal-files/Image.gz
89bf215546Sopenharmony_ci    BM_KERNEL_EXTRA_ARGS: maxcpus=2
90bf215546Sopenharmony_ci    BM_DTB: /baremetal-files/apq8096-db820c.dtb
91bf215546Sopenharmony_ci    GPU_VERSION: freedreno-a530
92bf215546Sopenharmony_ci  tags:
93bf215546Sopenharmony_ci    - google-freedreno-db820c
94bf215546Sopenharmony_ci
95bf215546Sopenharmony_cia530_gl:
96bf215546Sopenharmony_ci  extends:
97bf215546Sopenharmony_ci    - .baremetal-deqp-test
98bf215546Sopenharmony_ci    - .a530-test
99bf215546Sopenharmony_ci  variables:
100bf215546Sopenharmony_ci    DEQP_SUITE: freedreno-a530
101bf215546Sopenharmony_ci  parallel: 6
102bf215546Sopenharmony_ci
103bf215546Sopenharmony_ci.a530_piglit:
104bf215546Sopenharmony_ci  extends:
105bf215546Sopenharmony_ci    - .piglit-test
106bf215546Sopenharmony_ci    - .a530-test
107bf215546Sopenharmony_ci  variables:
108bf215546Sopenharmony_ci    HWCI_START_XORG: 1
109bf215546Sopenharmony_ci
110bf215546Sopenharmony_ci# piglit_gl since it takes a bit under 20 minutes and has a lot of flakes, so
111bf215546Sopenharmony_ci# leave it as manual.  The shader_tests are in the main a530_gl suite.
112bf215546Sopenharmony_cia530_piglit_gl:
113bf215546Sopenharmony_ci  extends:
114bf215546Sopenharmony_ci    - .a530_piglit
115bf215546Sopenharmony_ci    - .test-manual-mr
116bf215546Sopenharmony_ci  variables:
117bf215546Sopenharmony_ci    PIGLIT_PROFILES: quick_gl
118bf215546Sopenharmony_ci
119bf215546Sopenharmony_cia530-traces:
120bf215546Sopenharmony_ci  extends:
121bf215546Sopenharmony_ci    - .freedreno-test-traces
122bf215546Sopenharmony_ci    - .a530-test
123bf215546Sopenharmony_ci  variables:
124bf215546Sopenharmony_ci    PIGLIT_REPLAY_DEVICE_NAME: "freedreno-a530"
125bf215546Sopenharmony_ci    PIGLIT_RESULTS: "freedreno-a530-replay"
126bf215546Sopenharmony_ci
127bf215546Sopenharmony_cia618_vk:
128bf215546Sopenharmony_ci  extends:
129bf215546Sopenharmony_ci    - .lava-test:arm64
130bf215546Sopenharmony_ci    - .turnip-rules
131bf215546Sopenharmony_ci  parallel: 7
132bf215546Sopenharmony_ci  variables:
133bf215546Sopenharmony_ci    VK_DRIVER: freedreno
134bf215546Sopenharmony_ci    DEQP_SUITE: freedreno-a618-vk
135bf215546Sopenharmony_ci    GPU_VERSION: freedreno-a618
136bf215546Sopenharmony_ci    MESA_VK_IGNORE_CONFORMANCE_WARNING: 1
137bf215546Sopenharmony_ci    DEVICE_TYPE: sc7180-trogdor-lazor-limozeen
138bf215546Sopenharmony_ci    DTB: sc7180-trogdor-lazor-limozeen-nots-r5
139bf215546Sopenharmony_ci    BOOT_METHOD: depthcharge
140bf215546Sopenharmony_ci    KERNEL_IMAGE_TYPE: ""
141bf215546Sopenharmony_ci    RUNNER_TAG: mesa-ci-x86-64-lava-sc7180-trogdor-lazor-limozeen
142bf215546Sopenharmony_ci    # Increase the hangcheck timer for our spilling tests which bump up against
143bf215546Sopenharmony_ci    # the .5s default.
144bf215546Sopenharmony_ci    FREEDRENO_HANGCHECK_MS: 2000
145bf215546Sopenharmony_ci
146bf215546Sopenharmony_cia618_vk_full:
147bf215546Sopenharmony_ci  extends:
148bf215546Sopenharmony_ci    - a618_vk
149bf215546Sopenharmony_ci    - .test-manual-mr
150bf215546Sopenharmony_ci  # We use a longer timeout to keep the parallel down so that we don't lock up
151bf215546Sopenharmony_ci  # too many runners for a long time when a dev is trying out at full VK status.
152bf215546Sopenharmony_ci  timeout: 2h
153bf215546Sopenharmony_ci  parallel: 2
154bf215546Sopenharmony_ci  variables:
155bf215546Sopenharmony_ci    # ran into OOM with VK-GL-CTS 1.2.8.0 at 6
156bf215546Sopenharmony_ci    FDO_CI_CONCURRENT: 4
157bf215546Sopenharmony_ci    DEQP_SUITE: freedreno-a618-vk-full
158bf215546Sopenharmony_ci    JOB_TIMEOUT: 120
159bf215546Sopenharmony_ci
160bf215546Sopenharmony_ci.a630-test:
161bf215546Sopenharmony_ci  extends:
162bf215546Sopenharmony_ci    - .freedreno-test
163bf215546Sopenharmony_ci  variables:
164bf215546Sopenharmony_ci    FDO_CI_CONCURRENT: 10
165bf215546Sopenharmony_ci    BM_KERNEL: /baremetal-files/cheza-kernel
166bf215546Sopenharmony_ci    BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 root=/dev/nfs rw nfsrootdebug nfsroot=,tcp,nfsvers=4.2 init=/init"
167bf215546Sopenharmony_ci    GPU_VERSION: freedreno-a630
168bf215546Sopenharmony_ci  tags:
169bf215546Sopenharmony_ci    - google-freedreno-cheza
170bf215546Sopenharmony_ci  script:
171bf215546Sopenharmony_ci    - ./install/bare-metal/cros-servo.sh
172bf215546Sopenharmony_ci
173bf215546Sopenharmony_cia630_gl:
174bf215546Sopenharmony_ci  extends:
175bf215546Sopenharmony_ci    - .baremetal-deqp-test
176bf215546Sopenharmony_ci    - .a630-test
177bf215546Sopenharmony_ci  parallel: 4
178bf215546Sopenharmony_ci  variables:
179bf215546Sopenharmony_ci    DEQP_SUITE: freedreno-a630
180bf215546Sopenharmony_ci
181bf215546Sopenharmony_ci# Robustness tests may be disruptive to other tests, so we run EGL's robustness
182bf215546Sopenharmony_ci# tests separately.
183bf215546Sopenharmony_cia630_egl:
184bf215546Sopenharmony_ci  extends:
185bf215546Sopenharmony_ci    - .baremetal-deqp-test
186bf215546Sopenharmony_ci    - .a630-test
187bf215546Sopenharmony_ci  variables:
188bf215546Sopenharmony_ci    DEQP_VER: egl
189bf215546Sopenharmony_ci    HWCI_START_XORG: 1
190bf215546Sopenharmony_ci    HWCI_TEST_SCRIPT: "/install/bare-metal/arm64_a630_egl.sh"
191bf215546Sopenharmony_ci
192bf215546Sopenharmony_cia630_gles_asan:
193bf215546Sopenharmony_ci  extends:
194bf215546Sopenharmony_ci    - .baremetal-deqp-test
195bf215546Sopenharmony_ci    - .a630-test
196bf215546Sopenharmony_ci    - .baremetal-arm64-asan-test
197bf215546Sopenharmony_ci  variables:
198bf215546Sopenharmony_ci    DEQP_VER: gles31
199bf215546Sopenharmony_ci    DEQP_FRACTION: 100
200bf215546Sopenharmony_ci    DEQP_EXPECTED_RENDERER: FD630
201bf215546Sopenharmony_ci    FDO_CI_CONCURRENT: 2 # We get OOMkills if we go too wide with asan enabled
202bf215546Sopenharmony_ci    GPU_VERSION: freedreno-a630-asan
203bf215546Sopenharmony_ci
204bf215546Sopenharmony_cia630_skqp:
205bf215546Sopenharmony_ci  extends:
206bf215546Sopenharmony_ci    - .baremetal-skqp-test
207bf215546Sopenharmony_ci    - .a630-test
208bf215546Sopenharmony_ci    - .freedreno-turnip-rules
209bf215546Sopenharmony_ci  variables:
210bf215546Sopenharmony_ci    # Possible skqp backends: gl, gles, unitTest and vk
211bf215546Sopenharmony_ci    SKQP_BACKENDS: gl gles vk unitTest  # space separated values
212bf215546Sopenharmony_ci    VK_DRIVER: freedreno
213bf215546Sopenharmony_ci
214bf215546Sopenharmony_cia630_vk:
215bf215546Sopenharmony_ci  extends:
216bf215546Sopenharmony_ci    - .a630-test
217bf215546Sopenharmony_ci    - .baremetal-deqp-test-freedreno-vk
218bf215546Sopenharmony_ci    - .turnip-rules
219bf215546Sopenharmony_ci  variables:
220bf215546Sopenharmony_ci    DEQP_SUITE: freedreno-a630-vk
221bf215546Sopenharmony_ci
222bf215546Sopenharmony_cia630_vk_full:
223bf215546Sopenharmony_ci  # We use a longer timeout (2 hour job, 110 minute deqp) to keep the parallel
224bf215546Sopenharmony_ci  # down so that we don't lock up too many runners for a long time when a dev is
225bf215546Sopenharmony_ci  # testing full VK status.
226bf215546Sopenharmony_ci  timeout: 2h
227bf215546Sopenharmony_ci  extends:
228bf215546Sopenharmony_ci    - a630_vk
229bf215546Sopenharmony_ci    - .test-manual-mr
230bf215546Sopenharmony_ci  parallel: 2
231bf215546Sopenharmony_ci  variables:
232bf215546Sopenharmony_ci    DEQP_SUITE: freedreno-a630-vk-full
233bf215546Sopenharmony_ci    TEST_PHASE_TIMEOUT: 110
234bf215546Sopenharmony_ci
235bf215546Sopenharmony_cia630_vk_asan:
236bf215546Sopenharmony_ci  extends:
237bf215546Sopenharmony_ci    - .a630-test
238bf215546Sopenharmony_ci    - .baremetal-deqp-test-freedreno-vk
239bf215546Sopenharmony_ci    - .baremetal-arm64-asan-test
240bf215546Sopenharmony_ci    - .turnip-rules
241bf215546Sopenharmony_ci  variables:
242bf215546Sopenharmony_ci    DEQP_SUITE: freedreno-a630-vk-asan
243bf215546Sopenharmony_ci    FDO_CI_CONCURRENT: 2 # We get OOMkills if we go too wide with asan enabled
244bf215546Sopenharmony_ci    GPU_VERSION: freedreno-a630-asan
245bf215546Sopenharmony_ci
246bf215546Sopenharmony_cia630_piglit:
247bf215546Sopenharmony_ci  extends:
248bf215546Sopenharmony_ci    - .piglit-test
249bf215546Sopenharmony_ci    - .a630-test
250bf215546Sopenharmony_ci    # Note that piglit has GL+VK integration testing.
251bf215546Sopenharmony_ci    - .freedreno-turnip-rules
252bf215546Sopenharmony_ci  variables:
253bf215546Sopenharmony_ci    HWCI_START_XORG: 1
254bf215546Sopenharmony_ci    PIGLIT_PROFILES: gpu
255bf215546Sopenharmony_ci
256bf215546Sopenharmony_cia630-traces:
257bf215546Sopenharmony_ci  extends:
258bf215546Sopenharmony_ci    - .freedreno-test-traces
259bf215546Sopenharmony_ci    - .a630-test
260bf215546Sopenharmony_ci  variables:
261bf215546Sopenharmony_ci    PIGLIT_REPLAY_DEVICE_NAME: "freedreno-a630"
262bf215546Sopenharmony_ci    PIGLIT_RESULTS: "freedreno-a630-replay"
263bf215546Sopenharmony_ci    # This lets us run several more traces which don't use any features we're
264bf215546Sopenharmony_ci    # missing.
265bf215546Sopenharmony_ci    MESA_GLSL_VERSION_OVERRIDE: "460"
266bf215546Sopenharmony_ci    MESA_GL_VERSION_OVERRIDE: "4.6"
267bf215546Sopenharmony_ci
268bf215546Sopenharmony_cia630-traces-restricted:
269bf215546Sopenharmony_ci  extends:
270bf215546Sopenharmony_ci    - a630-traces
271bf215546Sopenharmony_ci    - .freedreno-rules-restricted
272bf215546Sopenharmony_ci  variables:
273bf215546Sopenharmony_ci    PIGLIT_REPLAY_DESCRIPTION_FILE: "/install/restricted-traces-freedreno.yml"
274bf215546Sopenharmony_ci    PIGLIT_REPLAY_EXTRA_ARGS: --keep-image --db-path ${CI_PROJECT_DIR}/replayer-db/ --minio_bucket=mesa-tracie-private --jwt-file=${CI_JOB_JWT_FILE}
275bf215546Sopenharmony_ci  allow_failure: true
276bf215546Sopenharmony_ci
277bf215546Sopenharmony_cia630-traces-performance:
278bf215546Sopenharmony_ci  extends:
279bf215546Sopenharmony_ci    - a630-traces
280bf215546Sopenharmony_ci    - .freedreno-rules-performance
281bf215546Sopenharmony_ci  variables:
282bf215546Sopenharmony_ci    PIGLIT_REPLAY_SUBCOMMAND: "profile"
283bf215546Sopenharmony_ci    PIGLIT_REPLAY_EXTRA_ARGS: "--db-path ${CI_PROJECT_DIR}/replayer-db/"
284bf215546Sopenharmony_ci    # More than this can hit OOM due to BOs leaked during the replay of the last frame
285bf215546Sopenharmony_ci    PIGLIT_REPLAY_LOOP_TIMES: 150
286bf215546Sopenharmony_ci    # We don't want for more than one workload to be submitted to the GPU at a time
287bf215546Sopenharmony_ci    FDO_CI_CONCURRENT: 1
288bf215546Sopenharmony_ci    # Piglit is very sparse in its status output and downloads of big traces can take a while
289bf215546Sopenharmony_ci    LAVA_DEVICE_HANGING_TIMEOUT_SEC: 600
290bf215546Sopenharmony_ci    # So we aren't capped by VSync by the X server
291bf215546Sopenharmony_ci    EGL_PLATFORM: surfaceless
292bf215546Sopenharmony_ci    GIT_STRATEGY: none
293bf215546Sopenharmony_ci    HWCI_FREQ_MAX: "true"
294bf215546Sopenharmony_ci  allow_failure: true
295