amdgpu_atpx_power_state(9)
π amdgpu_atpx_power_state(9) β power down/up the requested GPU β¨
okay so bestie, this is amdgpu_atpx_power_state(9) straight outta the Kernel API Manual, and it's literally here to power down/up the requested GPU. it's giving βtiny but crucialβ energy, fr fr π«Ά
πΈ NAME πΈ
amdgpu_atpx_power_state β power down/up the requested GPU.
β¨ SYNOPSIS β¨
int amdgpu_atpx_power_state (enum vga_switcheroo_client_id id , enum
vga_switcheroo_state state );
π ARGUMENTS π
idβ the GPU you're powering down/up, no cap.stateβ requested power state (0= off,1= on).
π¦ DESCRIPTION π¦
It executes the necessary ATPX function to power down/up the discrete GPU β all asics, periodt π
. Returns 0 on success, error on failure. that's it, that's the vibe.
π SEE ALSO π
- Kernel file:
./drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c 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_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)
mwah π this lil page is sourced from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and lives in the Kernel API Manual under amdgpu_atpx_power_state(9). slay π
π¦ 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