amdgpu_atpx_switchto(9)
πΈ 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 π
- Kernel file:
./drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c amdgpu_atpx_call(9)amdgpu_atpx_parse_functions(9)amdgpu_atpx_validate(9)amdgpu_atpx_verify_interface(9)amdgpu_atpx_set_discrete_state(9)amdgpu_atpx_switch_disp_mux(9)amdgpu_atpx_switch_i2c_mux(9)amdgpu_atpx_switch_start(9)amdgpu_atpx_switch_end(9)amdgpu_atpx_power_state(9)amdgpu_atpx_pci_probe_handle(9)amdgpu_atpx_init(9)amdgpu_atpx_get_client_id(9)amdgpu_atpx_detect(9)amdgpu_register_atpx_handler(9)amdgpu_unregister_atpx_handler(9)
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
- 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