search for: set_master

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

Did you mean: sec_master
2025 Feb 03
0
[PATCH 1/2] gpu: nova-core: add initial driver stub
...;> + >> + fn probe(pdev: &mut pci::Device, _info: &Self::IdInfo) -> Result<Pin<KBox<Self>>> { >> + dev_dbg!(pdev.as_ref(), "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 constru...