amdgpu_atpx_detect(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 a bool, 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 πŸ’œ:


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