Skip to main content

read_vram_bytes

Function read_vram_bytes 

Source
pub fn read_vram_bytes(pci_slot: &str) -> Option<u64>
Expand description

Read a PCI device’s mem_info_vram_total (bytes) from sysfs, if available.

pci_slot is the BB:DD.F form (with or without a 0000: domain prefix).