drivers/gpu/nova-core/gpu.rs

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

File Facts

System
Linux kernel
Corpus path
drivers/gpu/nova-core/gpu.rs
Extension
.rs
Size
10260 bytes
Lines
348
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

fn drop(self: Pin<&mut Self>) {
        let this = self.project();
        let device = *this.device;
        let bar = *this.bar;
        let bundle = this.unload_bundle.take();

        let _ = this
            .gsp
            .as_ref()
            .get_ref()
            .unload(device, bar, &*this.gsp_falcon, &*this.sec2_falcon, bundle)
            .inspect_err(|e| dev_err!(device, "failed to unload GSP: {:?}\n", e));
    }
}

Annotation

Implementation Notes