drivers/gpu/drm/ci/dt-binding-check.sh

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/ci/dt-binding-check.sh

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/ci/dt-binding-check.sh
Extension
.sh
Size
552 bytes
Lines
20
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

VENV_PATH="${VENV_PATH:-/tmp/dtschema-venv}"
source "${VENV_PATH}/bin/activate"

if ! make -j"${FDO_CI_CONCURRENT:-4}" dt_binding_check \
        DT_SCHEMA_FILES="${SCHEMA:-}" 2>dt-binding-check.log; then
    echo "ERROR: 'make dt_binding_check' failed. Please check dt-binding-check.log for details."
    exit 1
fi

if [[ -s dt-binding-check.log ]]; then
    echo "WARNING: dt_binding_check reported warnings. Please check dt-binding-check.log" \
         "for details."
    exit 102
fi

Annotation

Implementation Notes