mesa/src/amd/ci/gitlab-ci-inc.yml

395 lines
10 KiB
YAML

.radeonsi-rules:
stage: amd
rules:
- !reference [.test, rules]
- !reference [.collabora-farm-rules, rules]
- !reference [.gl-rules, rules]
- changes: &amd_common_file_list
- src/amd/*
- src/amd/addrlib/**/*
- src/amd/ci/gitlab-ci.yml
- src/amd/ci/gitlab-ci-inc.yml
- src/amd/ci/deqp-$DEQP_SUITE.toml
- src/amd/ci/$GPU_VERSION-fails.txt
- src/amd/ci/$GPU_VERSION-flakes.txt
- src/amd/ci/$GPU_VERSION-skips.txt
- src/amd/ci/$PIGLIT_TRACES_FILE
- src/amd/common/**/*
- src/amd/llvm/**/*
- src/amd/registers/**/*
when: on_success
- changes: &radeonsi_file_list
- src/gallium/drivers/radeonsi/**/*
- src/gallium/include/winsys/**/*
- src/gallium/winsys/amdgpu/**/*
- src/amd/vpelib/**/*
when: on_success
.radv-rules:
stage: amd
rules:
- !reference [.test, rules]
- !reference [.vulkan-rules, rules]
- changes:
*amd_common_file_list
when: on_success
- changes: &radv_file_list
- src/amd/compiler/**/*
- src/amd/vulkan/**/*
- src/vulkan/**/*
when: on_success
.radv-collabora-rules:
stage: amd
rules:
- !reference [.test, rules]
- !reference [.collabora-farm-rules, rules]
- !reference [.radv-rules, rules]
.radv-collabora-rules-restricted:
stage: amd
rules:
- !reference [.test, rules]
- !reference [.restricted-rules, rules]
- !reference [.radv-collabora-rules, rules]
.radv-valve-rules:
stage: amd
rules:
- !reference [.test, rules]
- !reference [.valve-farm-rules, rules]
- !reference [.radv-rules, rules]
.radv-valve-manual-rules:
stage: amd
retry: !reference [.scheduled_pipeline-rules, retry]
rules:
- !reference [.test, rules]
- !reference [.valve-farm-manual-rules, rules]
- !reference [.vulkan-manual-rules, rules]
- changes:
*amd_common_file_list
when: on_success
- changes:
*radv_file_list
when: manual
.radeonsi+radv-rules:
stage: amd
rules:
- !reference [.test, rules]
- !reference [.radeonsi-rules, rules]
- !reference [.radv-rules, rules]
.radeonsi-vaapi-rules:
stage: amd
rules:
- !reference [.test, rules]
- !reference [.radeonsi-rules, rules]
- changes: &radeon_vcn_file_list
- src/gallium/frontends/va/**/*
- src/gallium/targets/va/**/*
when: on_success
.radeonsi-vaapi-manual-rules:
stage: amd
rules:
- !reference [.test, rules]
- !reference [.collabora-farm-manual-rules, rules]
- !reference [.gl-manual-rules, rules]
- changes:
*radeon_vcn_file_list
when: manual
.radeonsi-valve-rules:
stage: amd
rules:
- !reference [.test, rules]
- !reference [.valve-farm-rules, rules]
- !reference [.radeonsi-rules, rules]
.radeonsi-valve-manual-rules:
stage: amd
rules:
- !reference [.test, rules]
- !reference [.valve-farm-manual-rules, rules]
- !reference [.gl-manual-rules, rules]
- changes:
*amd_common_file_list
when: manual
- changes:
*radeonsi_file_list
when: manual
# Status: https://lava.collabora.dev/scheduler/device_type/acer-R721T-grunt
.lava-acer-R721T-grunt:x86_64:
variables:
BOOT_METHOD: depthcharge
DEVICE_TYPE: acer-R721T-grunt
DTB: ""
FDO_CI_CONCURRENT: 3
HWCI_FREQ_MAX: "true"
HWCI_KERNEL_MODULES: amdgpu
KERNEL_IMAGE_TYPE: ""
RUNNER_TAG: mesa-ci-x86-64-lava-acer-R721T-grunt
VK_DRIVER: radeon
# Status: https://lava.collabora.dev/scheduler/device_type/hp-14-db0003na-grunt
.lava-hp-14-db0003na-grunt:x86_64:
variables:
BOOT_METHOD: depthcharge
DEVICE_TYPE: hp-14-db0003na-grunt
DTB: ""
FDO_CI_CONCURRENT: 3
HWCI_FREQ_MAX: "true"
HWCI_KERNEL_MODULES: amdgpu
KERNEL_IMAGE_TYPE: ""
RUNNER_TAG: mesa-ci-x86-64-lava-hp-14-db0003na-grunt
VK_DRIVER: radeon
# Status: https://lava.collabora.dev/scheduler/device_type/asus-CM1400CXA-dalboz
.lava-asus-CM1400CXA-dalboz:x86_64:
variables:
BOOT_METHOD: depthcharge
DEVICE_TYPE: asus-CM1400CXA-dalboz
DTB: ""
# FDO_CI_CONCURRENT: ?
HWCI_FREQ_MAX: "true"
HWCI_KERNEL_MODULES: amdgpu
KERNEL_IMAGE_TYPE: ""
RUNNER_TAG: mesa-ci-x86-64-lava-asus-CM1400CXA-dalboz
# Status: https://lava.collabora.dev/scheduler/device_type/lenovo-TPad-C13-Yoga-zork
.lava-lenovo-TPad-C13-Yoga-zork:x86_64:
variables:
BOOT_METHOD: depthcharge
DEVICE_TYPE: lenovo-TPad-C13-Yoga-zork
DTB: ""
# FDO_CI_CONCURRENT: ?
HWCI_FREQ_MAX: "true"
HWCI_KERNEL_MODULES: amdgpu
KERNEL_IMAGE_TYPE: ""
RUNNER_TAG: mesa-ci-x86-64-lava-lenovo-TPad-C13-Yoga-zork
############### LAVA
# job prefixes: radeonsi (OpenGL), radv (Vulkan), amd (radeonsi+radv)
.stoney-test:x86_64:
variables:
DEQP_EXPECTED_RENDERER: STONEY
FLAKES_CHANNEL: "#amd-ci"
.radeonsi-stoney-test:x86_64:
extends:
- .stoney-test:x86_64
- .lava-acer-R721T-grunt:x86_64
- .radeonsi-rules
variables:
GPU_VERSION: radeonsi-stoney
DRIVER_NAME: radeonsi
PIGLIT_PLATFORM: mixed_glx_egl
.radv-stoney-test:x86_64:
extends:
- .stoney-test:x86_64
- .lava-hp-14-db0003na-grunt:x86_64
- .radv-collabora-rules
variables:
DEQP_VER: vk
DRIVER_NAME: radv
GPU_VERSION: radv-stoney-aco
.radeonsi-raven-test:x86_64:
extends:
- .radeonsi-rules
variables:
GPU_VERSION: radeonsi-raven
DRIVER_NAME: radeonsi
.radv-raven-test:x86_64:
extends:
- .radv-collabora-rules
variables:
DRIVER_NAME: radv
GPU_VERSION: radv-raven
VK_DRIVER: radeon
.amd-raven-test:x86_64:
extends:
- .radeonsi+radv-rules
variables:
DRIVER_NAME: radeonsi
GPU_VERSION: amd-raven
VK_DRIVER: radeon
############### Valve Infra
.test-radv:
variables:
VK_DRIVER: radeon
DRIVER_NAME: radv
# The SPIRV -> NIR code generator generates so many harmless
# warnings on the shaders in VK-CTS that jobs fail due to the log
# size getting too big. Since it's not feasible right now
# to fix these shaders in the CTS, instead, ignore warnings from
# the code generator.
ACO_DEBUG: validateir,validatera
MESA_VK_IGNORE_CONFORMANCE_WARNING: 1
# Enable ETC2 emulation on non-native platforms (RENOIR,RDNA+, GFX6-8 dGPUs)
radv_require_etc2: 'true'
.b2c-test-radv-vk:
extends:
- .radv-valve-rules
- .test-radv
- .b2c-test-vk
variables:
B2C_KERNEL_URL: https://fs.mupuf.org/linux-6.6-b2c-radv-ci # 6.6
.deqp-test-valve:
variables:
B2C_JOB_SUCCESS_REGEX: '^\+ DEQP_EXITCODE=0\r$'
HWCI_TEST_SCRIPT: ./install/deqp-runner.sh
.tahiti-test-valve:
variables:
FDO_CI_CONCURRENT: 8
RUNNER_FARM_LOCATION: mupuf
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=8g'
tags:
- farm:$RUNNER_FARM_LOCATION
- amdgpu:codename:TAHITI
.kabini-test-valve:
variables:
RUNNER_FARM_LOCATION: mupuf
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=8g'
tags:
- farm:$RUNNER_FARM_LOCATION
- amdgpu:codename:KABINI
.polaris10-test-valve:
variables:
FDO_CI_CONCURRENT: 16
B2C_TIMEOUT_BOOT_RETRIES: 4
# (2022-01) tsc=unstable was added in response to this message in kmsg,
# TSC found unstable after boot, most likely due to broken BIOS. Use 'tsc=unstable'.
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g tsc=unstable'
tags:
- farm:$RUNNER_FARM_LOCATION
- amdgpu:codename:POLARIS10
.polaris10-test-valve-mupuf:
extends: .polaris10-test-valve
variables:
RUNNER_FARM_LOCATION: mupuf
.polaris10-test-valve-kws:
extends: .polaris10-test-valve
variables:
RUNNER_FARM_LOCATION: keywords
.vega10-test-valve:
variables:
RUNNER_FARM_LOCATION: keywords
FDO_CI_CONCURRENT: 16
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g'
tags:
- farm:$RUNNER_FARM_LOCATION
- amdgpu:codename:VEGA10
.renoir-test-valve:
variables:
RUNNER_FARM_LOCATION: mupuf
FDO_CI_CONCURRENT: 16
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g'
B2C_TIMEOUT_BOOT_MINUTES: 60
B2C_TIMEOUT_OVERALL_MINUTES: 120
tags:
- farm:$RUNNER_FARM_LOCATION
- amdgpu:codename:RENOIR
.navi10-test-valve:
variables:
# (2022-01) noapic is set because the serial adapter on this
# machine is using non-MSI IRQs and is generating a lot of
# IRQs. This tends to confuse the interrupt controller and breaks
# MSI IRQs leading to GPU hangs on amdgpu.
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g noapic'
tags:
- farm:$RUNNER_FARM_LOCATION
- amdgpu:codename:NAVI10
.navi10-test-valve-mupuf:
extends:
- .navi10-test-valve
variables:
RUNNER_FARM_LOCATION: mupuf
FDO_CI_CONCURRENT: 24
.navi10-test-valve-kws:
extends:
- .navi10-test-valve
variables:
RUNNER_FARM_LOCATION: keywords
FDO_CI_CONCURRENT: 16
.navi21-test-valve:
variables:
RUNNER_FARM_LOCATION: keywords
FDO_CI_CONCURRENT: 32
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g'
tags:
- farm:$RUNNER_FARM_LOCATION
- amdgpu:codename:NAVI21
.vangogh-test-valve:
variables:
RUNNER_FARM_LOCATION: mupuf
FDO_CI_CONCURRENT: 8
B2C_TIMEOUT_BOOT_MINUTES: 85
B2C_TIMEOUT_OVERALL_MINUTES: 120
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g'
tags:
- farm:$RUNNER_FARM_LOCATION
- amdgpu:codename:VANGOGH
- $VALVE_INFRA_VANGOGH_JOB_PRIORITY
.navi31-test-valve:
variables:
RUNNER_FARM_LOCATION: keywords
FDO_CI_CONCURRENT: 32
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g'
tags:
- farm:$RUNNER_FARM_LOCATION
- amdgpu:codename:NAVI31
############### VKCTS tests ###############
# A note on the variables to control fractional VKCTS runs
# parallel: N means to split the test list into chunks of 1/N lines, and
# DEQP_FRACTION: M means to run every Mth test from the resulting lines.
# So parallel: 2 and DEQP_FRACTION: 5 would imply running 1/10th of the suite.
.vkcts-test-valve:
extends:
- .b2c-test-radv-vk
- .deqp-test-valve
variables:
DEQP_VER: vk
############### vkd3d-proton
.vkd3d-test-valve:
extends:
- .b2c-test-radv-vk
variables:
B2C_JOB_SUCCESS_REGEX: 'vkd3d-proton execution: SUCCESS\r$'
HWCI_TEST_SCRIPT: ./install/vkd3d-proton/run.sh
.vkd3d-kabini-valve:
extends:
- .vkd3d-test-valve
- .kabini-test-valve
- .radv-valve-manual-rules
variables:
VKD3D_PROTON_RESULTS: radv-kabini-vkd3d