amdgpu_atpx_...probe_handle(9)
π amdgpu_atpx_pci_probe_handle(9) β the Kernel API Manual, bestie edition β¨
okay so this is a page straight out of the Kernel API Manual, and the star of the show is a lil function called amdgpu_atpx_pci_probe_handle. it's giving "small function, big job" energy and honestly? we're obsessed π«Ά
πΈ NAME πΈ
amdgpu_atpx_pci_probe_handle β the girl whose whole personality is looking up the ATPX handle. that's it, that's the gig π
β¨ SYNOPSIS β¨
bool amdgpu_atpx_pci_probe_handle (struct pci_dev *pdev );
like, she takes one (1) argument and hands you back a bool. no drama, no cap π₯
π ARGUMENTS π
pdevβ a pci device. that's the whole description bestie, she's a pci device, that's her πΈ
π¦ DESCRIPTION π¦
so what does she actually do? she looks up the ATPX handles β and yes, this applies to all asics, no exceptions, everybody's invited to the party π
and the returns? iconic and simple:
- returns
trueif the handles are found β - returns
falseif they're not β
that's literally the whole vibe check. found = true, not found = false. periodt π
π SEE ALSO π
the source file herself lives at:
./drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
and here's the whole friend group, fr fr β go say hi to all of them:
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_init(9)amdgpu_atpx_get_client_id(9)amdgpu_atpx_detect(9)amdgpu_register_atpx_handler(9)amdgpu_unregister_atpx_handler(9)
π that's the whole page bestie, every last crumb. no notes. 10/10, would read again.
okay and finally the sign-off π this one's stamped October 2026 and it comes from ./drivers/gpu/drm/amd/amdgpu β so yeah, marks the calendar and gives credit where it's due, amdgpu_atpx_...probe_handle(9) is out here living her best life πβ 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