screen_info_pci_dev(9)
π screen_info_pci_dev(9) π
okay so bestie, welcome to the Kernel API Manual β this page is short, sweet, and lowkey iconic. It's all about returning the PCI parent device that contains screen_info's framebuffer. no cap, that's the whole vibe π
β¨ NAME β¨
screen_info_pci_dev β return the PCI parent device that contains screen_info's framebuffer π¦
πΈ SYNOPSIS πΈ
struct pci_dev * screen_info_pci_dev (const struct screen_info *si );
π¦ ARGUMENTS π¦
siβ thescreen_infoπ literally the thing you're passing in
π RETURN π
This returns the screen_info's parent device, or NULL on success β yes bestie, NULL on success, that's what it says β or a pointer-encoded errno value otherwise.
important vibe check: the value NULL is not an error. It's just signaling that no PCI device has been found. periodt π«Ά
π₯ SEE ALSO π₯
- Kernel file
./drivers/video/screen_info_pci.cπ
cute little sign-off π: this page comes from ./drivers/video, and it's dated October 2026. mwah β¨
π¦ 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