xref: /aosp_15_r20/external/mesa3d/src/gallium/drivers/nouveau/ci/gitlab-ci-inc.yml (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1.nouveau-rules:
2  stage: nouveau
3  rules:
4    - !reference [.test, rules]
5    - !reference [.anholt-farm-rules, rules]
6    - !reference [.gl-rules, rules]
7    - changes: &nouveau_file_list
8        - src/nouveau/*
9        - src/nouveau/codegen/**/*
10        - src/nouveau/drm/**/*
11        - src/nouveau/drm-shim/**/*
12        - src/nouveau/headers/**/*
13        - src/nouveau/winsys/**/*
14        - src/gallium/drivers/nouveau/*
15        - src/gallium/drivers/nouveau/nv*/**/*
16        - src/gallium/drivers/nouveau/ci/gitlab-ci.yml
17        - src/gallium/drivers/nouveau/ci/gitlab-ci-inc.yml
18        - src/gallium/drivers/nouveau/ci/deqp-$DEQP_SUITE.toml
19        - src/gallium/drivers/nouveau/ci/$GPU_VERSION-fails.txt
20        - src/gallium/drivers/nouveau/ci/$GPU_VERSION-flakes.txt
21        - src/gallium/drivers/nouveau/ci/$GPU_VERSION-skips.txt
22        - src/gallium/winsys/kmsro/**/*
23        - src/gallium/winsys/nouveau/**/*
24      when: on_success
25
26.nouveau-manual-rules:
27  stage: nouveau-postmerge
28  extends: .no-auto-retry
29  rules:
30    - !reference [.test, rules]
31    - !reference [.anholt-farm-manual-rules, rules]
32    - !reference [.gl-manual-rules, rules]
33    - changes:
34        *nouveau_file_list
35      when: manual
36
37
38# General settings for bare-metal nouveau testing on either arm64 or arm32.
39.nouveau-bm-test:
40  extends:
41    - .nouveau-rules
42  variables:
43    FLAKES_CHANNEL: "#nouveau-ci"
44  timeout: 20m
45
46# 6 devices (2023-xx-xx)
47.anholt-tegra124-jetson-tk1:arm32:
48  variables:
49    BM_BOOTFS: /baremetal-files/jetson-tk1/
50    BM_CMDLINE: "console=ttyS0,115200n8 rw nfsrootdebug init=/init ip=dhcp root=/dev/nfs nfsroot=,tcp,nfsvers=4.2"
51    BM_DTB: tegra124-jetson-tk1
52    BM_KERNEL: zImage
53    DEVICE_TYPE: tegra124-jetson-tk1
54    FARM: anholt
55    GPU_VERSION: nouveau-gk20a
56    # 4 CPUs, but spawn a couple extra threads to make sure they stay busy while
57    # some are waiting for the GPU.
58    FDO_CI_CONCURRENT: 6
59    # We package nouveau as a module so that we can load it after the firmware is
60    # available on NFS.
61    HWCI_KERNEL_MODULES: tegra-drm,nouveau
62  script:
63    - ./install/bare-metal/poe-powered.sh
64  tags:
65    - anholt-nouveau-jetson-tk1
66
67# 0 devices (2023-02-08)
68.google-tegra210-p3450-0000:arm64:
69  variables:
70    BM_BOOTFS: /baremetal-files/jetson-nano/
71    BM_CMDLINE: "console=ttyS0,115200n8 rw nfsrootdebug init=/init nfsroot=,tcp,nfsvers=4.2"
72    BM_DTB: tegra210-p3450-0000
73    BM_KERNEL: Image
74    DEVICE_TYPE: tegra210-p3450-0000
75    GPU_VERSION: nouveau-gm20b
76    # 4 CPUs, but spawn a couple extra threads to make sure they stay busy while
77    # some are waiting for the GPU.
78    FDO_CI_CONCURRENT: 6
79    # We package nouveau as a module so that we can load it after the firmware is
80    # available on NFS.
81    HWCI_KERNEL_MODULES: tegra-drm,nouveau
82  script:
83    - ./install/bare-metal/poe-powered.sh
84  tags:
85    - google-nouveau-jetson-nano
86