search for: pin_init

Displaying 1 result from an estimated 1 matches for "pin_init".

Did you mean: in_init
2025 Feb 03
0
[PATCH 1/2] gpu: nova-core: add initial driver stub
...quot;Probe Nova Core GPU driver.\n"); >> + >> + pdev.enable_device_mem()?; >> + pdev.set_master(); >> + >> + let bar = pdev.iomap_region_sized::<BAR0_SIZE>(0, c_str!("nova-core"))?; >> + >> + let this = KBox::pin_init( >> + try_pin_init!(Self { >> + gpu <- Gpu::new(pdev, bar)?, Here. Try to construct a Gpu, which tries to construct a GpuSpec, which fails out if Chipset is not listed, or if CardType (which should be renamed to Architecture) is not listed. And only Turing...