drivers/gpu/nova-core/fsp/hal/gb100.rs

Source file repositories/reference/linux-study-clean/drivers/gpu/nova-core/fsp/hal/gb100.rs

File Facts

System
Linux kernel
Corpus path
drivers/gpu/nova-core/fsp/hal/gb100.rs
Extension
.rs
Size
544 bytes
Lines
24
Domain
Driver Families
Bucket
drivers/gpu
Inferred role
Driver Families: implementation source
Status
source implementation candidate

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

// SPDX-License-Identifier: GPL-2.0
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.

use crate::{
    driver::Bar0,
    fsp::hal::FspHal, //
};

struct Gb100;

impl FspHal for Gb100 {
    fn fsp_boot_status(&self, bar: Bar0<'_>) -> u32 {
        // GB10x shares Hopper's FSP secure boot status register.
        super::gh100::fsp_boot_status_gh100(bar)
    }

    fn cot_version(&self) -> u16 {
        2
    }
}

const GB100: Gb100 = Gb100;
pub(super) const GB100_HAL: &dyn FspHal = &GB100;

Annotation

Implementation Notes