amdgpu_atpx_validate(9)
π amdgpu_atpx_validate β like, the whole vibe of the thing
okay so bestie, welcome to the Kernel API Manual page for amdgpu_atpx_validate(9) π and yes the manual name is literally just the function name again, we love a self-referential queen β¨
β¨ NAME β¨
amdgpu_atpx_validate β validate ATPX functions π«Ά
like... the function's whole job is checking that the ATPX stuff is actually valid, no cap
πΈ SYNOPSIS πΈ
int amdgpu_atpx_validate (struct amdgpu_atpx *atpx );
that's it. one function, one argument, returns an int, she's lowkey minimal and we stan π
π¦ ARGUMENTS π¦
atpxβ the amdgpu atpx struct π that's the one and only thing you hand her. like the little struct package she's gonna inspect.
π₯ DESCRIPTION π₯
okay so here's the tea β β amdgpu_atpx_validate validates that the required functions are enabled (all asics, every single one, no exceptions bestie π).
and the return situation? it's giving very clear:
- returns
0on success β - returns error on failure π (yes, dramatic, but that's literally what it does)
so like, if you get a 0 you slayed, if you get an error... the validate did not eat, and you should probably look into that π
π SEE ALSO π
the kernel file, aka where the main character lives:
./drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
and the whole friend group of related functions β she's got lore, okay π:
amdgpu_atpx_call(9)amdgpu_atpx_parse_functions(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_get_client_id(9)amdgpu_atpx_detect(9)amdgpu_register_atpx_handler(9)amdgpu_unregister_atpx_handler(9)
like... that's the whole squad and they're all linked, iykyk π
and that's the page!! π§ from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, served fresh in the Kernel API Manual π mwah, go validate those ATPX functions bestie, you got this π«Άβ¨π
π¦ 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