amdgpu_atpx_get_client_id(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ amdgpu_atpx_get_client_id πŸ’…

okay so bestie, welcome to the kernel API manual for amdgpu_atpx_get_client_id(9) β€” yes that's the whole vibe, it lives in the Kernel API Manual and we are obsessed 🫢


🌸 NAME 🌸

amdgpu_atpx_get_client_id β€” get the client id ✨


πŸŽ€ SYNOPSIS πŸŽ€

enum vga_switcheroo_client_id amdgpu_atpx_get_client_id (struct pci_dev
*pdev );

like, that's the whole signature, no cap πŸ’–


πŸ¦‹ ARGUMENTS πŸ¦‹

  • pdev β€” a pci device 🌈 (that's it, that's the whole argument, she's simple and iconic)

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so what this actually does: it looks up whether we are the integrated or the discrete GPU β€” and yes, for all asics πŸ‘‘ (all of them, no exceptions, we love a universal queen).

Then it Returns the client id. periodt πŸ’…

ngl it's giving "main character energy" but for GPU identity β€” she literally just tells you which one you are 😭

πŸ”₯ SEE ALSO πŸ”₯

the kernel file lives right here, bestie:

./drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c

and then the whole friend group, fr fr β€” go say hi to all of them:


mwah πŸ’‹ that's a wrap, bestie β€” this page came from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and honestly? she ate. πŸ“βœ¨πŸŽ€

πŸ“¦ where this page comes from