aperture_re..._pci_devices(9)
β¨ aperture_remove_conflicting_pci_devices β¨
okay so bestie, welcome to the Kernel API Manual entry for aperture_remove_conflicting_pci_devices(9) β yes that's the full name, yes it's a mouthful, no we're not shortening it, it's iconic π
πΈ NAME πΈ
aperture_remove_conflicting_pci_devices β the function that goes and evicts whatever framebuffers are already squatting on your PCI devices π«Ά
β SYNOPSIS β
int aperture_remove_conflicting_pci_devices (struct pci_dev *pdev ,
const char *name );
π ARGUMENTS π
pdevβ the PCI device in question, the main character of this whole operation πnameβ a descriptive name of the requesting driver (basically, who's asking, so everyone knows who did it π)
π¦ DESCRIPTION π¦
So here's the vibe: this function removes devices that own apertures within any of pdev's memory bars. Like, all of them, whoever's hanging out in there, they've gotta go β¨
And lowkey the spicy part: the function assumes that a PCI device with shadowed ROM drives a primary display β and because of that assumption it kicks out vga16fb as well. Not asking, just removing π
π₯ RETURN π₯
0 on success, or a negative errno code otherwise. That's it, that's the whole return situation π
π SEE ALSO π
- Kernel file
./drivers/video/aperture.c overview(9)devm_aperture_acquire_for_platform_device(9)aperture_remove_conflicting_devices(9)__aperture_remove_legacy_vga_devices(9)
go read those too, iykyk π
okay that's the whole page bestie, no cap, every detail intact π§ this little gem lives over in ./drivers/video and the version/date stamp on it is October 2026 β periodt, bye! ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms