amdgpu_atpx_switch_start(9)
π amdgpu_atpx_switch_start β kernel API manual, but make it make sense π
okay bestie, so this page is amdgpu_atpx_switch_start(9) from the kernel API manual, and it's literally the "hey sbios, we're starting the switch" text message of the AMD GPU world. short page, but she ate. let's go β¨
πΈ NAME πΈ
amdgpu_atpx_switch_start β notify the sbios of a GPU switch
like, that's the whole job. she's a notifier. she notifies. periodt. π
π¦ SYNOPSIS π¦
int amdgpu_atpx_switch_start (struct amdgpu_atpx *atpx , u16 mux_id );
that signature is exactly what it is, character for character, don't come for me π«Ά
β¨ ARGUMENTS β¨
atpxβ the atpx info struct. that's it, that's the whole description. she's the little info bundle you hand over so the function knows what's up πmux_idβ the mux state, and this one matters bestie:0= integrated GPU,1= discrete GPU. two options, no in-between, no vibe check needed π
π₯ DESCRIPTION π₯
okay so the ~lore~: this function executes the ATPX_FUNCTION_GRAPHICS_DEVICE_SWITCH_START_NOTIFICATION ATPX function β yes that's the whole name, yes it's a mouthful, yes it's giving "my mom named me after a wifi password" β and what it does is notify the sbios that a switch between the discrete GPU and integrated GPU has begun. this applies to all asics, no cap, every single one π
and the returns? 0 on success, error on failure. iconic. simple. no surprises. the way that a return value should be fr fr π
π SEE ALSO π
the kernel file lives right here, like this:
./drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
and here's the whole friend group, all of them, not skipping a single one because that would be rude π€
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_end(9), amdgpu_atpx_switchto(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)
like look at that roster. main character energy from every last one of them π§π
π sign-off π
and that's the page!! source path is ./drivers/gpu/drm/amd/amdgpu, dated October 2026, filed under amdgpu_atpx_switch_start(9) β mwah, go switch some GPUs responsibly bestie, ily, bye!! πππ«Ά
π¦ 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