1.freedreno-test:
2  extends:
3    - .baremetal-test
4    - .use-debian/arm_test
5    - .freedreno-rules
6  variables:
7    MINIO_ARTIFACT_NAME: mesa-arm64
8    BM_ROOTFS: /rootfs-arm64
9    FLAKES_CHANNEL: "#freedreno-ci"
10    PIGLIT_PLATFORM: mixed_glx_egl
11    BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 root=/dev/nfs rw nfsrootdebug nfsroot=,tcp,nfsvers=4.2 init=/init $BM_KERNELARGS"
12  script:
13    - ./install/bare-metal/fastboot.sh
14  needs:
15    - debian/arm_test
16    - job: debian-arm64
17      artifacts: false
18  tags:
19    - google-freedreno-db410c
20
21.baremetal-deqp-test-freedreno-vk:
22  extends:
23    - .baremetal-deqp-test
24  variables:
25    DEQP_VER: vk
26    VK_DRIVER: freedreno
27    MESA_VK_IGNORE_CONFORMANCE_WARNING: 1
28
29.freedreno-test-traces:
30  extends:
31    - .piglit-traces-test
32  variables:
33    HWCI_TEST_SCRIPT: "/install/piglit/run.sh"
34    HWCI_START_XORG: 1
35    PIGLIT_REPLAY_DESCRIPTION_FILE: "/install/traces-freedreno.yml"
36  artifacts:
37    reports:
38      junit: results/junit.xml
39
40.a306-test:
41  extends:
42    - .freedreno-test
43  variables:
44    BM_KERNEL: /baremetal-files/Image.gz
45    BM_DTB: /baremetal-files/apq8016-sbc.dtb
46    GPU_VERSION: freedreno-a307
47
48a306_gl:
49  extends:
50    - .baremetal-deqp-test
51    - .a306-test
52  variables:
53    DEQP_SUITE: freedreno-a307
54  parallel: 5
55
56a306-traces:
57  extends:
58    - .freedreno-test-traces
59    - .a306-test
60  variables:
61    PIGLIT_REPLAY_DEVICE_NAME: "freedreno-a306"
62    PIGLIT_RESULTS: "freedreno-a306-replay"
63
64.a530-test:
65  extends:
66    - .freedreno-test
67    - .test-manual-mr
68  variables:
69    BM_KERNEL: /baremetal-files/Image.gz
70    BM_DTB: /baremetal-files/apq8096-db820c.dtb
71    GPU_VERSION: freedreno-a530
72  tags:
73    - google-freedreno-db820c
74
75a530_gl:
76  extends:
77    - .baremetal-deqp-test
78    - .a530-test
79  variables:
80    DEQP_SUITE: freedreno-a530
81  parallel: 5
82
83.a530_piglit:
84  extends:
85    - .piglit-test
86    - .a530-test
87  variables:
88    HWCI_TEST_SCRIPT: "/install/piglit/piglit-runner.sh"
89    HWCI_START_XORG: 1
90
91# piglit_gl since it takes a bit under 20 minutes and has a lot of flakes, so
92# leave it as manual.
93a530_piglit_gl:
94  extends:
95    - .a530_piglit
96    - .test-manual-mr
97  variables:
98    PIGLIT_PROFILES: quick_gl
99
100a530_piglit_shader:
101  extends:
102    - .a530_piglit
103  parallel: 2
104  variables:
105    PIGLIT_PROFILES: quick_shader
106
107a530-traces:
108  extends:
109    - .freedreno-test-traces
110    - .a530-test
111  variables:
112    PIGLIT_REPLAY_DEVICE_NAME: "freedreno-a530"
113    PIGLIT_RESULTS: "freedreno-a530-replay"
114
115.a630-test:
116  extends:
117    - .freedreno-test
118  variables:
119    FDO_CI_CONCURRENT: 10
120    BM_KERNEL: /baremetal-files/cheza-kernel
121    BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 root=/dev/nfs rw nfsrootdebug nfsroot=,tcp,nfsvers=4.2 init=/init"
122    GPU_VERSION: freedreno-a630
123  tags:
124    - google-freedreno-cheza
125  script:
126    - ./install/bare-metal/cros-servo.sh
127
128a630_gl:
129  extends:
130    - .baremetal-deqp-test
131    - .a630-test
132  parallel: 4
133  variables:
134    DEQP_SUITE: freedreno-a630
135
136# Robustness tests may be disruptive to other tests, so we run EGL's robustness
137# tests separately.
138a630_egl:
139  extends:
140    - .baremetal-deqp-test
141    - .a630-test
142  variables:
143    DEQP_VER: egl
144    HWCI_START_XORG: 1
145    HWCI_TEST_SCRIPT: "/install/bare-metal/arm64_a630_egl.sh"
146
147a630_gles_asan:
148  extends:
149    - .baremetal-deqp-test
150    - .a630-test
151    - .baremetal-arm64-asan-test
152    - .test-manual
153  variables:
154    DEQP_VER: gles31
155    DEQP_FRACTION: 10
156    DEQP_EXPECTED_RENDERER: FD630
157    GPU_VERSION: freedreno-a630-asan
158
159a630_vk:
160  extends:
161    - .a630-test
162    - .baremetal-deqp-test-freedreno-vk
163  parallel: 3
164  variables:
165    DEQP_SUITE: freedreno-a630-vk
166
167a630_vk_full:
168  extends:
169    - a630_vk
170    - .test-manual-mr
171  parallel: 2
172  variables:
173    DEQP_SUITE: freedreno-a630-vk-full
174
175# Disabled by default until we can sort out what looks like timeouts before
176# getting to the first test (or is it at cleanup after tests completed?).
177# Clicking play can show you some useful areas for fixing turnip, though.
178a630_vk_asan:
179  extends:
180    - .a630-test
181    - .baremetal-deqp-test-freedreno-vk
182    - .baremetal-arm64-asan-test
183    - .test-manual
184  variables:
185    DEQP_EXPECTED_RENDERER: "Turnip Adreno (TM) 630"
186    DEQP_FRACTION: 100
187    FDO_CI_CONCURRENT: 4 # We get OOMkills if we go too wide with asan enabled
188    TU_DEBUG: forcebin
189    # Disable the leak checks, since the library gets dlclose()d and thus get
190    # totally useless leak reports.  We can still catch buffer overflows.
191    ASAN_OPTIONS: "detect_leaks=0"
192
193a630_piglit:
194  extends:
195    - .piglit-test
196    - .a630-test
197  variables:
198    HWCI_TEST_SCRIPT: "/install/piglit/piglit-runner.sh"
199    HWCI_START_XORG: 1
200    PIGLIT_PROFILES: gpu
201
202a630-traces:
203  extends:
204    - .freedreno-test-traces
205    - .a630-test
206  variables:
207    PIGLIT_REPLAY_DEVICE_NAME: "freedreno-a630"
208    PIGLIT_RESULTS: "freedreno-a630-replay"
209    # This lets us run several more traces which don't use any features we're
210    # missing.
211    MESA_GLSL_VERSION_OVERRIDE: "460"
212    MESA_GL_VERSION_OVERRIDE: "4.6"
213
214a630-traces-restricted:
215  extends:
216    - a630-traces
217    - .freedreno-rules-restricted
218  variables:
219    PIGLIT_REPLAY_DESCRIPTION_FILE: "/install/restricted-traces-freedreno.yml"
220    PIGLIT_REPLAY_EXTRA_ARGS:  --keep-image --db-path ${CI_PROJECT_DIR}/replayer-db/ --minio_host=minio-packet.freedesktop.org --minio_bucket=mesa-tracie-private --role-session-name=${CI_PROJECT_PATH}:${CI_JOB_ID} --jwt=${CI_JOB_JWT}
221  allow_failure: true
222
223a630-traces-performance:
224  extends:
225    - a630-traces
226    - .freedreno-rules-performance
227  variables:
228    PIGLIT_REPLAY_SUBCOMMAND: "profile"
229    PIGLIT_REPLAY_EXTRA_ARGS: "--db-path ${CI_PROJECT_DIR}/replayer-db/"
230    # More than this can hit OOM due to BOs leaked during the replay of the last frame
231    PIGLIT_REPLAY_LOOP_TIMES: 150
232    # We don't want for more than one workload to be submitted to the GPU at a time
233    FDO_CI_CONCURRENT: 1
234    # So we aren't capped by VSync by the X server
235    EGL_PLATFORM: surfaceless
236    GIT_STRATEGY: none
237    HWCI_FREQ_MAX: "true"
238  allow_failure: true
239