amdgpu_regis...atpx_handler(9)
β¨ amdgpu_register_atpx_handler(9) β¨
okay so bestie, welcome to the Kernel API Manual π β you're reading amdgpu_regis...atpx_handler(9) (yes the title bar truncates it, that's just the terminal being dramatic, it's fine π
) and honestly it's a short one, so we can absolutely get through this together.
πΈ NAME πΈ
amdgpu_register_atpx_handler β register with vga_switcheroo π¦
β¨ SYNOPSIS β¨
void amdgpu_register_atpx_handler (void );
π ARGUMENTS π
voidβ no arguments. none. zero. the void is empty, bestie, it takes literally nothing π
π₯ DESCRIPTION π₯
So what does this little icon do? It registers the PX callbacks with vga_switcheroo, and β heads up β it does that for all asics. every single one. no cap π
That's it. That's the whole job. It's giving "small function, big responsibility" energy π and honestly? we love that for it.
π SEE ALSO π
the whole friend group, fr fr π«Ά β go say hi to:
Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.camdgpu_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_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_unregister_atpx_handler(9)
that's the whole page, bestie, you ate that πβ¨ and before you close the tab: this little gem lives in ./drivers/gpu/drm/amd/amdgpu and the docs are stamped October 2026 β so like, go forth and register those callbacks, mwah ππ§π
π¦ 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