vga_switche...client_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this page is from the Kernel API Manual, bestie, and it’s all about vga_switcheroo_get_client_state β€” the whole assignment is obtain power state of a given client. that’s it, that’s the vibe πŸ’…βœ¨

✨ SYNOPSIS ✨

the signature, exactly as it is, no edits:

enum vga_switcheroo_state vga_switcheroo_get_client_state (struct
       pci_dev *pdev );

πŸŽ€ ARGUMENTS πŸŽ€

  • pdev β€” the client pci device. literally the device we’re asking about 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

so this function gets the power state of a given client, as seen from vga_switcheroo ✨.

and bestie, it’s only called from hda_intel.c β€” that’s the whole call-site situation, no cap πŸ’œ

🌸 RETURN 🌸

Power state. that’s the return value, periodt πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

go look at these too, iykyk πŸ‘‘


mwah πŸ’‹ signing off with Kernel API Manual energy, source path ./drivers/gpu/vga, dated October 2026 β€” that’s the source and date, bestie, we’re done here πŸŽ€βœ¨

πŸ“¦ where this page comes from