amdgpu_atpx_detect(9)
π amdgpu_atpx_detect(9) β from the Kernel API Manual, bestie
okay so picture this: you're deep in the kernel API manual, right, and you stumble on amdgpu_atpx_detect. Sounds scary. It is not. Let's get into it β¨
πΈ NAME πΈ
amdgpu_atpx_detect β literally just here to detect whether we have PX π΅οΈββοΈ
π SYNOPSIS π
bool amdgpu_atpx_detect (void );
likeβ¦ that's the whole thing. she's simple. she's iconic. she returns a bool. periodt π
π¦ ARGUMENTS π¦
voidβ no arguments. none. zero. nada. she takes nothing and she gives you abool, and honestly? main character energy π«Ά
π₯ DESCRIPTION π₯
okay so the actual job: check if we have a PX system, and this goes for all asics β every single one, no cap.
Returns true if we have a PX system, false if not. that's it. that's the function. she ate and left no crumbs π
β SEE ALSO β
the kernel file lives right here, iykyk:
./drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
and here's the whole friend group, all of them, no one left out π:
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_switchto(9)amdgpu_atpx_power_state(9)amdgpu_atpx_pci_probe_handle(9)amdgpu_atpx_init(9)amdgpu_atpx_get_client_id(9)amdgpu_register_atpx_handler(9)amdgpu_unregister_atpx_handler(9)
ngl bestie, this page is short and sweet β the real lore is in those amdgpu_atpx_* siblings up there. go say hi to them next π
and that's a wrap, babe π§ from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, in the Kernel API Manual. slay, 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