nvk/ci: switch nouveau.ko jobs to common kernel (6.13.7)

Now that it is possible to have more than one initrd, let's switch to
the common b2c kernel which requires two additional initrds:

 * The GPU initrd which contains amdgpu, i915, nouveau, radeon, and xe,
   along with their necessary firmware
 * The depmod initrd which contains what's necessary to modprobe the
   modules of the GPU initrd

Since the GPU initrd is huge (73 MB), let's reduce the size by dropping
all the firmware that is not needed for the exact generation of GPU
needed by the DUT.

Co-authored-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34880>
This commit is contained in:
Martin Roukala (né Peres) 2025-03-29 13:34:48 +02:00 committed by Marge Bot
parent 5247269135
commit 4ccc37577c

View file

@ -52,13 +52,9 @@
RUNNER_FARM_LOCATION: mupuf
CI_TRON_DUT_SETUP_TAGS: nvidia:codename:GA106
CI_TRON_PATTERN__JOB_WARN__REGEX: 'nouveau .+ job timeout|NMI backtrace for cpu \d+'
# Default kernel is missing the GA106 GSP
# 1 - clone b2c
# 2 - apply all patches in patches/linux/* to your kernel
# 3 - download https://tmp.engestrom.ch/nouveau to config/linux/
# 4 - make linux LINUX_SRC=~/linux-nvk GOARCH=amd64 FEATURES=common,network,sensors,serial_adapters,ucode,nouveau
# This is https://gitlab.freedesktop.org/gfxstrand/linux/-/commits/nvk
# at d6820f36f375ece63226b26568be3a893985dc60 nouveau: set placement to original placement on uvmm validate.
CI_TRON_KERNEL__URL: 'https://static.engestrom.ch/linux-6.8-nvk-ga106'
CI_TRON_INITRAMFS__DEPMOD__URL: "https://gitlab.freedesktop.org/gfx-ci/boot2container/-/releases/$B2C_VERSION/downloads/linux-x86_64.depmod.cpio.xz"
CI_TRON_INITRAMFS__GPU__URL: "https://gitlab.freedesktop.org/gfx-ci/boot2container/-/releases/$B2C_VERSION/downloads/linux-x86_64.gpu.cpio"
CI_TRON_INITRAMFS__GPU__FORMAT__0__ARCHIVE__KEEP__0__PATH: '(lib/(modules|firmware/nvidia/ga10\d)/.*)'
CI_TRON_KERNEL_CMDLINE__LOAD_MODULES: 'modules_load=nouveau'
# GSP is not loaded by default
CI_TRON_KERNEL_CMDLINE__NOUVEAU_LOAD_GSP: 'nouveau.config=NvGspRm=1'