amdgpu_atpx_switchto(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 amdgpu_atpx_switchto(9) β€” Kernel API Manual 🌸

okay so bestie, this is the manual page for amdgpu_atpx_switchto(9) from the Kernel API Manual, and it’s literally about switching GPUs. no cap. πŸ’…


✨ NAME ✨

amdgpu_atpx_switchto β€” switch to the requested GPU, periodt. πŸ‘‘

πŸŽ€ SYNOPSIS πŸŽ€

int amdgpu_atpx_switchto (enum vga_switcheroo_client_id id );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • id β€” the GPU to switch to. that’s the whole vibe check. ✨

πŸ’– DESCRIPTION πŸ’–

okay so listen: this function executes the necessary ATPX functions to switch between the discrete GPU and the integrated GPU β€” all asics, bestie, all of them. 🫢

It returns 0 on success and an error on failure. iconic behavior, honestly. πŸ”₯

🌈 SEE ALSO 🌈


mwah πŸ’‹ this little page lives under ./drivers/gpu/drm/amd/amdgpu, is dated October 2026, and answers to amdgpu_atpx_switchto(9). slay. πŸ’œ

πŸ“¦ where this page comes from