radeon_switcheroo_set_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay bestie, welcome to the radeon_switcheroo_set_state(9) page β€” yes, that’s the manual name, and this is the Kernel API Manual moment. It’s giving set switcheroo state. Periodt. πŸ’…

✨ SYNOPSIS ✨

void radeon_switcheroo_set_state (struct pci_dev *pdev , enum
vga_switcheroo_state state );

πŸŽ€ ARGUMENTS πŸŽ€

  • pdev β€” pci dev pointer. Literally the pci dev pointer, no cap.
  • state β€” vga_switcheroo state. That’s the vga_switcheroo state, bestie.

πŸ¦‹ DESCRIPTION πŸ¦‹

So this one is the callback for the switcheroo driver. Suspends or resumes the asics before or after it is powered up using ACPI methods. That’s the whole vibe β€” the asics get suspended or resumed around that ACPI-powered-up moment. πŸ’…

🌈 SEE ALSO 🌈


Okay so final sign-off cuteness: source/version is ./drivers/gpu/drm/radeon, date is October 2026, and the page title is radeon_switcheroo_set_state(9). Bye bestie, slay your kernel docs! πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from