vga_switche..._probe_defer(9)
okay bestie, welcome to vga_switche..._probe_defer(9) from the Kernel API Manual π this one is short, sweet, and very βcheck before you wreck.β
π NAME π
vga_switcheroo_client_probe_defer β whether to defer probing a given client β¨
π¦ SYNOPSIS π¦
bool vga_switcheroo_client_probe_defer (struct pci_dev *pdev );
πΈ ARGUMENTS πΈ
pdevβ client pci device π«Ά
π DESCRIPTION π
okay so this function figures out whether any prerequisites are not fulfilled for probing a given client. Basically: is this client not ready to be probed yet? π
Drivers shall invoke this early on in their ->probe callback and return -EPROBE_DEFER if it evaluates to true. Like, early early, bestie. Not after youβve already started setting up the whole vibe.
And no cap: thou shalt not register the client before thou hast called this. The original is out here saying βThou shalt not register the client ere thou hast called this,β and honestly? Iconic warning energy. Do not skip the check π¨
β RETURN β
true if probing should be deferred, otherwise false. Periodt π
π§ SEE ALSO π§
Kernel file ./drivers/gpu/vga/vga_switcheroo.c Overview(9)struct vga_switcheroo_client(9)struct vgasr_priv(9)vga_switcheroo_register_handler(9)vga_switcheroo_unregister_handler(9)vga_switcheroo_handler_flags(9)vga_switcheroo_register_client(9)vga_switcheroo_register_audio_client(9)vga_switcheroo_get_client_state(9)vga_switcheroo_unregister_client(9)vga_switcheroo_client_fb_set(9)vga_switcheroo_lock_ddc(9)vga_switcheroo_unlock_ddc(9)Manual switching and manual power control(9)vga_switcheroo_process_delayed_switch(9)Driver power control(9)vga_switcheroo_init_domain_pm_ops(9)
mwah π cute little sign-off from the source/version line: ./drivers/gpu/vga, dated October 2026, page vga_switche..._probe_defer(9). stay slay, bestie π«Ά
π¦ 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