vga_switcher...lient_fb_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– vga_switcheroo_client_fb_set(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” literally the group chat where the kernel tells you how to talk to the vga_switcheroo framebuffer situation. sit down, grab a strawberry πŸ“, we're doing this.


✨ NAME ✨

vga_switcheroo_client_fb_set β€” set framebuffer of a given client. that's it, that's the whole vibe πŸŽ€

🌸 SYNOPSIS 🌸

void vga_switcheroo_client_fb_set (struct pci_dev *pdev , struct fb_info
*info );

no cap, that's the whole signature. she's short, she's iconic, she returns void because she gives nothing back πŸ’…

πŸ¦‹ ARGUMENTS πŸ¦‹

  • pdev β€” client pci device. like, the actual device we're talking about, your main character 🫢
  • info β€” framebuffer. the fb_info, the screen situation, the whole look πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

Set framebuffer of a given client. and the way that this matters: the console will be remapped to this on switching. so when the switcheroo goes down, your console ends up on this framebuffer. that's the entire tea, fr fr πŸ”₯

🌈 SEE ALSO 🌈

like, go read these too, they're all in their own little lore arc:

  • 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_client_probe_defer(9)
  • vga_switcheroo_get_client_state(9)
  • vga_switcheroo_unregister_client(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)

bestie this is the part where I sign off πŸ₯Ή the whole thing lives in ./drivers/gpu/vga, dated October 2026, and yes the page is literally called vga_switcher...lient_fb_set(9) β€” she got truncated mid-name and honestly? still slaying πŸ’€βœ¨

mwah, go set some framebuffers, ily, bye πŸ§šβ€β™€οΈπŸ’–

πŸ“¦ where this page comes from