Displaying 1 result from an estimated 1 matches for "kbox".
Did you mean:
box
2025 Feb 03
0
[PATCH 1/2] gpu: nova-core: add initial driver stub
...; + )]
>> +);
>> +
>> +impl pci::Driver for NovaCore {
>> + type IdInfo = ();
>> + const ID_TABLE: pci::IdTable<Self::IdInfo> = &PCI_TABLE;
>> +
>> + 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!("...