summaryrefslogtreecommitdiff
path: root/src/freedreno/ci/gitlab-ci.yml
blob: b64c1da1089d51a6d0ea2090fed533f0e16ca952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
.freedreno-test:
  extends:
    - .baremetal-test
    - .use-arm_test
    - .freedreno-rules
  variables:
    MINIO_ARTIFACT_NAME: mesa-arm64
    BM_ROOTFS: /rootfs-arm64
    FLAKES_CHANNEL: "#freedreno-ci"
    PIGLIT_PLATFORM: mixed_glx_egl
    BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 root=/dev/nfs rw nfsrootdebug nfsroot=,tcp,nfsvers=4.2 init=/init $BM_KERNELARGS"
  script:
    - ./install/bare-metal/fastboot.sh
  needs:
    - arm_test
    - job: meson-arm64
      artifacts: false
  tags:
    - google-freedreno-db410c

.baremetal-deqp-test-freedreno-vk:
  extends:
    - .baremetal-deqp-test
  variables:
    DEQP_VER: vk
    VK_DRIVER: freedreno

.freedreno-test-traces:
  extends:
    - .piglit-traces-test
  variables:
    HWCI_TEST_SCRIPT: "/install/piglit/run.sh"
    HWCI_START_XORG: 1
    PIGLIT_REPLAY_DESCRIPTION_FILE: "/install/traces-freedreno.yml"
  artifacts:
    reports:
      junit: results/junit.xml

.a306-test:
  extends:
    - .freedreno-test
  variables:
    BM_KERNEL: /baremetal-files/Image.gz
    BM_DTB: /baremetal-files/apq8016-sbc.dtb
    GPU_VERSION: freedreno-a307
    DEQP_EXPECTED_RENDERER: FD307

a306_gles2:
  extends:
    - .baremetal-deqp-test
    - .a306-test
  variables:
    DEQP_VER: gles2

a306_gles3:
  extends:
    - .baremetal-deqp-test
    - .a306-test
  parallel: 3
  variables:
    DEQP_VER: gles3

# Fractional runs with debug options.  Note that since we're not
# hitting the iommu faults, we can run in parallel (derive from gles2, not gles3).
a306_gles3_options:
  extends:
    - .baremetal-deqp-test
    - .a306-test
  variables:
    DEQP_VER: gles3
  script:
    # Check that the non-constbuf UBO case works.
    - DEQP_RUN_SUFFIX=-nouboopt IR3_SHADER_DEBUG=nouboopt DEQP_CASELIST_FILTER="functional.*ubo" ./install/bare-metal/fastboot.sh

a306-traces:
  extends:
    - .freedreno-test-traces
    - .a306-test
  variables:
    PIGLIT_REPLAY_DEVICE_NAME: "freedreno-a306"
    PIGLIT_RESULTS: "freedreno-a306-replay"

.a530-test:
  extends:
    - .freedreno-test
  variables:
    BM_KERNEL: /baremetal-files/Image.gz
    BM_DTB: /baremetal-files/apq8096-db820c.dtb
    GPU_VERSION: freedreno-a530
    DEQP_EXPECTED_RENDERER: FD530
  tags:
    - google-freedreno-db820c

a530_gles2:
  extends:
    - .baremetal-deqp-test
    - .a530-test
  variables:
    DEQP_VER: gles2

a530_gles3:
  extends:
    - .baremetal-deqp-test
    - .a530-test
  parallel: 2
  variables:
    DEQP_VER: gles3
    DEQP_FRACTION: 2

a530_gles31:
  extends:
    - a530_gles3
  parallel: 2
  variables:
    DEQP_VER: gles31

.a530_piglit:
  extends:
    - .piglit-test
    - .a530-test
  variables:
    HWCI_TEST_SCRIPT: "/install/piglit/piglit-runner.sh"
    HWCI_START_XORG: 1

# piglit_gl since it takes a bit under 20 minutes and has a lot of flakes, so
# leave it as manual.
a530_piglit_gl:
  extends:
    - .a530_piglit
    - .test-manual-mr
  variables:
    PIGLIT_PROFILES: quick_gl

a530_piglit_shader:
  extends:
    - .a530_piglit
  parallel: 2
  variables:
    PIGLIT_PROFILES: quick_shader

a530-traces:
  extends:
    - .freedreno-test-traces
    - .a530-test
  variables:
    PIGLIT_REPLAY_DEVICE_NAME: "freedreno-a530"
    PIGLIT_RESULTS: "freedreno-a530-replay"

.a630-test:
  extends:
    - .freedreno-test
  variables:
    DEQP_PARALLEL: 10
    BM_KERNEL: /baremetal-files/cheza-kernel
    BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 root=/dev/nfs rw nfsrootdebug nfsroot=,tcp,nfsvers=4.2 init=/init"
    GPU_VERSION: freedreno-a630
    DEQP_EXPECTED_RENDERER: FD630
  tags:
    - google-freedreno-cheza
  script:
    - ./install/bare-metal/cros-servo.sh

a630_gles2:
  extends:
    - .baremetal-deqp-test
    - .a630-test
  variables:
    DEQP_VER: gles2

a630_gles31:
  extends:
    - .baremetal-deqp-test
    - .a630-test
  variables:
    DEQP_VER: gles31

a630_gles3:
  extends:
    - .baremetal-deqp-test
    - .a630-test
  variables:
    DEQP_VER: gles3

a630_gl:
  extends:
    - .baremetal-deqp-test
    - .a630-test
  variables:
    DEQP_VER: gl33

a630_egl:
  extends:
    - .baremetal-deqp-test
    - .a630-test
  variables:
    DEQP_VER: egl
    HWCI_START_XORG: 1
    HWCI_TEST_SCRIPT: "/install/bare-metal/arm64_a630_egl.sh"

a630_gles_others:
  extends:
    - .baremetal-deqp-test
    - .a630-test
  variables:
    HWCI_TEST_SCRIPT: "/install/bare-metal/arm64_a630_gles_others.sh"

a630_gles_asan:
  extends:
    - .baremetal-deqp-test
    - .a630-test
    - .baremetal-arm64-asan-test
    - .test-manual
  variables:
    DEQP_VER: gles31
    DEQP_FRACTION: 10
    GPU_VERSION: freedreno-a630-asan

a630_vk:
  extends:
    - .baremetal-deqp-test-freedreno-vk
    - .a630-test
  parallel: 2
  variables:
    DEQP_FRACTION: 4
    # Force binning in the main run, which makes sure we render at
    # least 2 bins.  This is the path that impacts the most different
    # features.  However, we end up with flaky results in
    # dEQP-VK.binding_model.*.geometry and dEQP-VK.glsl.*_vertex.
    TU_DEBUG: forcebin

# Disabled by default until we can sort out what looks like timeouts before
# getting to the first test (or is it at cleanup after tests completed?).
# Clicking play can show you some useful areas for fixing turnip, though.
a630_vk_asan:
  extends:
    - .baremetal-deqp-test-freedreno-vk
    - .a630-test
    - .baremetal-arm64-asan-test
    - .test-manual
  variables:
    DEQP_FRACTION: 100
    DEQP_PARALLEL: 4 # We get OOMkills if we go too wide with asan enabled
    TU_DEBUG: forcebin
    # Disable the leak checks, since the library gets dlclose()d and thus get
    # totally useless leak reports.  We can still catch buffer overflows.
    ASAN_OPTIONS: "detect_leaks=0"

# Do a separate sysmem pass over the testcases that really affect sysmem
# rendering.  This is currently very flaky, leave it as an option for devs
# to click play on in their branches.
a630_vk_sysmem:
  extends:
    - .baremetal-deqp-test-freedreno-vk
    - .a630-test
  variables:
    DEQP_FRACTION: 15
    DEQP_CASELIST_FILTER: "dEQP-VK.renderpass.*"
    GPU_VERSION: freedreno-a630-bypass
    TU_DEBUG: sysmem

a630_piglit:
  extends:
    - .piglit-test
    - .a630-test
  variables:
    HWCI_TEST_SCRIPT: "/install/piglit/piglit-runner.sh"
    HWCI_START_XORG: 1
    PIGLIT_PROFILES: gpu

a630-traces:
  extends:
    - .freedreno-test-traces
    - .a630-test
  variables:
    PIGLIT_REPLAY_DEVICE_NAME: "freedreno-a630"
    PIGLIT_RESULTS: "freedreno-a630-replay"
    # This lets us run several more traces which don't use any features we're
    # missing.
    MESA_GLSL_VERSION_OVERRIDE: "460"
    MESA_GL_VERSION_OVERRIDE: "4.6"