amdgpu_device_supports_px(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ amdgpu_device_supports_px β€” the "is this a dGPU with ATPX power control" vibe check ✨

okay so bestie, we're in the Kernel API Manual (amdgpu_device_supports_px(9)), and this little function is basically a yes/no oracle. Let's get into it πŸ’…


🌸 NAME 🌸

amdgpu_device_supports_px β€” literally just answers: is the device a dGPU with ATPX power control? πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

bool amdgpu_device_supports_px (struct amdgpu_device *adev );

πŸ’œ ARGUMENTS πŸ’œ

  • adev β€” the amdgpu device pointer, aka the main character of this whole story πŸ‘‘

πŸ”₯ DESCRIPTION πŸ”₯

Returns true if the device is a dGPU with ATPX power control. Otherwise it returns false. That's it. That's the whole tea β˜• No cap, it really is that simple β€” one question in, one bool out, and it ate πŸ’€

So like, if you're holding an adev and you're wondering "hmm, is this thing a dGPU rocking ATPX power control?" β€” you just ask this function and it'll tell you. true = yes bestie, false = nope 🫢


🌈 SEE ALSO 🌈

The kernel file lives at ./drivers/gpu/drm/amd/amdgpu/amdgpu_device.c β€” go say hi to it, it's iconic 🧚

And here's the full squad of related pages (yes, all of them, I would never do you dirty by trimming the list 😭):


k that's the whole page, love u, go read some source code 🫢

sign-off szn: this one comes from ./drivers/gpu/drm/amd/amdgpu, dated October 2026. slay πŸ’…βœ¨

πŸ“¦ where this page comes from