amdgpu_atpx_get_client_id(9)
β¨ 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:
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_detect(9)amdgpu_register_atpx_handler(9)amdgpu_unregister_atpx_handler(9)
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
- 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