amdgpu_atpx_switch_start(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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