1bf215546Sopenharmony_ci.virpipe-test:
2bf215546Sopenharmony_ci  extends:
3bf215546Sopenharmony_ci    - .test-gl
4bf215546Sopenharmony_ci    - .virgl-rules
5bf215546Sopenharmony_ci  variables:
6bf215546Sopenharmony_ci    GALLIVM_PERF: nopt
7bf215546Sopenharmony_ci    FLAKES_CHANNEL: "#virgl-ci"
8bf215546Sopenharmony_ci  script:
9bf215546Sopenharmony_ci    - xvfb-run --server-args='-noreset' sh -c "GALLIUM_DRIVER=virpipe install/deqp-runner.sh"
10bf215546Sopenharmony_ci
11bf215546Sopenharmony_civirpipe-on-gl:
12bf215546Sopenharmony_ci  extends:
13bf215546Sopenharmony_ci    - .deqp-test
14bf215546Sopenharmony_ci    - .virpipe-test
15bf215546Sopenharmony_ci  variables:
16bf215546Sopenharmony_ci    DEQP_SUITE: virpipe-gl
17bf215546Sopenharmony_ci    GPU_VERSION: virpipe-gl
18bf215546Sopenharmony_ci  tags:
19bf215546Sopenharmony_ci    - mesa-swrast
20bf215546Sopenharmony_ci
21bf215546Sopenharmony_ci.virgl-test:
22bf215546Sopenharmony_ci  extends:
23bf215546Sopenharmony_ci    - .test-gl
24bf215546Sopenharmony_ci    - .virgl-rules
25bf215546Sopenharmony_ci  variables:
26bf215546Sopenharmony_ci    FLAKES_CHANNEL: "#virgl-ci"
27bf215546Sopenharmony_ci    GALLIUM_DRIVER: "virgl"
28bf215546Sopenharmony_ci    CROSVM_GALLIUM_DRIVER: "llvmpipe"
29bf215546Sopenharmony_ci    CROSVM_GPU_ARGS: "gles=false,backend=virglrenderer,egl=true,surfaceless=true,width=1024,height=768"
30bf215546Sopenharmony_ci    GALLIVM_PERF: "nopt,no_quad_lod"
31bf215546Sopenharmony_ci
32bf215546Sopenharmony_civirgl-on-gl:
33bf215546Sopenharmony_ci  variables:
34bf215546Sopenharmony_ci    DEQP_SUITE: virgl-gl
35bf215546Sopenharmony_ci    GPU_VERSION: virgl-gl
36bf215546Sopenharmony_ci    LP_NUM_THREADS: 1 # There will be FDO_CI_CONCURRENT Crosvm processes, so each should use a single thread
37bf215546Sopenharmony_ci  parallel: 3
38bf215546Sopenharmony_ci  tags:
39bf215546Sopenharmony_ci    - kvm
40bf215546Sopenharmony_ci  extends:
41bf215546Sopenharmony_ci    - .deqp-test
42bf215546Sopenharmony_ci    - .virgl-test
43bf215546Sopenharmony_ci
44bf215546Sopenharmony_civirgl-on-gles:
45bf215546Sopenharmony_ci  variables:
46bf215546Sopenharmony_ci    VIRGL_HOST_API: GLES
47bf215546Sopenharmony_ci    DEQP_SUITE: virgl-gles
48bf215546Sopenharmony_ci    GPU_VERSION: virgl-gles
49bf215546Sopenharmony_ci    CROSVM_GPU_ARGS: "gles=true,backend=virglrenderer,egl=true,surfaceless=true,width=1024,height=768"
50bf215546Sopenharmony_ci  extends:
51bf215546Sopenharmony_ci    - virgl-on-gl
52bf215546Sopenharmony_ci
53bf215546Sopenharmony_civirgl-traces:
54bf215546Sopenharmony_ci  extends:
55bf215546Sopenharmony_ci    - .virgl-test
56bf215546Sopenharmony_ci    - .piglit-traces-test
57bf215546Sopenharmony_ci  variables:
58bf215546Sopenharmony_ci    EGL_PLATFORM: "surfaceless"
59bf215546Sopenharmony_ci    PIGLIT_REPLAY_DESCRIPTION_FILE: "${CI_PROJECT_DIR}/install/traces-virgl.yml"
60bf215546Sopenharmony_ci    PIGLIT_REPLAY_DEVICE_NAME: "gl-virgl"
61bf215546Sopenharmony_ci    PIGLIT_RESULTS: "virgl-replay"
62bf215546Sopenharmony_ci    LD_LIBRARY_PATH: "${CI_PROJECT_DIR}/install/lib/"     # For Crosvm
63bf215546Sopenharmony_ci  tags:
64bf215546Sopenharmony_ci    - kvm
65bf215546Sopenharmony_ci  script:
66bf215546Sopenharmony_ci    # Use all threads for rendering and only run one job at a time
67bf215546Sopenharmony_ci    # Couldn't get GitLab CI to correctly substitute the variable in the yaml
68bf215546Sopenharmony_ci    - LP_NUM_THREADS=${FDO_CI_CONCURRENT} FDO_CI_CONCURRENT=1 install/crosvm-runner.sh install/piglit/piglit-traces.sh
69bf215546Sopenharmony_ci
70bf215546Sopenharmony_ci.virgl-iris-test:
71bf215546Sopenharmony_ci  extends:
72bf215546Sopenharmony_ci    - .lava-piglit-traces:amd64
73bf215546Sopenharmony_ci  variables:
74bf215546Sopenharmony_ci    DEVICE_TYPE: asus-cx9400-volteer
75bf215546Sopenharmony_ci    BOOT_METHOD: depthcharge
76bf215546Sopenharmony_ci    HWCI_KERNEL_MODULES: vhost_vsock
77bf215546Sopenharmony_ci    HWCI_KVM: "true"
78bf215546Sopenharmony_ci    HWCI_TEST_SCRIPT: "LP_NUM_THREADS=${FDO_CI_CONCURRENT} FDO_CI_CONCURRENT=1 /install/crosvm-runner.sh /install/piglit/piglit-traces.sh"
79bf215546Sopenharmony_ci    GPU_VERSION: virgl
80bf215546Sopenharmony_ci    DRIVER_NAME: virgl
81bf215546Sopenharmony_ci    GALLIUM_DRIVER: virgl
82bf215546Sopenharmony_ci    CROSVM_GALLIUM_DRIVER: iris
83bf215546Sopenharmony_ci    CROSVM_GPU_ARGS: "gles=false,backend=virglrenderer,egl=true,surfaceless=true,width=1024,height=768"
84bf215546Sopenharmony_ci    EGL_PLATFORM: surfaceless
85bf215546Sopenharmony_ci    PIGLIT_PROFILES: replay
86bf215546Sopenharmony_ci    PIGLIT_REPLAY_DESCRIPTION_FILE: "/install/traces-virgl-iris.yml"
87bf215546Sopenharmony_ci    RUNNER_TAG: mesa-ci-x86-64-lava-asus-cx9400-volteer
88bf215546Sopenharmony_ci
89bf215546Sopenharmony_civirgl-iris-traces:
90bf215546Sopenharmony_ci  extends:
91bf215546Sopenharmony_ci    - .virgl-iris-test
92bf215546Sopenharmony_ci    - .virgl-rules
93bf215546Sopenharmony_ci    - .test-manual-mr
94bf215546Sopenharmony_ci  variables:
95bf215546Sopenharmony_ci    PIGLIT_REPLAY_EXTRA_ARGS: "--keep-image --download-caching-proxy-url=${FDO_HTTP_CACHE_URI}"
96bf215546Sopenharmony_ci
97bf215546Sopenharmony_civirgl-iris-traces-performance:
98bf215546Sopenharmony_ci  extends:
99bf215546Sopenharmony_ci    - .virgl-iris-test
100bf215546Sopenharmony_ci    - .virgl-iris-rules-performance
101bf215546Sopenharmony_ci  variables:
102bf215546Sopenharmony_ci    HWCI_FREQ_MAX: "true"
103bf215546Sopenharmony_ci    PIGLIT_REPLAY_SUBCOMMAND: profile
104bf215546Sopenharmony_ci    PIGLIT_REPLAY_LOOP_TIMES: 150
105bf215546Sopenharmony_ci    PIGLIT_REPLAY_EXTRA_ARGS: "--download-caching-proxy-url=${FDO_HTTP_CACHE_URI}"
106bf215546Sopenharmony_ci  allow_failure: true
107