drivers/gpu/drm/ci/kunit.sh

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/ci/kunit.sh

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/ci/kunit.sh
Extension
.sh
Size
370 bytes
Lines
17
Domain
Driver Families
Bucket
drivers/gpu
Inferred role
Driver Families: drivers/gpu
Status
atlas-only

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#!/bin/bash
# SPDX-License-Identifier: MIT

set -euxo pipefail

: "${KERNEL_ARCH:?ERROR: KERNEL_ARCH must be set}"
: "${LLVM_VERSION:?ERROR: LLVM_VERSION must be set}"

./drivers/gpu/drm/ci/setup-llvm-links.sh

export PATH="/usr/bin:$PATH"

./tools/testing/kunit/kunit.py run \
  --arch "${KERNEL_ARCH}" \
  --make_options LLVM=1 \
  --kunitconfig=drivers/gpu/drm/tests

Annotation

Implementation Notes